List of Win Server 2008 Core Common Domain Management Commands
If you're new here, you may want to subscribe to Windows Reference RSS feed Thanks for visiting!
The Server Core installation option of Windows Server 2008 requires initial configuration at a command prompt. A Server Core installation does not include the traditional full graphical user interface. Once you have configured the server, you can manage it locally at a command prompt or remotely using a Terminal Server connection. You can also manage the server remotely using the Microsoft Management Console (MMC) or command-line tools that support remote use.
Join a domain
netdom join ComputerName /domain:DomainName /userd:UserName /passwordd:*
Yes, /passwordd:*
needs to have that second d at the end of it.
Remove from domain
netdom remove
Rename a Domain Member
netdom renamecomputer %computername% /NewName: /userd: /password:*
Rename Administrator
wmic UserAccount where Name=”Administrator” call Rename Name=”new-name”
Add User to a Local Group
net localgroup GroupName /add \
Remove User from a Local Group
net localgroup GroupName /delete \
Confirm Domain and/ New Computer name
Set
Update User Passwords
Net user [/domain] *
Server Core Common Server Management Commands
Toggle Remote Desktop on and off
Cscript \windows\system32\scregedit.wsf /ar 0
Enable reduced security for RDP connections
Cscript \windows\system32\scregedit.wsf /cs 0
Active Server Core
Local method – Slmgr.vbs –ato
Remote method – Cscript windows\system32\slmgr.vbsServerName UserName password:-ato
Rename a Stand-Alone Member
netdom renamecomputer /NewName:
List of installed patches
wmic qfe list
Install Updates
wusa .msu /quiet
Configure for AutoUpdates
cscript scregedit.wsf /AU 4
Disable AutoUpdates
cscript scregedit.wsf /AU 1
View AutoUpdate Setting
cscript scregedit.wsf /AU /v
Configure the Page File
wmic pagefileset where name=”” set InitialSize=,MaximumSize=
Configure a Proxy Server: (Server Core cannot use a proxy that requires a proxy)
netsh Winhttp set proxy :
All TCP/IP commands work including the following
IPConfig
ARP
Ping
PathPing
TraceRT
Route
NSLookup
NetStat
NBTStat
List Running Services
sc query
Start and/or Stop a Service
sc start
sc stop
Task Manager: (Ctrl+Shift+Esc)
taskmgr
Manage Disk Volumes
Diskpart /?
Defrag a Volume
defrag /?
Change Time and Time Zone
control timedate.cpl
Change the Desktop Resolution: (requires you to log off and back on)
Regedit – HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Video
\0000\DefaultSettings.XResolution
\0000\DefaultSettings.YResolution
Display the Time in the Command Prompt
prompt [$t]$s$p$g
Log off
shutdown /l
Restart Now
shutdown /r /t 0
Random Posts
Did you enjoy this post? Why not leave a comment below and continue the conversation, or subscribe to my feed and get articles like this delivered automatically each day to your feed reader.





No comments yet.
Leave a comment
Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>