Task | |
Steps | |
Set the local administrative password | At a command prompt, type: |
Net user administrator * | |
Join a computer to a domain | 1. At a command prompt, type on one line: |
Netdom | |
join %computername% /domain:<domain> /userd:<domain>\username> | |
/password:* | |
2. Restart the computer. | |
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 | At a command prompt, type: |
Administrators group. | Net localgroup Administrators /add |
<domain>\<username> | |
Remove a user from the local | At a command prompt, type: |
Administrators group | 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 | At a command prompt, type: |
computer | 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 | 1. At a command prompt, type: |
work group | Netdom |
renamecomputer <currentcomputername> /NewName:<newcomputername> | |
2. Restart the computer. | |
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. | 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. |