Hyper-V Slow network performance

http://www.experts-exchange.com/Microsoft/Server_Applications/Q_25240647.html

Advertisements

KMS Host resources

Trying to get a Server 2008 R2 host to activate Office 2010 KMS clients, until working resources here:

http://technet.microsoft.com/en-us/library/ee939272.aspx

http://www.microsoft.com/downloads/en/confirmation.aspx?displaylang=en&FamilyID=a6d4ee56-a19e-4b62-a5c8-94eb8b9a4d78

http://technet.microsoft.com/en-us/library/dd772270.aspx#EZH

Fixed! I posted the answer here:

http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/Windows_Server_2008/Q_26508376.html

Reset Users Homefolder Permissions

This batch file allows you to reset  permissions on re-directed folders. Download and install subinacl and adjust the batch as necessary. Insert relevant domain name on the first line.

 set domain-name=

for /f %%a in (‘cd’) do set currdir=%%a
for /f “tokens=*” %%a in (‘dir /b’) do call :updateit %%a
goto :eof

:updateit
c:subinaclsubinacl.exe /file %currdir%%1 /setowner=”%domain-name%%1″
c:subinaclsubinacl.exe /subdirectories %currdir%%1 /setowner=”%domain-name%%1″
c:subinaclsubinacl.exe /file %currdir%%1 /grant=”%domain-name%%1″=F
c:subinaclsubinacl.exe /subdirectories %currdir%%1 /grant”%domain-name%%1″=F
c:subinaclsubinacl.exe /file %currdir%%1 /grant=”Domain Admins”=F
c:subinaclsubinacl.exe /subdirectories %currdir%%1 /grant=”%domain-name%Domain Admins”=F
goto :eof

Remove Group Polices from Clients

To remove applied GPOs from Windows XP clients

Delete the following files:

%systemroot%system32\GroupPolicy\Userregistry.pol
%systemroot%system32\GroupPolicy\Machineregistry.pol
%userprofile%ntuser.pol

Delete the following registry keys:

HKLM + HKCU\Software\Policies\Software\Microsoft\Windows\CurrentVersion\Policies

 

To remove applied GPOs from Windows 7 clients

Delete the following registry keys:

HKLM\Software\Policies\Microsoft (whole key level)
HKCU\Software\Policies\Microsoft (whole key level)
HKCU\Software\Microsoft\Windows\CurrentVersion\Group Policy Objects
HKCU\Software\Microsoft\Windows\CurrentVersion\Policies
Reboot Windows

Hyper-V Networking

Recently I have been asked a lot about networking under Hyper-V so I thought a quick explanation might help.

There are 3 type of virtual networks under Hyper-V, External, Internal and Private.

External: This connection allows connectivity between the host, VM and external network through the physical NIC it has been assigned to. When an External network connection is created the physical NIC is converted into a virtual switch, this allows multiple VMs to access the same NIC and send and receive traffic to each other and out onto the physical network. If the “allow management operating system to share this network adaptor” is selected then a new network connection is created on the host allowing the host to use the virtual switch aswell.

Internal: An internal virtual network allows connectivity between the Host and VMs only. It is not bound to a physical adaptor and is usually used to pass files between the Host and the VMs

Private: Private virtual networks allow connectivity between VMs only. There is no access to the external network or host.

Management Access
It is good for security to not allow any connectivity between the Host machine and either VMs or external networks (especially the internet). If the host is isolated in this way it hugely reduces the risk from viruses, malware, updates etc. The Microsoft recomended way is to have a isolated management domain which contains only Host machines and a management workstation. If you only have a single or small number of Hosts then leaving them in their own workgroup isolated from any other network. this achives the same aim. It is not reccomended to join the Host to any other than a management domain. Apart from the security access there can be problems if the host is running a DC as a VM. If there is any sort of issue with the DC then there is a good possibility that you will not be able to login to the Host to sort things out!