UserLock Frequently Asked Questions
Powershell - How to use UserLockPowerShell on Windows Server 2008 R2 or Windows Server 2008
By default, UserLockPowerShell is not available on Windows Server 2008 or Windows Server 2008 R2.
If you try to launch UserLockPowerShell on a default installation of Windows Server 2008 R2, you will get the following error message:
On Windows Server 2008 only (not needed on Windows Server 2008 R2), install DotNet 4 and PowerShell 2.0
-
Install DotNet 4:
Browse https://www.microsoft.com/en-us/download/details.aspx?id=17718.
Click on "Download".
Run it.
Restart. -
Click on Download and then choose "WINDOWS6.1-KB2506143-x64.msu" from
Install PowerShell 2.0
Browse https://www.microsoft.com/en-us/download/details.aspx?id=20430 (if OS is x86, see https://www.microsoft.com/en-us/download/details.aspx?id=11829).
Click on "Download".
Run it.
Restart.
Install PowerShell 3.0
-
Click on Download and then choose "WINDOWS6.1-KB2506143-x64.msu" from https://www.microsoft.com/en-us/download/details.aspx?id=34595:
-
Copy it to a local folder. For instance, C:\Temp\:
-
Run it:
C:\Temp\WINDOWS6.1-KB2506143-x64.msu -
Click on 'Yes':
-
Click on 'I Accept':
Click on Restart Now to apply the installation of PowerShell 3.0.
Use UserLockPowerShell
All documentation related to using PowerShell in UserLock can be found in the following link: https://www.isdecisions.com/products/userlock/help/userlock_powershell/userlock_powershell.htm