Rupert Eghardt
asked on
Software Inventory
Hi Guys,
For software inventory purposes we need an application that could detect the original Windows product key from a Windows Server 2008 R2 installation.
We tried a couple of solutions, but still unable to obtain the key.
These are MAK keys.
With previous versions of Windows Server we used Belarc Advisor and was able to obtain the keys successfully.
With Windows Server 2008 R2 we tried Belarc, Spiceworks, and a few others, but no success.
Is there any other solution for software inventory on Windows Server 2008?
For software inventory purposes we need an application that could detect the original Windows product key from a Windows Server 2008 R2 installation.
We tried a couple of solutions, but still unable to obtain the key.
These are MAK keys.
With previous versions of Windows Server we used Belarc Advisor and was able to obtain the keys successfully.
With Windows Server 2008 R2 we tried Belarc, Spiceworks, and a few others, but no success.
Is there any other solution for software inventory on Windows Server 2008?
You could use this powershell script: Get product keys of local and remote systems with this notes:
1. To get keys from x64 systems you have to run the script from an x64 Powershell prompt
2. First run this following command:
. .\Get-ProductKey.ps1
Pay attention to the exact syntax of the above command: is [dot][space][dot]\Get-Prod uctKey.ps1 (see the producer forum comments)
3. Now you can execute the function Get-ProductKey
4. Without any parameters will return the localhost ProductKey, but can be used to get remote product keys (you must have administrative provileges on the remote systems)
Get-ProductKey -ComputerName SRV1, SRV2, SRV3
It will list each server details on a line.
1. To get keys from x64 systems you have to run the script from an x64 Powershell prompt
2. First run this following command:
. .\Get-ProductKey.ps1
Pay attention to the exact syntax of the above command: is [dot][space][dot]\Get-Prod
3. Now you can execute the function Get-ProductKey
4. Without any parameters will return the localhost ProductKey, but can be used to get remote product keys (you must have administrative provileges on the remote systems)
Get-ProductKey -ComputerName SRV1, SRV2, SRV3
It will list each server details on a line.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
Well, I successfully get the entire MAK keys on my servers using the Get-ProductKey powershell script as long as all 4 conditions mentioned above were met.
If you want to try with vbscript here is the code:
Open in new window
I will keep you posted, if i found the application.
Thanks!
Krish.