Home   ::  Login   ::  Register   ::  Post

:: Computers & Technology

server core commands windows server 2008 common commands

Posted: 2009-05-22

Core Server Common Commands You can use the following commands to perform basic configures of Server Core. systeminfo - provide complete system information including computer name, network information, operation system, and all the other system specs. ipconfig - provides server IP addresses including default gateway and the DNS. Use ipconfig /all for complete list,. ipconfig /renew to renew the IP address, ipconfig /release to release the IP to the DHCP and disconnect, ipconfig /flushdns<.i> to purge DNS cache, ipconfig /registerdns to refresh all DHCP leases and reregister DNS name. netdom renamecomputer allows you to to rename your computer. Use this syntax; netdom renamecomputer current-computer-name /newname: new-computer-name. netdom join allows you to join the server to the domain. To joint a computer to the domain, use this syntax: netdom join current-computer-name domain: domain-name /userD: domainadmin-user /passwordD:*. netsh interface ipv4 set address name=”2” source=static address=ipaddress mask=submask gateway defaultgateway - sets up an static IP address for the server. Start /w ocsetup DHCPServerCore - installs DHCP Role. logoff - logs you off the server. net start DHCPServer starts the DHCP Service. sc config DHCPServer start=auto will set your DHCP Service to start automatically. netsh advfirewall firewall set rule group=”Remote Administration” new enable=yes - Sets up the firewall to allow Remote Administration. Firewall disallows Remote Administration by default. Shutdown /r restarts the server. Shutdown /p turns off your computer. cscript scregedit.wsf /CS 0 - allows the server to be accessed via Remote Desktip. cscript scregedit.wsf /CS 1 - Denies the server to be accessed via Remote Desktip. cscript scregedit.wsf /AR /v - Shows the Remote Desktop status settings.

© Copyright 2019-2020 SpiderTip.Com