Lapas

pirmdiena, 2015. gada 30. marts

Bypass powershell security warning

To bypass security warning when running scripts from UNC path, just run powershell with -ExecutionPolicy argument

PowerShell -ExecutionPolicy Bypass -File \\server\share\filename.ps1

ceturtdiena, 2015. gada 5. marts

Change Windows numlock status

Logon screen:
[HKEY_USERS\.DEFAULT\Control Panel\Keyboard]
Set InitialKeyboardIndicators = 2

Current user:
[HKEY_CURRENT_USER\Control Panel\Keyboard]
Set InitialKeyboardIndicators = 2