Archive for October, 2012

Does all traffic go thru the VPN?

Wednesday, October 31st, 2012

I always get this question

Does all traffic go thru the VPN?

and my answer is : it depends , if you are using Windows VPN client you can bypass the VPN by going to the advanced TCP/IP properties and disabling Use Default Gateway on Remote Network will change the routing of your internet traffic.  You’ll still be able to access your office network, but then internet traffic will go to your network card’s default gateway locally (just like you were not connected to the VPN).

you might need to change our default route

   1: route add 192.168.124.0 mask 255.255.255.255 10.100.100.254

SCOM 2012 Self-Study Guide

Tuesday, October 30th, 2012

from TechNet:

Microsoft Virtual Academy

Videos and Webcasts

Podcasts

Virtual Labs

Articles/Documentation

Useful Websites

Useful Blogs

Script Resources

Forums

  • How to move VM without exporting

    Monday, October 29th, 2012

    Hyper-V operates using a list of symbolic links in a specific directory: “C:\ProgramData\Microsoft\Windows\Hyper-V\Virtual Machines”

    Each link point to a VM configuration weather storage locally or on a cluster

    This is how to move the VM without exporting,

    • Identify the GUID of the specific VM 
      Look in the directory location for the VM you wish to manipulate and note the name of the .XML file in the Virtual Machines subdirectory
      (I.e. D344B942-56AC-4H3B-97C6-9AA74828CD91.XML)
    • Delete the reference to this VM in Hyper-V Manager
      Go to C:\ProgramData\Microsoft\Windows\Hyper-V\Virtual Machines, then delete the defernce for the VM with the name “D344B942-56AC-4H3B-97C6-9AA74828CD91”
    • Create new Link mklink <GUID>.XML <VMConfigPath.XML>
      This restores the reference to your VM in Hyper-V Manager.
       1: mklink D344B942-56AC-4H3B-97C6-9AA74828CD91.xml “C:\VMs\Mylab\Virtual Machines\D344B942-56AC-4H3B-97C6-9AA74828CD91.xml” 

    • Fix the Permissions
       1: icacls "C:\ProgramData\Microsoft\Windows\Hyper-V\Virtual Machines\<GUID>.xml" /grant "NT VIRTUAL MACHINE\<GUID>" :( F) /L

       1: icacls "C:\ProgramData\Microsoft\Windows\Hyper-V\Virtual Machines\<GUID>.xml" /grant "NT VIRTUAL MACHINE\<GUID>" :( F)

    DPM Server with Hyper-V role Hang at logon

    Sunday, October 28th, 2012

    SYMPTOMS

    During the first logon after a reboot, the DPM server will hang most commonly at the “Welcome” screen (Sometimes if you logon immediately after being presented with the Ctrl-Alt-Del, you will be able to get to the desktop before if freezes).  This will happen if connecting locally or through RDP.  While in this hung state, you can ping the server and connect to a UNC path i.e. \\DPMServer\D$, but you will be unable to remotely manage the server i.e. After a period of time,the server will become fully responsive again.  Subsequent logons without rebooting the system will not reproduce the logon hang.

    The issue is cause by DPM mounts and dismounts a VHD. 

    RESOLUTION

    • At a command prompt, type the following command, and then press ENTER: devnodeclean /r
    • Schedule the devnodeclean /r command to run one time every week.

    if you don’t know how to get devnodeclen , I recommend reading the following

    http://bytesolutions.com/Support/Knowledgebase/KB_Viewer/ArticleId/35/DevNodeClean-Download-remove-phantom-storage-device-nodes.aspx

    Islam