Server Core - Manage Account and Server
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).
You 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
- Server Core - Install Roles and Features
- Network basics: Part 3 - DNS Server
- Install Windows Server 2003 and create a backup server
May be interested
- Should I choose Intel Core i9, Core i7 or Core i5 CPU?intel and amd have returned in a new battle of microprocessors, with intel launching a new product line, called core i9. this is the fastest desktop processor ever.
- Manage the Exchange Server 2007 log files - Part 3in this section we will show you how to manage the recording of information on exchange connectors, message tracking, anti-spam agents and message records management features.
- How to connect to an FTP Server from Windows Explorer?windows allows users to easily connect to an ftp server and the shared ftp folder using add network location wizard. after running the wizard, you can easily manage (copy, move, delete, create or rename ...) all content on ftp server from windows explorer.
- What is Core? Detailed concepts about Core i that you need to knowwhat is core? learn the concept of core i3, core i5, core i7 and core i9. parameters you need to know on core. what is the difference between core types and what is the price difference?
- CREATE LOGIN command in SQL Serverthe article explains how to use the create login command with syntax and examples.
- Top 5 best Intel CPUs 2022intel has always been at the forefront of gaming and productivity, with a series of new chips that vastly improve on the previous generation while also outperforming rival amd.
- Use Web browser to connect FTP Serverthere are many ways to connect to the ftp server and access the content in it. however, the simplest way is to use internet explorer. the ftp connection method via internet explorer is used in case you only want to download or view files stored on ftp public server (with incognito mode).
- ALTER LOGIN command in SQL Serverthe alter login command is used to modify the identity used to connect to sql server.
- What's the difference between Intel Core and Intel Core X CPUs?intel core chips come in all shapes and forms. the series was first introduced in 2006 with the iconic intel core 2 duo, before splitting into multiple i3, i5 and i7 series in 2010.
- Does your computer need Intel Core i3, i5 or i7?intel has a rather confusing way of naming microprocessors and the most frequently asked questions are: what is the difference between the i3, i5 or i7 processors? which one should i buy for a computer?