Skip to main content

EPMAdmin.com

Go Search
Home
EPM Courses
Softvative eShop
Blog
ProjectServerVideos
EPMAdminBlog
Webinars
RemoteProjectWork
  
EPMAdmin.com > Virtualization  

Virtualization

Modify settings and columns
Virtualization Resources, Articles and reviews
  
View: 
Sort by AttachmentsUse SHIFT+ENTER to open the menu (new window).
DetailsFilter
How to Performance tune and Compact VHD for MS Virtual PCUse SHIFT+ENTER to open the menu (new window).

Follow the steps to optimize and performance tune you .VHD file for a MS Virtual PC virtual machine.

  1. Clean out temporary files from all locations
    Use application from www.CCleaner.com
  2. Disable Hibernation
  3. Use disk cleanup
  4. Turn Off System Restore
  5. Set compression
  6. Defrag drive and Paging File
  7. Zero out VHD Free Space

Option A: Capture the Virtual Disk Precompactor .ISO
7A1. Located at c:\program files\microsoft virtual pc\virtual machine additions\virtual disk precompactor.iso

7A2. Run the Precompactor From within the VPC

Option B: Or use Heidi Eraser
7B1. Alternatively use this free space zeroing tool from http://www.heidi.ie/eraser/

8. Shutdown VPC
9. Run the VPC2007 Virtual Disk Wizard. Select Edit existing disk and later use Compact option.

MS Virtual PC
Backup Hyper-V VMs from Windows 2008 Host using Windows Server BackupUse SHIFT+ENTER to open the menu (new window).

The articles below cover the details on how to backup the Hyper-V virtual machines running on Windows 2008 Server using the Windows Server Backup tool.

  1. How to back up Hyper-V virtual machines from the parent partition on a Windows Server 2008-based computer by using Windows Server Backup http://support.microsoft.com/kb/958662
  2. Backing up Hyper-V Virtual Machines http://blogs.msdn.com/steverac/archive/2009/03/08/backing-up-hyper-v-virtual-machines.aspx

 

MS HyperV
HyperV CommandsUse SHIFT+ENTER to open the menu (new window).
These Commands can be used for different purposes on Hyper-V.
  1. To enable Hyper-V role in a core install of Windows 2008
    1. ocsetup Microsoft-Hyper-V
  2. Enable Remote Management
    1. netsh advfirewall firewall set rule group="Remote Administration" new enable=yes
  3. Enable firewall rules for Windows Management Instrumentation (WMI)
    1. netsh advfirewall firewall set rule group="Windows Management Instrumentation (WMI)" new enable=yes
  4. Enable Remote Desktop
    1. cscript \windows\system32\scregedit.wsf /ar 0
    2. cscript \windows\system32\scregedit.wsf /cs 0
  5. Reboot
    1. shutdown /t 0 /r
  6. To Add user
    1. net user faisal * /add
  7. Adding user to DCOM Users Group
    1. net localgroup “Distributed COM Users” /add domain\faisal
  8. Enable Windows Firewall
    1. netsh advfirewall set currentprofile state on
    2. [old] Netsh firewall set opmode enable
  9. Disable Windows Firewall
    1. Netsh firewall set opmode disable
  10. Using Netsh advfirewall to manage firewall
    1. http://support.microsoft.com/kb/947709
  11. Export Firewall Policy
    1. netsh AdvFirewall export "c:\advFirewallPolicy.wfw"
  12. Reset firewall policies to default out of box
    1. netsh advfirewall reset
  13. Display Profiles and Global Properties
    1. netsh advfirewall show allProfiles
  14. View All Firewall Rules
    1. netsh advfirewall firewall show rule name=all dir=in type=static
    2. netsh advfirewall firewall show rule name=all dir=in type=dynamic
  15. Enable ICMP echo in firewall
    1. netsh advfirewall firewall add rule name="ICMP Allow Incoming V4 Echo Request by FM" protocol=icmpv4:8,any dir=in action=allow
  16. Enable Winrm on client and server
    1. winrm quickconfig -q
  17. Configure Trusted Hosts using Winrm
    1. winrm set winrm/config/client @{TrustedHosts="*"}
  18. Start Winrs session
    1. winrs -r:nameofyourservercoresystem -u:faisal -p:Mypassword cmd
  19. Enable PowerShell
    1. start /w ocsetup MicrosoftWindowsPowerShell
  20. Install .NET Framework
    1. start /w ocsetup NetFx2-ServerCore
  21. Connecto to SAN Storage on Hyper-V Server 2008 and Server Core Installations of Windows Server 2008
    1. iscsicli.exe
  22. To start graphical iSCSI client Configuration tool
    1. iscsicpl
  23. Managing the iSCSI service (two options)
    1. sc config MSiSCSI start= auto
      net start MSiSCSI
  24. Prepare the storage for use my a guest
    1. diskpart.exe
  25. To obtain Volume GUID
    1. mountvol.exe
MS HyperV
HyperV ToolsUse SHIFT+ENTER to open the menu (new window).
 
  1. Hyper-V Remote Management Configuration Utility http://code.msdn.microsoft.com/HVRemote
  2. PowerShell Management Library for Hyper-V http://pshyperv.codeplex.com/
  3. vmconnect.exe in Windows Vista SP1 Management Tools Update http://support.microsoft.com/kb/952627
MS HyperV