arrow_upward

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Win-6.x: Booting from a Virtual Hard Disk (VHD)
#3
(06-06-2020, 03:47 AM)fChk Wrote: [1]- Vanilla Windows 7 and Server 2008 R2 have identical version and build numbers, i.e. 6.1 (Build 7600), because they were built from the same Windows code base.

This part of the OP should have raised few eyebrows, at least I hope :-)

Think about it a bit... if win7 and win2k8 R2 share a common set of core system files (explaining the same build number that they have), how does the system know which version of the two and which edition of that version (Pro, Ultimate, Enterprise etc.. for Win7) has to be booted ? It's an interesting question to ask for the inquisitive minds.

Well, here is the thing, the answer is entrusted in a very strategic file called the system license policy file: "tokens.dat"; it's stored in a very deep folder: "\Windows\ServiceProfiles\NetworkService\AppData\Roaming\Microsoft\Software ProtectionPlatform\". Thus the decision to take a client or server configuration as well as to enable or disable the features ad-hoc to the edition that is loading is done at boot-time by consulting "tokens.dat" file [1].

If you open your registry (by typing regedit) and take a look at the value of "ProductType" under the HKLM\SYSTEM\CurrentControlSet\Control\ProductOptions key, you'll see that it is "WinNT". For Win 2k8 R2, that should be "LanmanNT" or "ServerNT", depending on its role (with or without Active Directory respectively.) This value (among others) is loaded into the registry based on that famous licensing policy file mentioned earlier.

For the features enabled by edition of a given version, they are loaded in the value of "ProductPolicy". It's in Hex and contains a cached copy of the data inside the tokens.dat file.

Now, you're in the know too...


[1]- Remember that tampering with tokens.dat is a direct violation of the software license.
VirMach's Buffalo_VPS-9 Holder (Dec. 20 - July 21)
microLXC's Container Holder (july 20 - ?)
VirMach's Phoenix_VPS-9 Holder (Apr. 20 - June 20)
NanoKVM's NAT-VPS Holder (jan. 20 - ?)


Messages In This Thread
RE: Win-6.x: Booting from a Virtual Hard Disk (VHD) - by fChk - 06-11-2020, 02:04 PM

Possibly Related Threads…
Thread
Author
Replies
Views
Last Post
2,623
04-07-2017, 12:19 PM
Last Post: Han105

person_pin_circle Users browsing this thread: 5 Guest(s)
Sponsors: VirMach - Host4Fun - CubeData - Evolution-Host - HostDare - Hyper Expert - Shadow Hosting - Bladenode - Hostlease - RackNerd - ReadyDedis - Limitless Hosting