Category: command line
windows terminal server | remote desktop session to different collection members without getting load balanced
Build a batch file like direct_access_tsmember01.cmd: start “” mstsc /admin /v:tsmember01 /w:2200 /h:1100
windows | run program in cmd und close terminal window
start “” myprog.exe
Convert files Unix to DOS
sed -e ‘s/$/\r/’
WINDOWS | Console | Create scheduled task running at login with highest privileges
schtasks /create /tn “LOGON_AUTORUN” /tr C:\PATH\AUTORUN.CMD /sc ONLOGON /ru %AUTORUN_USER% /rp %AUTORUN_PASS% /rl highest /IT https://msdn.microsoft.com/en-us/library/windows/desktop/bb736357
WINDOWS | Console | Create scheduled task running at system start with highest privileges
schtasks /create /tn “TASK NAME” /tr C:\PATH\BATCH.CMD /sc ONSTART /ru system /rl highest https://msdn.microsoft.com/en-us/library/windows/desktop/bb736357