Documente Academic
Documente Profesional
Documente Cultură
Set IP Address: <Nic> <Dynamic or Static> <IP> <mask> <gateway> o Netsh interface ip set address Local Area Connection static 192.168.10.10 255.255.255.0 192.168.10.1 Set DNS <dns server ip> o Netsh interface ip set dnsserver Local Area Connection static 192.168.10.10 Rename Computer: o Netdom renamecomputer <computername> /newname:<newcomputername> Join domain: please note paswordD should have two Ds because you are specif ying a Domain password o Netdom join <computername> /domain:<FQDN> /userD:<domain admin> /passwordD:<domain password> <or *> Enable Remote Administration o netsh firewall set service RemoteAdmin ENABLE Set Firewall o Netsh firewall set icmpsetting 8 ENABLE o Netsh firewall set opmode ENABLE Map Network Drive: o net use [DriveLetter] \\Computername\ShareName
DriveLetter = D: E: F: Whatever you have available. Please omit the brackets when defining the driveletter
Confirm that the domain has changed Remove a computer from a domain Add a user to the local Administrators group.
At a command prompt, type: Set At a command prompt, type: Netdom remove At a command prompt, type: Net localgroup Administrators /add <domain>\<username> At a command prompt, type: Net localgroup Administrators /delete <domain\username> At a command prompt, type: Net user <domain\user name> /add *
Remove a user from the local Administrators group Add a user to the local computer
Task
Steps
Add a group to the local computer Change the name of a domain-joined computer
At a command prompt, type: Net localgroup <group name> /add At a command prompt, type: Netdom renamecomputer %computername% /NewName:<new computer name> /userd:<domain\username> /password:* At a command prompt, type: Set
1. At a command prompt, type: Netdom renamecomputer <currentcomputername> /NewName:<newcomputername> 2. Restart the computer.
Confirm the new computer name Change the name of a computer in a work group
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.
1. At a command prompt, type: Ipconfig /all 2. Record the relevant information or redirect it to a text file (ipconfig /all >ipconfig.txt). 3. At a command prompt, type: Netsh interface ipv4 show interfaces 4. Verify that there is an interface list. 5. At a command prompt, type: Netsh interface ipv4 set address name <ID from interface list> source=static address=<preferred IP address> gateway=<gateway address> 6. Verify by typing Ipconfig /all at a command prompt and checking that DHCP enabled is set to No.
Task
Steps
1. At a command prompt, type: Netsh interface ipv4 add dnsserver name=<name of primary DNS server> address=<IP address of the primary DNS server> index=1 2. At a command prompt, type: Netsh interface ipv4 add dnsserver name=<name of secondary DNS server> address=<IP address of the secondary DNS server> index=2 3. Repeat as appropriate to add additional servers. 4. Verify by typing Ipconfig /all and checking that all the addresses are correct.
1. At a command prompt, type: Netsh interface ipv4 set address name=<IP address of local system> source=DHCP 2. Verify by typing Ipconfig /all and checking that DCHP enabled is set to Yes.
At a command prompt, type: Netsh Winhttp set proxy <servername>:<port number> At a command prompt, type: Netsh winttp set proxy <servername>:<port number>bypass-list="<local>" At a command prompt, type: Netsh ipsec At a command prompt, type: Netsh nap
Configure your server to bypass the proxy for internet addresses. Display or modify IPSEC configuration. Display or modify NAP configuration.
Task
Steps
Display or modify IP to physical address translation. Display or configure the local routing table. View or configure DNS server settings. Display protocol statistics and current TCP/IP network connections.
At a command prompt, type: Arp At a command prompt, type: Route At a command prompt, type: Nslookup At a command prompt, type: Netstat
Display protocol statistics and current TCP/IP At a command prompt, type: connections using NetBIOS over TCP/IP (NBT). Nbtstat Display hops for network connections. Trace hops for network connections. Display the configuration of the multicast router. Enable remote administration of the firewall. At a command prompt, type: Pathping At a command prompt, type: Tracert At a command prompt, type: Mrinfo At a command prompt, type: Netsh firewall set service remoteadmin enable
Task
Steps
At a command prompt: To verify the current setting, type: ServerWerOptin /query To automatically send detailed reports, type:
ServerWerOptin /detailed
To disable error reporting, type: ServerWerOptin /disable Participate in the Customer Experience Improvement Program (CEIP). At a command prompt: To verify the current setting, type:
ServerCEIPOptin /query
Task
Steps
Start a service.
At a command prompt, type either of the following: SC start <service name> Net start <service name>
Stop a service.
At a command prompt, type either of the following: SC stop <service name> Net stop <service name>
Retrieve a list of running applications and associated processes. Stop a process forcibly.
Start Task Manager. Manage the performance counters and logging with commands such as typeperf, logman,relog, tracerprt.
Event logs
Task Steps
List event logs. Query events in a specified log. Export an event log.
At a command prompt, type: Wevtutil el At a command prompt, type: Wevtutil qe /f:text <log name> At a command prompt, type: Wevtutil epl <log name>
Task
Steps
For a complete list of commands, at a command prompt, type: Diskpart /? For a complete list of commands, at a command prompt, type: Diskraid /? For a complete list of commands, at a command prompt, type: mountvol /? For a complete list of commands, at a command prompt, type: Defrag /? At a command prompt, type: Convert <volume letter> /FS:NTFS For a complete list of commands, at a command prompt, type: Compact /? For a complete list of commands, at a command prompt, type: Openfiles /? For a complete list of commands, at a command prompt, type: Vssadmin /? For a complete list of commands, at a command prompt, type: Fsutil /? At a command prompt, type: Sigverif /? For a complete list of commands, at a command prompt, type: Icacls /?
Defragment a volume.
Hardware
Task Steps
1. Copy the driver to a folder at %homedrive%\<driver folder>. 2. At a command prompt, type: pnputil -i -a %homedrive%\<driver folder>\<driver>.inf
1. For a list of loaded drivers, at a command prompt, type: Sc query type= driver 2. At the command prompt, type: Sc delete <service_name>