Server Core Command Line Reference

 

Server Ninjas Server Core Command Line Reference Guide

Action Command
Reboot The System shutdown /r
Change Server Name netdom renamecomputer <servername> /NewName:<NewServerName>
Activate Server slmgr.vbs -ato
Enable Automatic Updates cscript C:\Windows\System32\Scregedit.wsf /au 4
Disable Automatic Updates cscript C:\Windows\System32\Scregedit.wsf /au 1
Enable Remote Desktop Administration cscript %windir%\system32\SCRegEdit.wsf /AR 0
Enable Remote Desktop Administration For Older Cleints
cscript %windir%\system32\SCRegEdit.wsf /CS 0
Enable Windows Remote Shell WinRM quickconfig
Enable Ping Replies netsh firewall set icmpsetting 8
Disable Ping Replies netsh firewall set icmpsetting 8 disable
Change Time\Date (GUI) control timedate.cpl
Add Group To Local Administrators net localgroup administrators /add <DomainName>\<GroupName>

 Posted by at 8:17 pm

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)