Category: Scripting
-
Enable/disable the built-in administrator account
Enabling the built-in administrator account: net user administrator /active:yes Disabling the built-in administrator account: net user administrator /active:no Note: Must use an elevated command prompt for this command to work.
-
Shutdown or reboot the computer
Shut down shutdown /s /t 0 Reboot shutdown /r /t 0
-
Changing the computername
Domain joined netdom.exe renamecomputer %computername% /NewName:<new name> /userd:domainuser /passwordd:* Non-Domain joined wmic.exe computersystem where name="%computername%" rename name="<new name>"
-
Launch Regional and Language Settings
Bring up the Regional and Language Settings dialog box control intl.cpl