Welcome to Brendon Davis
The place where I’m in charge
Useful Windows Server Core Commands
Autor brendon
Well there are so many different commands needed to manage server core that remembering them all will certainly take a while. In the mean time I will keep this post updated with all the useful commands I have come across for configuring a server.
If you have any other suggestions please post them as a comment.
- control timedate.cpl – Sets the date and time.
- control intl.cpl – Set the regional settings.
- netsh interface ipv4 show interfaces – Shows the listing of local interfaces. Can use this to find the interface ID for the connected NIC.
- netsh interface ipv4 set address name’”<interface_id>” source=static address=<ip_address> mask=<subnet_mask> gateway=<default_gateway> – Sets the IPv4 address details.
- netsh interface ipv4 add dnsserver name=”<interface_id>” address’<dns_server> index=1 – Sets the default DNS server.
- netdom renamecomputer %COMPUTERNAME% /NewName:<name> – Changes the local computername to <name>.
- ping <fqdn> – Will ping to see if the DC is avalible and working. :-)
- netdom join %COMPUTERNAME% /domain:<fqdn> /userd:Administrator /passwordd:* – Joins the computer do domain <fqdn>.
- C:\Windows\system32>cscript slmgr.vbs -ato – Activates the Windows Installation.
- C:\Windows\system32>cscript scregedit.wsf /AR 0 – Enables RDP Access.
- regedit.exe – Settings - Instructions to change the screen resolution.
- regedit.exe – Settings – Instructions to change the page file drive & size.
Options
-
March 22, 2008 -
Server, ServerCore, TechStuff -
0 comments
-
Comments RSS -
Del.ico.us
-
Digg!
