Steps for administering a Server Core installation
The following procedures summarize common administrator tasks for a server running a Server Core installation.
Task | Steps |
---|---|
Set the local administrative password |
At a command prompt, type:
net user administrator * |
Join a computer to a domain |
|
Confirm that the domain has changed |
At a command prompt, type:
set |
Remove a computer from a domain |
At a command prompt, type:
netdom remove |
Add a user to the local Administrators group |
At a command prompt, type:
net localgroup Administrators /add <domain>\<username> |
Remove a user from the local Administrators group |
At a command prompt, type:
net localgroup Administrators /delete <domain\username> |
Add a user to the local computer |
At a command prompt, type:
net user <domain\user name> /add * |
Add a group to the local computer |
At a command prompt, type:
net localgroup <group name> /add |
Change the name of a domain-joined computer |
At a command prompt, type on one line:
netdom renamecomputer %computername% /NewName:<new computer name> /userd:<domain\username> /password:* |
Confirm the new computer name | At a command prompt, type:
set |
Change the name of a computer in a work group |
|
Disable paging file management |
At a command prompt, type:
wmic computersystem where name="<computername>" set AutomaticManagedPagefile=False |
Configure the paging file | At a command prompt, type:
wmic pagefileset where name="<path/filename>" set InitialSize=<initialsize>,MaximumSize=<maxsize> Where: "path/filename" is the path to and name of the paging file. "initialsize" is the starting size of the paging file in bytes. "maxsize" is the maximum size of the page file in bytes. |
Change to a static IP address |
|
Set a static DNS address |
|
Change to a DHCP-provided IP address from a static IP address |
|
Activate the server locally | At a command prompt, type:
slmgr.vbs -ato |
Activate the server remotely |
|
The information in this document was adapted from the Microsoft TechNet Windows Server 2008 page.
This is document awss in the Knowledge Base.
Last modified on 2017-05-16 12:09:00.
Contact us
For help or to comment, email the
UITS Support Center.