Created
June 24, 2014 12:08
-
-
Save mpslanker/50469045fbf2a08e40ac to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Many of these rely on using nircmd.exe from from NirSoft as well. | |
Turn remote computer speaker to to low. | |
psexec -s \\computername -c -f nircmd.exe changesysvolume 2000 -u Administrator -p Password | |
Turn remote computer speaker to to max. | |
psexec -s \\computername -c -f nircmd.exe setsysvolume 65535 -u Administrator -p Password | |
Open CD-Rom tray of remote computer. | |
psexec -s \\computername -c -f nircmd.exe cdrom open d: -u Administrator -p Password | |
Close CD-Rom tray of remote computer. | |
psexec -s \\computername -c -f nircmd.exe cdrom close d: -u Administrator -p Password | |
Lock remote workstation. | |
psexec -s -i \\computername rundll32.exe user32.dll LockWorkStation -u Administrator -p Password |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment