Server Core - Manage Account and Server
The purpose of this article is to provide you with what you need to know to run Server Core, especially in the domain environment and server management commands.
TipsMake.com - The purpose of this article is to give you what you need to know to run Server Core, especially in the domain environment and server management commands .
Before you do the following settings, read through the Network configuration commands for basic network setup commands.
The most basic thing is, but a lot of beginners get how to re-enable the command window when it is accidentally closed. Just open Task Manager ( Ctrl + Shift + Esc ), go to File > New Tas k, enter cmd in it and press Enter . Command Prompt will be opened again.
Join into a domain:
netdom join ComputerName / domain: DomainName / userd: UserName / passwordd: *
* Replace UserName with a valid UserName
* Replace * in / passwordd: * corresponding to UserName
Remove from a domain:
netdom remove
Change the name of a Domain Member:
netdom renamecomputer% computername% / NewName: / userd: UserName / passwordd: *
* Replace NewName with the new name of Domain Member
* Replace UserName with a valid UserName
* Replace * in / passwordd: * corresponding to UserName
Rename a Stand-Alone Member:
netdom renamecomputer / NewName:
* Replace NewName with the new name of the server
Rename Administrator:
wmic UserAccount where Name = "Administrator" call Rename Name = "new-name"
* This case is not a new admin but a new name, you have to make sure to replace the correct admin name with the value.
Add a Local User Account:
net user UserName * / add
* Replace UserName with a valid UserName
* You will receive a request to enter the password twice.
Delete a Local User Account:
net user UserName / delete
* Replace UserName with a valid UserName
Add User to Local Group:
net localgroup GroupName UserName / add
* Replace GroupName with the name GroupName valid
* Replace UserName with a valid UserName. If this is User in a domain, use the syntax - DomainNameUserName
Delete User from Local Group:
net localgroup GroupName UserName / delete
* Replace GroupName with the name GroupName valid
* or UserName with valid UserName. If this is User in a domain, use the syntax - DomainNameUserName
Confirm Domain and New Computer name:
Set
Update User Password:
Net user [/ domain] *
The next command will help you configure server management
Turn on / off Toggle Remote Desktop:
Cscript windowssystem32scregedit.wsf / ar 0
Enable security for RDP connection.
Cscript windowssystem32scregedit.wsf / cs 0
Activate Server Core:
Direct command - Slmgr.vbs - ato
Remote command - Cscript windowssystem32slmgr.vbsServerName UserName password: -ato
List of installed patches
wmic qfe list
Install the Update:
wusa .msu / quiet
Configure AutoUpdates:
cscript scregedit.wsf / AU / 4
Disable AutoUpdates:
cscript scregedit.wsf / AU / 1
See AutoUpdate settings
cscript scregedit.wsf / AU / v
Configuration Page File:
wmic pagefileset where name = set InitialSize =, MaximumSize =
Proxy Server configuration: (Server Core cannot use proxy to request a proxy)
netsh Winhttp set proxy:
All commonly used TCP / IP commands include:
IPConfig
ARP
Ping
PathPing
Tracert
Route
NSLookup
NetStat
NBTStat
List of running Services:
sc query
Start / Stop a Service:
sc start
sc stop
Task Manager: (Ctrl + Shift + Esc)
taskmgr
Managing Disk Volumes:
Diskpart /?
Defrag a Volume:
defrag /?
Change Time and Time Zone:
control timedate.cpl
Change Desktop Resolution: (requires logoff and login again)
Regedit - HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlVideo
000DefaultSettings.XResolution
000DefaultSettings.YResolution
Show time on Command Prompt:
prompt [$ t] $ s $ p $ g
Log off Server Core:
logoff
Restart Server Core:
shutdown / r / t 0
* Parameter / t 0 is the time to reset (in seconds).
Shutdown Server Core:
shutdown / s / t 0
* Parameter / t 0 is the time to set the machine to turn off (in seconds).
Discover more
Server Core Management Account ServerShare by
Kareem WintersYou should read it
- Use IIS to set up FTP Server on Windows
- How to Unlock SQL Server Account
- What's new in SQL Server Management Studio 18.7?
- The difference between web server and app server
- Manage MS SQL Server with Management Studio
- The Quiet Details That Make a Sports Betting Platform Feel Reliable
- Instructions on creating toy set images with ChatGPT AI
- How are AI agents changing the journalism industry?
- IP, Subnet mask, installation and configuration for 1 server
- Turn your computer into a FPT server
- Install Windows Server 2003 and create a backup server