Restart:
Copy to Clipboard
shutdown -r -f -t 10 -t 10 indicates a 10 second wait before shutdown -f indicates force, which will force a restart, even if a program tries to prevent it (such as a program asking to save changes to a file before closing) Shutdown: Copy to Clipboard
shutdown -s -f -t 10 -t 10 indicates a 10 second wait before shutdown -f indicates force, which will force a restart, even if a program tries to prevent it (such as a program asking to save changes to a file before closing) Lock Screen: Copy to Clipboard
rundll32.exe user32.dll,LockWorkStation Start Screensaver (note that this will NOT require a password when the mouse moves to exit it!): start Mystify.scr /s Some example screensavers are below, you can look for more .scr files in your C:\Windows\System32 folder. Bubbles.scr Mystify.scr PhotoScreensaver.scr Ribbons.scr scrnsave.scr ssText3d.scr |