I’m trying to get the Windows ProductId
from HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion
but it returns null
, but ProductName
does return the correct value. I am thinking Windows has some kind of protection or that it’s not being ran as an administrator?
If the latter, can someone tell me how to run my application with administrative privileges IN Java ?
I don’t need suggestions like ‘use this program to get the key’, please just answer my question.
Thanks in advance,
Rick.
dvhh
4,71428 silver badges32 bronze badges
asked Apr 21, 2012 at 16:45
4
You cannot do it with a Jar for some security reasons.
Even if you use a Jar for launch another script in VBS, your VBS script haven’t enough of system right for read the Windows registry binary keys.
answered Jun 23, 2015 at 9:16
When i try to unlock S2 i just get a message saying «Unlock Error» already re-installed and even tried on another computer.
Which version are you using?
Is the exact message «Unlock Error 1» or «Unlock Error 2» ?
Which operating system (or which version of Windows) are you using?
It seems there is something missing from your registry. It’s a bit strange, I think that most people can unlock with Windows 7, 64 or 32 bit.
I’ve changed the thread title. I’d like to hear from anyone else who has Windows 7 64-bit, if they had any problems unlocking or if it worked well. It’s just strange that we haven’t heard of this problem at all until now, so I’m wondering what’s different about your computer’s installation.
(we have long known about it)
1) Откройте редактор реестра
2) Скопируйте ключ из:
«HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionProductID.reg».
3) Затем создайте новый ключ в:
«HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMicrosoftWindows NTCurrentVersionProductID.reg»,
Вставьте в значение то, что копировали из последнего ключа. Перезапустите компьютер
English version
1) Run>regedit
2) Copy key from:
«HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionProductID.reg».
3) You will create the new key in:
«HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMicrosoftWindows NTCurrentVersionProductID.reg»,
You will paste in the value that was copied from the last key. You will restart your PC.
I use the windows 7 84-bit(32-bit).
I do not recall ever encountering this error. On Windows7 32-bit and Windows7 64-bit (approximately 10 unlocks done on 0.6B, the majority of them on Windows7 64-bit).
1) Откройте редактор реестра
2) Скопируйте ключ из:
«HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionProductID.reg».
3) Затем создайте новый ключ в:
«HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMicrosoftWindows NTCurrentVersionProductID.reg»,
Вставьте в значение то, что копировали из последнего ключа. Перезапустите компьютер
English version
1) Run>regedit
2) Copy key from:
«HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionProductID.reg».
3) You will create the new key in:
«HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMicrosoftWindows NTCurrentVersionProductID.reg»,
You will paste in the value that was copied from the last key. You will restart your PC.
I use the windows 7 84-bit(32-bit).
This is only for 64Bits.
I run win7 64bit. No issue with LFS,
YES
Quote from Scawen :Which operating system (or which version of Windows) are you using?
Same here , Windows 7 Home Premium 64 Bits
No problems
OK, so most people with 64 bit Windows can unlock LFS with no problem and no registry editing, because it is already coded to deal with the 64 bit thing, by using the KEY_WOW64_64KEY value (that value’s name is strange but true).
I wonder what the circumstances are on a computer that makes it necessary to manually enter something into that Wow6432Node area…? Maybe the registry reflector is broken?
Never had issues unlocking on any Windows 7 machines, 32 or 64 bit.
Windows 8 64 bit also unlocked just fine couple days ago. However slight offtopic, in Win 8, the FPS limiter is somehow dropping the framerate 10 FPS too low. 100 FPS limit actually drops it around 90 FPS, 83 limit drops it to 76 and so on, just a heads up.
I wonder what the circumstances are on a computer that makes it necessary to manually enter something into that Wow6432Node area…? Maybe the registry reflector is broken?
One thing that crack.
mine is working fine! (win 7 64bit) never had any problems!
No problem on 3 Windows 7 64bits and 1 32bits version
No problems unlocking it aswell. I may have the 32bit version, but its Starter. Probably not many had the chance to check Live For Speed on this OS version.
Win 7 enterprise 64bit. Never had any problems
Win7 Pro, 64bit — never had any unlocking or other issues.
No problem at all.
E: W7 home premium 64bit
Lfs Can T Get Windows Product Id
at Software Informer
The LFS Player Hacker lets you change the skin of your LFS Driver.
The LFS Player Hacker
3
Bob Smith
Freeware
An application that lets you input the gear ratios from your setup.
3
LFS Database
1
Freeware
The LFS Database High Resolution Pack gives LFS a whole new look.
3
kegetys
11
Freeware
The LFS Pit Spotter provides audio information about the cars around you.
1
kegetys
12
Freeware
LFS SmokeMod allows to configure the amount of smoke in LFS.
More Lfs Can T Get Windows Product Id
Lfs Can T Get Windows Product Id in introduction
LF S.p.a.
63
Freeware
This program helps you download all the catalogs of LF Spa sales range.
42
Nsasoft US LLC
6,282
Shareware
Scans your computer or your network to find product activation keys.
2
TROX GmbH
1,437
Freeware
Helps you find TROX products for using them in construction projects.
7
Nsasoft US LLC
1,499
Shareware
Recovers game product keys from local and network computers.
12
Nsasoft US LLC
1,661
Shareware
It helps you retrieve the product keys (codes) for MS Office installations.
25
Gear Box Computers
981
Freeware
Shows the product key of installed Microsoft Windows and Microsoft Office.
Additional titles, containing lfs can t get windows product id
Holger Reitner
7
Freeware
Join2LFS allows you to find and connect to LFS game servers online.
Beerkeeper
Freeware
It can help you to edit every car available throughout LFS.
GitHub, Inc
606
Open source
Git LFS is an open source Git extension for versioning large files.
daossoft
124
Shareware
Daossoft Product Key Rescuer is a product key tool to recover product keys.
87
Silex Cubed Inc
Freeware
ipFax Center is a new product available from Silex Cubed. We offer a simple product that allows you….
eStoreComplete LLC
1
Freeware
product editor & product manager.
SafeNet, Inc.
14
Commercial
Used for product activation and to perform remote updates, using Product Keys.
2
BonCut Software
252
Freeware
Windows XP Product Key Finder Lite detects product key from Windows XP.
Halton Oy
6
Freeware
You can progress quickly from product selection to the operating product.
1
Windowmaker Software Ltd
6
Commercial
The entry level product for the Windowmaker product range.
Björn Pasteuning — Erazotropa
2
Burnsy Enterprises
Docucorp International
- Remove From My Forums
-
Вопрос
-
Hi,
Im trying to rung the following script:
http://gallery.technet.microsoft.com/scriptcenter/Get-product-keys-of-local-83b4ce97
But it doesnt display anything, I have tried with attributes also for example
.Get-ProductKey.ps1 localhost
.Get-ProductKey.ps1 dc1
I have run powershell with administrator rights, and i have tried it on several servers…. We are running Windows 2008 R2
What am i missing ? or is there another script that is better ?
Thanks for answers
/R
Andreas
Ответы
-
this works nicely
function Get-WindowsKey { ## function to retrieve the Windows Product Key from any PC param ($targets = ".") $hklm = 2147483650 $regPath = "SoftwareMicrosoftWindows NTCurrentVersion" $regValue = "DigitalProductId" Foreach ($target in $targets) { $productKey = $null $win32os = $null $wmi = [WMIClass]"\$targetrootdefault:stdRegProv" $data = $wmi.GetBinaryValue($hklm,$regPath,$regValue) $binArray = ($data.uValue)[52..66] $charsArray = "B","C","D","F","G","H","J","K","M","P","Q","R","T","V","W","X","Y","2","3","4","6","7","8","9" ## decrypt base24 encoded binary data For ($i = 24; $i -ge 0; $i--) { $k = 0 For ($j = 14; $j -ge 0; $j--) { $k = $k * 256 -bxor $binArray[$j] $binArray[$j] = [math]::truncate($k / 24) $k = $k % 24 } $productKey = $charsArray[$k] + $productKey If (($i % 5 -eq 0) -and ($i -ne 0)) { $productKey = "-" + $productKey } } $win32os = Get-WmiObject Win32_OperatingSystem -computer $target $obj = New-Object Object $obj | Add-Member Noteproperty Computer -value $target $obj | Add-Member Noteproperty Caption -value $win32os.Caption $obj | Add-Member Noteproperty CSDVersion -value $win32os.CSDVersion $obj | Add-Member Noteproperty OSArch -value $win32os.OSArchitecture $obj | Add-Member Noteproperty BuildNumber -value $win32os.BuildNumber $obj | Add-Member Noteproperty RegisteredTo -value $win32os.RegisteredUser $obj | Add-Member Noteproperty ProductID -value $win32os.SerialNumber $obj | Add-Member Noteproperty ProductKey -value $productkey $obj } }
http://www.randomtechtips.com/get-windows-product-key-using-powershell/
MK
-
Изменено
7 мая 2013 г. 12:23
-
Помечено в качестве ответа
Andreas2012
7 мая 2013 г. 12:40
-
Изменено