jump to content
Snippets and tips
  1. Home
  2. Holiday
  3. Posts
  4. Tools
  5. Tags
  6. Categories

Windows

Useful stuff for work

Windows is a necessary evil at work. Here is some useful stuff.

Background #

Over the year I collected some snippets that I have been using since.

batch command line #

Run scripts as administrator #

The line

1
cd %~dp0

changes the current directory to the one containing the script.

Registry settings to work on remote machine #

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\SOFTWARE\Citrix\ICA Client\Engine\Lockdown Profiles\All Regions\Lockdown\Virtual Channels\Keyboard]
"AlwaysSendPrintScreen"=""
"EchoShiftKeys"="*"
"KeyboardTimer"="*"
"KeyboardLayout"=""
"KeyboardType"=""
"KeyboardSendLocale"="*"
"KeyboardForceLEDUpdate"="*"
"KeyboardMappingFile"=""
"LocalIME"=""
"ScancodeEnabled"="*"
"TransparentKeyPassthrough"="Remote"
"UnicodeKeyboard"=""
"UseEUKS"="*"