... called read_product_id.vbs
Copy the following code to the file:
Set wshShell = CreateObject("Wscript.Shell")
MsgBox ConvertToKey(WshShell.RegRead("HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DigitalProductId"))
Function ...
... logged-in user. To restrict other users, see the example after this one:
Open the Start Menu, then type regedit in the search box and press Enter.
In regedit, expand to the following key
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer ...
... what it's doing. I'm putting a note here just for me:
Start > Run > Regedit > OK
Browse to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
Create New DWORD Value
Name ...
We use cookies to improve your experience on our website. By browsing this website, you agree to our use of cookies. Read more about our Privacy Policy.