Yes it has been out for ages, and yes everyone knows, but I am putting these all together as a reference. Enjoy or ignore. ;)
Rename computer
- hostname
- WIN-C6UDA2DS5FF2
- netdom renamecomputer WIN-C6UDA2DS5FF2 /newname:HyperV1
- shutdown /r
Join the domain
- netdom join HyperV1 /domain:PebblyHill /userd:Administrator /passwordd:*
- shutdown /r
IP Address details
- ipconfig
- Windows IP Configuration
- Ethernet adapter Local Area Connection 1:
- Connection-specific DNS Suffix . : pebblyhill.com.au
- Link-local IPv6 Address . . . . . : ae70::0d04:dea2:b323:4db5
- IPv4 Address. . . . . . . . . . . : 192.168.0.20
- Subnet Mask . . . . . . . . . . . : 255.255.255.0
- Default Gateway . . . . . . . . . : 192.168.0.1
Allow ping and RDP through the firewall
- netsh firewall set icmpsetting 8
- Ok.
- netsh advfirewall firewall set rule group="Remote Desktop" new enable=yes
- Updated 1 rule(s).
- Ok.
- netsh advfirewall firewall set rule group="File and Printer Sharing" new enable=yes
- Updated 16 rule(s).
- Ok.
Or disable the firewall:
- netsh firewall set opmode mode=disable
Enable remote desktop
- cscript C:\windows\system32\scregedit.wsf /ar 0
- Registry has been updated.
Install Hyper-V
- start /w ocsetup Microsoft-Hyper-V
- shutdown /r
If you did not join a domain, using GPOs for update settings and need to manually setup windows update the following commands are for you (This will use the default time of 3am to check for patches)
- Cscript c:\windows\system32\scregedit.wsf /au 4
- Net stop wuauserv
- Net start wuauserv
Update right now
- Wuauclt /detectnow
Check the update status
- Cscript scregedit.wsf /AU /v
From here on in you can use the RSAT tools on a client to do the rest
No comments:
Post a Comment