Change drive mapping using Powershell?

Is there a way in Powershell to change a drive mapping from one location to another.  Example below:
Drive M: is mapped to \\Server1\test_drive share
That share has moved to another server with the same share name and now I want to have the following
Drive M: now mapped to \\Server2\test_drive share
As I will not know what drive letter each user is using mapping to what share,  I am basically trying to see if the user has a drive (any drive letter) mapped to Server1 and change that to Server2 (assuming the same share using same share name
is on Server1 and Server2).
I cannot wrap my head around this.
Thanks,
Dave
Dave

I found the following script however it does not seem to be working.  But, I think it will do what I am trying to do.
$OldServer = "\\EXAMPLE-FS-001\"
 $NewServer = "\\companyname.local\shares\"
 $drives = Get-WmiObject win32_logicaldisk |
    ? {$_.ProviderName -like "$($OldServer)*" } |
            $Name = (($_.DeviceID) -replace ":", "")
            $NewRoot = (($_.ProviderName) -replace $OldServer, $NewServer)
            Get-PSDrive $Name | Remove-PSDrive -Force -whatif
            New-PSDrive $Name -PSProvider FileSystem -Root $NewRoot -WhatIf
Dave
Dave

Similar Messages

  • Best Way To Change Drive Mapping

    We have an L: Drive which currently points to
    \\server1\library
    We're moving that library to server2. The problem is that not everyone is mapped to L: because only a certain amount of people need it. Here's the issue....we don't know who has that mapping currently. How can we find out who has that mapping so that we
    can alter their logon script to point to the new location? I want to avoid having to disconnect the old drive mapping, and connect to the new on a PC by PC basis.

    Hi,
    consider having your loginscript to enumerate the connected mapping, and if a certain mapping is found, remove and reconnect it. something like:
    StrOldpath= "\\server1\library"
    StrnewPath= "\\server2\library"
    StrNewLetter= "V:"
    BlnPersistent= true
    On error resume next
    Set WshNetwork = WScript.CreateObject("WScript.Network")
    Set oDrives = WshNetwork.EnumNetworkDrives
    WScript.Echo "Network drive mappings:"
    For i = 0 to oDrives.Count - 1 Step 2
    ' WScript.Echo "Drive " & oDrives.Item(i) & " = " & oDrives.Item(i+1)
    if instr(1,oDrives.Item(i+1),StrOldpath,1)>0 then
    wscript.echo "ok"
    wshnetwork.RemoveNetworkDrive oDrives.Item(i), True, True
    wshnetwork.MapNetworkDrive StrNewLetter, StrnewPath, BlnPersistent
    end if
    Next
    MCP/MCSA/MCTS/MCITP

  • Changing Content Database using Powershell

    Hi,
    I have a web application created. I have a another content DB, which I want to associate to the existing web application.
    I mean, the existing content db should be removed and the new Content db attached.
    What are the steps to achieve the same using powershell?
    Thanks

    Hi,
    For your issue, you can
    Dismount-SPContentDatabase and Mount-SPContentDatabase.
    A typical command to detach a database would be:
    Dismount-SPContentDatabase -Identity <contentdb>
    A typical command to attach a content database would be:
    Mount-SPContentDatabase -Name <contentdb> -DatabaseServer <dbserver> -WebApplication <webappname>
    Here is a link about
    Managing SharePoint Content Databases with PowerShell, you can use as a reference:
    http://www.mssqltips.com/sqlservertip/2608/managing-sharepoint-content-databases-with-powershell/
    Best Regards,
    Lisa Chen
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Problems with Drive Mapping using Oracle Drive

    It seems as though we are having some trouble with oracle drive. The install was a piece of cake, as was the configuration. The problem arises when at times we connect with the proper credentials, Oracle Drive logs the user in, but then the appropriate drive does not map. Nothing shows up under "My computer". The window will launch for the user to use Oracle Drive, but they get error messages including, "Cannot support long file names." (AKA, anything longer than 8 characters).
    Has anyone else come across these issues? Any ideas how to resolve. The issues we get with the long file names seem to only be when the drive doesn't properly map.
    Any thoughts would be helpful.
    Also, I have heard rumors of a Production version of Oracle Drive. Anyone have some news on that?

    We are very pleased to announce the Production Release 10.1.2.0 of Oracle Drive.
    You can download the software from here:
    http://www.oracle.com/technology/software/products/cs/index.html
    Note:
    - This version is production for English only. Other languages are Beta.
    - Oracle Drive 10.1.2.1 for ALL languages is expected soon.
    Find more information on Installation and Configuration as well as a Viewlet that shows Oracle Drive in Action here:
    http://www.oracle.com/technology/products/ias/portal/content_management_10gr2.html
    regards,
    Christian

  • How can I change the BlackBerry Link Network Drive mapping from Z: to something else?

    Hello,
    I generally have a mapping to my NFS server on Z:, and my iTunes library has a relative path to Z: for all of my music - the fact that Link is automatically picking Z: as my network sync target for my device does not work for me to sync music, or anything really. I can't figure out how to change this value to something else.
    I found the registry key: \HKEY_CURRENT_USER\Software\Research In Motion\Device Manager\Device Settings\<DEVICENAME>\VolumeMapping with a default blank REG_SZ - can I use this key at all to manually change drive mappings for my device? If so, what is the key/value pair I need and will this mess up any assumptions taken inside the Link software for synching?
    ... Also, I have a Feature Enhancement Request to go along with this issue: Add a "Change drive map letter" button beside the "Turn on wireless connections to my computer" button in Link, and add the same option in the context menu to the 'Device Manager' for the mapping (which currently just says 'Explore').
    Thanks for the help,
     - Jeff

    I do not know a lot about this subject but since Device Manager is not a Device and the BlackBerry Phone is not recognized as a Device in Disk management unless Mass Storage is turned ON it looks as if by design you cannot change the Drive Letter.
    Also if Mass Storage is turned On in the Phone Settings File Manager and BB link will not work but the BB Phone will then be recognized as a Device in Disk Management and the Drive Letter can be changed, this has no effect on the Drive Letters for Device Manager.
    Normally to change the Drive Letter and Paths of a Device once the Device is plugged you would go to Administrative Tools, Computer Management, Disk Management, right click the Device and choose "Change Drive Letter and Paths"
    Changing the Registry or Uninstalling Device Manager but keeping BB Link or looking for a Utility that can change the Drive Letter such as the one that many XP users had called TweakUI (only worked in XP) or changing the Drive Letter for your Network may be the only way.

  • Problems with drive mapping

    We have changed the server of linux that supports tarantella. We have
    installed tarantella on redhat 8 and worked perfectly. I have installed
    the tarantella enhancement module for windows and activated in the array
    manager the option " let users access client drives " but on having
    entered the session of windows not does not appear the local hard disks.
    There is something more than I have to do in order that me it works? Thank
    you for yours help

    Carmelo wrote:
    The problem is
    18:32:27 : 00007219: javi : Add device failed with ERROR_BAD_NETPATH
    You may want to enable WINS per
         http://www.tarantella.com/documentation/sgd/ee/3.42/help/en-us/base/standard/am_array.html
    -> Client Drive Mapping: Use WINS for better performance
    Regards,
    Javi wrote:
    Carmelo,
    I have verified that is running cdm, besides I have verified also that
    from the windows servers solves perfectly the name of the redhat server.
    I write you the mistakes that me appear in the log of the ttadm, for if
    you know which is the mistake. Thank you very much
    18:32:21 : 00000453: javi : URI file Drive A for Administrator
    18:32:21 : 00000453: javi : Share = \\medea\Drive A for Administrator
    18:32:21 : 00000469: javi : Packet >> Packet nLength 5
    18:32:21 : 00000469: javi : General options flags 8
    18:32:21 : 00000469: javi : Alternative name = V:
    18:32:21 : 00000469: javi : Packet >> Packet nLength 3
    18:32:21 : 00000469: javi : DEVICE_CLASS_FILESYSTEM
    18:32:21 : 00000469: javi : device flags 2
    18:32:21 : 00000469: javi : Device info : Dos name = , search = 1,
    searchUp = 0
    18:32:27 : 00007219: javi : Trying alternate device V:
    18:32:27 : 00007219: javi : Failed to add device to V:
    18:32:27 : 00007219: javi : Add device failed with ERROR_BAD_NETPATH
    18:32:27 : 00007219: javi : failed to add device
    18:32:27 : 00007219: javi : WTSVirtualChannelWrite returned 18 bytes
    18:32:27 : 00007219: javi : 0x0042a160 01 10 00 00 00 10 00 00 00 01 01
    00 00 00 00 00 ................
    18:32:27 : 00007235: javi : 0x0042a170 00 00 ..
    18:32:27 : 00007235: javi : ServerChannel::isDataAvailable
    WTSVirtualChannelRead returned 176 bytes
    18:32:27 : 00007235: javi : 0x0042a7a4 00 b0 00 00 00 11 00 00 00 01 00
    43 19 00 44 72 ...........C..Dr
    18:32:27 : 00007235: javi : 0x0042a7b4 69 76 65 20 43 20 66 6f 72 20 41
    64 6d 69 6e 69 ive C for Admini
    18:32:27 : 00007250: javi : 0x0042a7c4 73 74 72 61 74 6f 72 09 00 00 00
    00 00 00 00 01 strator.........
    18:32:27 : 00007266: javi : 0x0042a7d4 5c 00 00 00 25 00 73 6d 62 3a 2f
    2f 6d 65 64 65 \...%.smb://mede
    18:32:27 : 00007266: javi : 0x0042a7e4 61 2f 44 72 69 76 65 20 43 20 66
    6f 72 20 41 64 a/Drive C for Ad
    18:32:27 : 00007281: javi : 0x0042a7f4 6d 69 6e 69 73 74 72 61 74 6f 72
    00 00 00 00 01 ministrator.....
    18:32:27 : 00007281: javi : 0x0042a804 2c 00 00 00 14 00 59 57 52 74 61
    57 35 70 63 33 ,.....YWRtaW5pc3
    18:32:27 : 00007297: javi : 0x0042a814 51 35 4d 44 41 33 4f 44 45 3d 14
    00 55 6b 64 42 Q5MDA3ODE=..UkdB
    18:32:27 : 00007297: javi : 0x0042a824 50 54 4a 57 55 44 59 77 4d 43 73
    79 57 53 45 3d PTJWUDYwMCsyWSE=
    18:32:27 : 00007313: javi : 0x0042a834 14 00 00 00 05 00 00 00 08 00 01
    00 56 03 00 00 ............V...
    18:32:27 : 00007313: javi : 0x0042a844 00 02 00 00 00 00 00 00 00 00 00
    00 00 00 00 00
    18:32:27 : 00007328: javi : TTDMServer::process messagecode 0 deviceid 17
    Carmelo wrote:
    Javier,
    What version of Tarantella are you running? The reason I ask, is that
    since v3.30 you also need to run
         $ tarantella start cdm
    Also see
    http://www.tarantella.com/documentation/sgd/ee/3.42/help/en-us/base/standard/cdm.html
    >>
    >>
    Regards,
    Javier wrote:
    We have changed the server of linux that supports tarantella. We have
    installed tarantella on redhat 8 and worked perfectly. I have installed
    the tarantella enhancement module for windows and activated in the array
    manager the option " let users access client drives " but on having
    entered the session of windows not does not appear the local hard disks.
    There is something more than I have to do in order that me it works? Thank
    you for yours help
    If you are using WINS the problem appears to be one of WINS name mapping.
    Check if the Tarantella server is not on the same subnet as the Windows
    Terminal Server that you
    are using to run your Windows applications.
    You need to add the Tarantella server to each of the Windows Terminal
    Servers as a WINS server.
    After that you may need to restart the Windows terminal Server.
    Hope it helps.
    Regards,
    Gonzalo

  • Create GPP drive mapping entries programmatically

    Can anyone provide any sample codes that creates drive mapping entries in group policy preference? I am not looking for script to create the GPO, I am looking for codes to create mapping entries inside it instead. I've been searching for MS document
    but found nothing so far.
    Specifically I am looking for codes that can create entries using item level targeting criteria as below:
    - OS type
    - session type (RDP vs local console)
    - user group membership
    Any pointer is appreciated.

    Also you can use.
    $Network = New-Object -ComObject "Wscript.Network"
    $Network.MapNetworkDrive("P:", "\\MyComputer\MyShare")
    or
    net use Z: \\server\share /persistent:yes
    http://social.technet.microsoft.com/Forums/scriptcenter/en-US/160d2ed5-6917-4593-a1ca-be3e8b808882/how-to-map-a-network-drive-persistent-using-powershell-v2?forum=ITCG
    Regards~Biswajit
    Disclaimer: This posting is provided & with no warranties or guarantees and confers no rights.
    MCP 2003,MCSA 2003, MCSA:M 2003, CCNA, MCTS, Enterprise Admin
    MY BLOG
    Domain Controllers inventory-Quest Powershell
    Generate Report for Bulk Servers-LastBootUpTime,SerialNumber,InstallDate
    Generate a Report for installed Hotfix for Bulk Servers

  • Using powershell to manipulate mapi profile and PST file locations

    I have a situation whereby I need to move a bunch of PST files out of the default location in Office 2010 and change the mapi profile for the user so that the pst file location updated so the user doesn't experience any issues when launching Outlook.
    My logic flow is as follows:
    1.) locate All pst files referenced in the logged on users MAPI profile.
    2.) Move these files to a another directory eg. c:\users\%username%\OutlookFiles
    3.) Update the MAPI profile to point to the new location so that when the user launches Outlook he doesn't notice that the files have been moved.
    I know how to copy the files using powershell etc. but how on earth do you query the MAPI profile to locate the pst files and then change each entry for a PST file to point to the new location.
    Anyone got any ideas?

    What you are trying to do cannot normally be done with a script due to a whole host of reasons including differences in versions and lack of access to a users profile.
    !. Are you on Exchnage?
    2. Have you redirected the users folders with Group Policy yet?
    Outlook OST files are not movable without the use of a third party tool.  It is far easier to just have the users create a new profile.
    PST files that are attached in a user session can be moved using a script that can be run by the user.
    ¯\_(ツ)_/¯

  • [SOLVED] wine. can't change drive C mapping

    hi! i use winecfg to change the mapping of the C drive, but i realized that i cant change it because, if i change it with winecfg, when i close winecfg and open it again, it revert all my mappings to the defaults:
    C -> /mnt/cdrom
    D -> /mnt/cdrom
    when i start winecfg give me some errors:
    [aleyscha@aleyscha ~]$ winecfg
    Warning: the specified Windows directory L"c:\\windows" is not accessible.
    Warning: the specified System directory L"c:\\windows\\system32" is not accessible.
    Warning: could not find DOS drive for current working directory '/home/aleyscha', starting in the Windows directory.
    ALSA lib conf.c:3949:(snd_config_expand) Unknown parameters 0
    ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL default:0
    Warning: the specified Windows directory L"c:\\windows" is not accessible.
    Warning: the specified System directory L"c:\\windows\\system32" is not accessible.
    Warning: could not find DOS drive for current working directory '/', starting in the Windows directory.
    when i start a game:
    [aleyscha@aleyscha ~]$ wine "/sda1/bin/drive_c/Program Files/FlatOut2/FlatOut2.exe"
    Warning: the specified Windows directory L"c:\\windows" is not accessible.
    Warning: the specified System directory L"c:\\windows\\system32" is not accessible.
    Warning: could not find DOS drive for current working directory '/home/aleyscha', starting in the Windows directory.
    wine: cannot find '/sda1/bin/drive_c/Program Files/FlatOut2/FlatOut2.exe'
    [aleyscha@aleyscha ~]$
    so i cant change my mappings :S i try, i put a "config" file in my ~/.wine with:
    [Drive C]
    "Path" = "/sda1/bin/drive_c"
    "Type" = "hd"
    "Label" = "Drive_C"
    "Filesystem" = "win95"
    [Drive D]
    "Path" = "/mnt/cdrom"
    "Type" = "cdrom"
    "Label" = "CD-Rom"
    "Filesystem" = "win95"
    ; make sure that device is correct and has proper permissions !
    "Device" = "/dev/cdrom"
    [Drive E]
    "Path" = "/downloads/New"
    "Type" = "hd"
    "Label" = "Downloads"
    "Filesystem" = "win95"
    with no sucess... i dont know how everybody plays so easy with wine... the frustration here is killing me softly :'(
    Last edited by leo2501 (2007-10-23 11:41:20)

    a friend tells me to delete my ~/.wine dir, and NOW WORKS must be some trouble because my /home partition is from another arch installation, cause i change my computer a month ago, in the dir i map to C IS a windows structure
    im playing flatout 2 and prey perfectly... better than in windows in a window coz i like it to view other things in my desktop and with a 22" lcd there's no problem with space :D:D:D:D:D

  • Change of Mapping Drives in my system

    Dear Sir please help me, i could not install the latest version, it was saying that error please change the mapping G Drive, how could i change the mapping of drive from Gdrive to Cdrive??

    Ok, a new message to me but probably the same cause as other people with similar problems.
    This can happen if you move one of your personal Windows folders to an external drive or USB key, then remove it. Most often this happens if someone drags My Pictures to an external drive. This is not making a copy, but making a permanent change to the Windows setup.
    It doesn't mean that Adobe Reader wants to install to G:. It means it needs to check on the My Pictures folder (for some reason).
    The quickest fix is usually to put back the original disk that you used, and drag back the folder.
    If you can't find it, just adding anything that becomes G: will usually let the install finish, but Windows will remain broken and this will happen more.

  • Drive Map GPO and Item-Level targeting using DNS Computer Name not working as expected

    I've run into a snag trying to move from logon script based drive mappings, to a GPO based Drive map solution and I'm hoping somebody can shed some light on the problem that I am seeing.  We started down the GPO based drive mappings because we have
    a handful of Windows 8 client computers which don't run the logon script based drive mappings.
    I put together a basic Drive Maps GPO.   I'm mapping 3 drives, I've linked the GPO to a computer container OU for testing and everything is working just fine.  I have 3 different Windows 8 client PC, all domain joined, and all 3 run the GPO as
    expected.
    The problem is when I attempt to apply Item-level targeting.   I've found that if I define item-level targeting to use the NetBIOS name of the computer, I can either apply the GPO at an individual computer level, or I can exclude the GPO for that individual
    computer by toggling between IS and IS NOT.   However, when I choose to define the computer name by choosing the DNS option, the GPO does not apply as expected.
    So, if I say "the DNS computer name is example1.mydomain.com" and I apply the GPO, it applies to example1, example2 and example3.   And if I instead say, "the DNS computer name is not example1.mydomain.com", then it doesn't apply
    to example1, example2 or example3.     Obviously, I would expect it to apply or not apply only to example1.mydomain.com.
    If instead, I say "the NetBIOS computer name is example1", and apply the GPO, then example1 gets it, and example2 and example3 do not.   If I say, "the netBIOS name is not example 1", then example1 does NOT get the drive mapping,
    but example 2 and example3 do.   < This is exactly what I want and I can continue to just use NetBIOS names...but I don't understand why DNS isn't working in the same manner.
    My clients are all using DHCP and using domain controllers for DNS.   All 3 machines are in the mydomain.com namespace.  The mydomain.com namespace is an active directory integrated zone.   We have reverse zones in place for the dns records.
     I can ping the machines from the DC's as well as the machines themselves.  I can run nslookup and resolve the computer name for each host using the FQDN.  I can also run a ping -a IP_ADDY and get the FQDN back.  The DC's themselves are
    running Server 2008 R2.   I honestly don't see any issues from a name resolution standpoint on the network itself.   
    So, any suggestions as to why defining the shortened NetBIOS name works just fine, but using DNS with a FQDN does not?   (I've tried the DNS name using just the name, the name., as well as name.mydomain.com and name.mydomain.com.)

    And here is the result from a Windows 7 host,  which is named d2-7-user1...thus it should map the T drive and in fact does;
    2013-04-19 15:34:43.691 [pid=0x3e0,tid=0x120c] Entering ProcessGroupPolicyExDrives()
    2013-04-19 15:34:43.691 [pid=0x3e0,tid=0x120c] SOFTWARE\Policies\Microsoft\Windows\Group Policy\{5794DAFD-BE60-433f-88A2-1A31939AC01F}
    2013-04-19 15:34:43.691 [pid=0x3e0,tid=0x120c] BackgroundPriorityLevel ( 0 )
    2013-04-19 15:34:43.691 [pid=0x3e0,tid=0x120c] DisableRSoP ( 0 )
    2013-04-19 15:34:43.691 [pid=0x3e0,tid=0x120c] LogLevel ( 3 )
    2013-04-19 15:34:43.691 [pid=0x3e0,tid=0x120c] Command subsystem initialized. [SUCCEEDED(S_FALSE)]
    2013-04-19 15:34:43.706 [pid=0x3e0,tid=0x120c] Set user security context.
    2013-04-19 15:34:43.706 [pid=0x3e0,tid=0x120c] Set system security context.
    2013-04-19 15:34:43.706 [pid=0x3e0,tid=0x120c] User impersonation initialized.
    2013-04-19 15:34:43.706 [pid=0x3e0,tid=0x120c] Client context subsystem initialized.
    2013-04-19 15:34:43.706 [pid=0x3e0,tid=0x120c] Configuration subsystem initialized.
    2013-04-19 15:34:43.706 [pid=0x3e0,tid=0x120c] Licensing subsystem initialized.
    2013-04-19 15:34:43.706 [pid=0x3e0,tid=0x120c] Set user security context.
    2013-04-19 15:34:43.706 [pid=0x3e0,tid=0x120c] User information initialized.
    2013-04-19 15:34:43.722 [pid=0x3e0,tid=0x120c] Variable %ComSpec% = "C:\Windows\system32\cmd.exe"
    2013-04-19 15:34:43.722 [pid=0x3e0,tid=0x120c] Variable %FP_NO_HOST_CHECK% = "NO"
    2013-04-19 15:34:43.722 [pid=0x3e0,tid=0x120c] Variable %OS% = "Windows_NT"
    2013-04-19 15:34:43.722 [pid=0x3e0,tid=0x120c] Variable %Path% = "C:\Program Files (x86)\VMware\VMware vSphere CLI\Perl\site\bin;C:\Program Files (x86)\VMware\VMware vSphere CLI\Perl\bin;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS
    Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;C:\Program Files\Intel\Intel(R) Management Engine
    Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT"
    2013-04-19 15:34:43.722 [pid=0x3e0,tid=0x120c] Variable %PATHEXT% = ".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC"
    2013-04-19 15:34:43.722 [pid=0x3e0,tid=0x120c] Variable %PROCESSOR_ARCHITECTURE% = "AMD64"
    2013-04-19 15:34:43.722 [pid=0x3e0,tid=0x120c] Variable %TEMP% = "C:\Users\user1\AppData\Local\Temp"
    2013-04-19 15:34:43.722 [pid=0x3e0,tid=0x120c] Variable %TMP% = "C:\Users\user1\AppData\Local\Temp"
    2013-04-19 15:34:43.722 [pid=0x3e0,tid=0x120c] Variable %USERNAME% = "user1"
    2013-04-19 15:34:43.722 [pid=0x3e0,tid=0x120c] Variable %windir% = "C:\Windows"
    2013-04-19 15:34:43.722 [pid=0x3e0,tid=0x120c] Variable %PSModulePath% = "C:\Windows\system32\WindowsPowerShell\v1.0\Modules\"
    2013-04-19 15:34:43.722 [pid=0x3e0,tid=0x120c] Variable %NUMBER_OF_PROCESSORS% = "8"
    2013-04-19 15:34:43.722 [pid=0x3e0,tid=0x120c] Variable %PROCESSOR_LEVEL% = "6"
    2013-04-19 15:34:43.737 [pid=0x3e0,tid=0x120c] Variable %PROCESSOR_IDENTIFIER% = "Intel64 Family 6 Model 58 Stepping 9, GenuineIntel"
    2013-04-19 15:34:43.737 [pid=0x3e0,tid=0x120c] Variable %PROCESSOR_REVISION% = "3a09"
    2013-04-19 15:34:43.737 [pid=0x3e0,tid=0x120c] Variable %windows_tracing_logfile% = "C:\BVTBin\Tests\installpackage\csilogfile.log"
    2013-04-19 15:34:43.737 [pid=0x3e0,tid=0x120c] Variable %windows_tracing_flags% = "3"
    2013-04-19 15:34:43.737 [pid=0x3e0,tid=0x120c] Variable %ALLUSERSPROFILE% = "C:\ProgramData"
    2013-04-19 15:34:43.737 [pid=0x3e0,tid=0x120c] Variable %APPDATA% = "C:\Users\user1\AppData\Roaming"
    2013-04-19 15:34:43.737 [pid=0x3e0,tid=0x120c] Variable %CommonProgramFiles% = "C:\Program Files\Common Files"
    2013-04-19 15:34:43.737 [pid=0x3e0,tid=0x120c] Variable %CommonProgramFiles(x86)% = "C:\Program Files (x86)\Common Files"
    2013-04-19 15:34:43.737 [pid=0x3e0,tid=0x120c] Variable %CommonProgramW6432% = "C:\Program Files\Common Files"
    2013-04-19 15:34:43.737 [pid=0x3e0,tid=0x120c] Variable %COMPUTERNAME% = "D2-7-user1"
    2013-04-19 15:34:43.737 [pid=0x3e0,tid=0x120c] Variable %HOMEDRIVE% = "C:"
    2013-04-19 15:34:43.737 [pid=0x3e0,tid=0x120c] Variable %HOMEPATH% = "\Users\user1"
    2013-04-19 15:34:43.753 [pid=0x3e0,tid=0x120c] Variable %LOCALAPPDATA% = "C:\Users\user1\AppData\Local"
    2013-04-19 15:34:43.753 [pid=0x3e0,tid=0x120c] Variable %LOGONSERVER% = "\\VM-EXAMPLE-DC05"
    2013-04-19 15:34:43.753 [pid=0x3e0,tid=0x120c] Variable %ProgramData% = "C:\ProgramData"
    2013-04-19 15:34:43.753 [pid=0x3e0,tid=0x120c] Variable %ProgramFiles% = "C:\Program Files"
    2013-04-19 15:34:43.753 [pid=0x3e0,tid=0x120c] Variable %ProgramFiles(x86)% = "C:\Program Files (x86)"
    2013-04-19 15:34:43.753 [pid=0x3e0,tid=0x120c] Variable %ProgramW6432% = "C:\Program Files"
    2013-04-19 15:34:43.753 [pid=0x3e0,tid=0x120c] Variable %PUBLIC% = "C:\Users\Public"
    2013-04-19 15:34:43.753 [pid=0x3e0,tid=0x120c] Variable %SystemDrive% = "C:"
    2013-04-19 15:34:43.753 [pid=0x3e0,tid=0x120c] Variable %SystemRoot% = "C:\Windows"
    2013-04-19 15:34:43.753 [pid=0x3e0,tid=0x120c] Variable %USERDNSDOMAIN% = "mydomain.com.au"
    2013-04-19 15:34:43.753 [pid=0x3e0,tid=0x120c] Variable %USERDOMAIN% = "mydomain"
    2013-04-19 15:34:43.769 [pid=0x3e0,tid=0x120c] Variable %USERPROFILE% = "C:\Users\user1"
    2013-04-19 15:34:43.769 [pid=0x3e0,tid=0x120c] Variable %LogonUser% = "user1"
    2013-04-19 15:34:43.769 [pid=0x3e0,tid=0x120c] Variable %LogonDomain% = "mydomain"
    2013-04-19 15:34:43.769 [pid=0x3e0,tid=0x120c] Variable %LogonUserSid% = "S-1-5-21-976655598-962914793-294660928-7222"
    2013-04-19 15:34:43.769 [pid=0x3e0,tid=0x120c] Variable %BinaryUserSid% = "00001C3611902B403964E9E93A3694EE000000150500000000000501"
    2013-04-19 15:34:43.769 [pid=0x3e0,tid=0x120c] Variable %LdapUserSid% = "\01\05\00\00\00\00\00\05\15\00\00\00\EE\94\36\3A\E9\E9\64\39\40\2B\90\11\36\1C\00\00"
    2013-04-19 15:34:43.769 [pid=0x3e0,tid=0x120c] Variable %ReversedUserSid% = "010500000000000515000000EE94363AE9E96439402B9011361C0000"
    2013-04-19 15:34:43.769 [pid=0x3e0,tid=0x120c] Variable %BinaryComputerSid% = "000040EC11902B403964E9E93A3694EE000000150500000000000501"
    2013-04-19 15:34:43.769 [pid=0x3e0,tid=0x120c] Variable %ReversedComputerSid% = "010500000000000515000000EE94363AE9E96439402B9011EC400000"
    2013-04-19 15:34:43.784 [pid=0x3e0,tid=0x120c] Variable %LdapComputerSid% = "\01\05\00\00\00\00\00\05\15\00\00\00\EE\94\36\3A\E9\E9\64\39\40\2B\90\11\EC\40\00\00"
    2013-04-19 15:34:43.784 [pid=0x3e0,tid=0x120c] Variable %OsVersion% = "Windows 7"
    2013-04-19 15:34:43.784 [pid=0x3e0,tid=0x120c] Variable %LocalTimeEx% = "2013-04-19 15:34:43.706"
    2013-04-19 15:34:43.784 [pid=0x3e0,tid=0x120c] Variable %LocalTime% = "2013-04-19 15:34:43"
    2013-04-19 15:34:43.784 [pid=0x3e0,tid=0x120c] Variable %LocalTimeXmlEx% = "2013-04-19T15:34:43.706"
    2013-04-19 15:34:43.784 [pid=0x3e0,tid=0x120c] Variable %LocalTimeXml% = "2013-04-19T15:34:43"
    2013-04-19 15:34:43.784 [pid=0x3e0,tid=0x120c] Variable %DateTimeEx% = "2013-04-19 19:34:43.706"
    2013-04-19 15:34:43.784 [pid=0x3e0,tid=0x120c] Variable %DateTime% = "2013-04-19 19:34:43"
    2013-04-19 15:34:43.784 [pid=0x3e0,tid=0x120c] Variable %MacAddress% = "cc-f7-20-52-41-53"
    2013-04-19 15:34:43.784 [pid=0x3e0,tid=0x120c] Variable %TempDir% = "C:\Users\user1\AppData\Local\Temp"
    2013-04-19 15:34:43.800 [pid=0x3e0,tid=0x120c] Variable %WindowsDir% = "C:\Windows"
    2013-04-19 15:34:43.800 [pid=0x3e0,tid=0x120c] Variable %SystemDir% = "C:\Windows\system32"
    2013-04-19 15:34:43.800 [pid=0x3e0,tid=0x120c] Variable %DomainName% = "mydomain"
    2013-04-19 15:34:43.800 [pid=0x3e0,tid=0x120c] Variable %ProgramFilesDir% = "C:\Program Files"
    2013-04-19 15:34:43.800 [pid=0x3e0,tid=0x120c] Variable %AppDataDir% = "C:\Users\user1\AppData\Roaming"
    2013-04-19 15:34:43.800 [pid=0x3e0,tid=0x120c] Variable %DesktopDir% = "C:\Users\user1\Desktop"
    2013-04-19 15:34:43.800 [pid=0x3e0,tid=0x120c] Variable %StartMenuDir% = "C:\Users\user1\AppData\Roaming\Microsoft\Windows\Start Menu"
    2013-04-19 15:34:43.800 [pid=0x3e0,tid=0x120c] Variable %ProgramsDir% = "C:\Users\user1\AppData\Roaming\Microsoft\Windows\Start Menu\Programs"
    2013-04-19 15:34:43.800 [pid=0x3e0,tid=0x120c] Variable %StartUpDir% = "C:\Users\user1\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup"
    2013-04-19 15:34:43.800 [pid=0x3e0,tid=0x120c] Variable %FavoritesDir% = "C:\Users\user1\Favorites"
    2013-04-19 15:34:43.815 [pid=0x3e0,tid=0x120c] Variable %SendToDir% = "C:\Users\user1\AppData\Roaming\Microsoft\Windows\SendTo"
    2013-04-19 15:34:43.815 [pid=0x3e0,tid=0x120c] Variable %RecentDocumentsDir% = "C:\Users\user1\AppData\Roaming\Microsoft\Windows\Recent"
    2013-04-19 15:34:43.815 [pid=0x3e0,tid=0x120c] Variable %NetPlacesDir% = "C:\Users\user1\AppData\Roaming\Microsoft\Windows\Network Shortcuts"
    2013-04-19 15:34:43.815 [pid=0x3e0,tid=0x120c] Variable %CommonAppdataDir% = "C:\ProgramData"
    2013-04-19 15:34:43.815 [pid=0x3e0,tid=0x120c] Variable %CommonDesktopDir% = "C:\Users\Public\Desktop"
    2013-04-19 15:34:43.815 [pid=0x3e0,tid=0x120c] Variable %CommonStartMenuDir% = "C:\ProgramData\Microsoft\Windows\Start Menu"
    2013-04-19 15:34:43.815 [pid=0x3e0,tid=0x120c] Variable %CommonProgramsDir% = "C:\ProgramData\Microsoft\Windows\Start Menu\Programs"
    2013-04-19 15:34:43.815 [pid=0x3e0,tid=0x120c] Variable %CommonStartUpDir% = "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup"
    2013-04-19 15:34:43.815 [pid=0x3e0,tid=0x120c] Variable %CommonFavoritesDir% = "C:\Users\user1\Favorites"
    2013-04-19 15:34:43.831 [pid=0x3e0,tid=0x120c] Variable %CurrentProcessId% = "992"
    2013-04-19 15:34:43.831 [pid=0x3e0,tid=0x120c] Variable %CurrentThreadId% = "4620"
    2013-04-19 15:34:43.831 [pid=0x3e0,tid=0x120c] Variable %GroupPolicyVersion% = "6.1.7601.17514"
    2013-04-19 15:34:43.831 [pid=0x3e0,tid=0x120c] Variable %TraceFile% = "C:\ProgramData\GroupPolicy\Preference\Trace\User.log"
    2013-04-19 15:34:43.831 [pid=0x3e0,tid=0x120c] Variable %LastError% = "0x00000000"
    2013-04-19 15:34:43.831 [pid=0x3e0,tid=0x120c] Variable %LastErrorText% = "The operation completed successfully."
    2013-04-19 15:34:43.831 [pid=0x3e0,tid=0x120c] Variables subsystem initialized.
    2013-04-19 15:34:43.831 [pid=0x3e0,tid=0x120c] Set system security context.
    2013-04-19 15:34:43.831 [pid=0x3e0,tid=0x120c] ----- Parameters
    2013-04-19 15:34:43.847 [pid=0x3e0,tid=0x120c] CSE GUID : {5794DAFD-BE60-433f-88A2-1A31939AC01F}
    2013-04-19 15:34:43.847 [pid=0x3e0,tid=0x120c] Flags : (   ) GPO_INFO_FLAG_MACHINE - Apply machine policy rather than user policy
    2013-04-19 15:34:43.847 [pid=0x3e0,tid=0x120c]         (   ) GPO_INFO_FLAG_BACKGROUND - Background refresh of policy (ok to do slow stuff)
    2013-04-19 15:34:43.847 [pid=0x3e0,tid=0x120c]         (   ) GPO_INFO_FLAG_SLOWLINK - Policy is being applied across a slow link
    2013-04-19 15:34:43.847 [pid=0x3e0,tid=0x120c]         (   ) GPO_INFO_FLAG_VERBOSE - Verbose output to the eventlog
    2013-04-19 15:34:43.847 [pid=0x3e0,tid=0x120c]         (   ) GPO_INFO_FLAG_NOCHANGES - No changes were detected to the Group Policy Objects
    2013-04-19 15:34:43.847 [pid=0x3e0,tid=0x120c]         (   ) GPO_INFO_FLAG_LINKTRANSITION - A change in link speed was detected between previous policy application and current policy application
    2013-04-19 15:34:43.847 [pid=0x3e0,tid=0x120c]         (   ) GPO_INFO_FLAG_LOGRSOP_TRANSITION - A change in RSoP logging was detected between the application of the previous policy and the application of the
    current policy.
    2013-04-19 15:34:43.847 [pid=0x3e0,tid=0x120c]         (   ) GPO_INFO_FLAG_FORCED_REFRESH - Forced Refresh is being applied. redo policies.
    2013-04-19 15:34:43.862 [pid=0x3e0,tid=0x120c]         (   ) GPO_INFO_FLAG_SAFEMODE_BOOT - windows safe mode boot flag
    2013-04-19 15:34:43.862 [pid=0x3e0,tid=0x120c]         (   ) GPO_INFO_FLAG_ASYNC_FOREGROUND - Asynchronous foreground refresh of policy
    2013-04-19 15:34:43.862 [pid=0x3e0,tid=0x120c] Token (computer or user SID): S-1-5-21-976655598-962914793-294660928-7222
    2013-04-19 15:34:43.862 [pid=0x3e0,tid=0x120c] Abort Flag : Yes (0x02b54a60)
    2013-04-19 15:34:43.862 [pid=0x3e0,tid=0x120c] HKey Root : Yes (0x0000163c)
    2013-04-19 15:34:43.862 [pid=0x3e0,tid=0x120c] Deleted GPO List : No
    2013-04-19 15:34:43.862 [pid=0x3e0,tid=0x120c] Changed GPO List : Yes
    2013-04-19 15:34:43.862 [pid=0x3e0,tid=0x120c] Asynchronous Processing : Yes
    2013-04-19 15:34:43.878 [pid=0x3e0,tid=0x120c] Status Callback : Yes (0xfae525b0)
    2013-04-19 15:34:43.878 [pid=0x3e0,tid=0x120c] WMI namespace : Yes (0x03c96fa0)
    2013-04-19 15:34:43.878 [pid=0x3e0,tid=0x120c] RSoP Status : Yes (0x057ae838)
    2013-04-19 15:34:43.878 [pid=0x3e0,tid=0x120c] Planning Mode Site : (none)
    2013-04-19 15:34:43.878 [pid=0x3e0,tid=0x120c] Computer Target : No (0x00000000)
    2013-04-19 15:34:43.878 [pid=0x3e0,tid=0x120c] User Target : No (0x00000000)
    2013-04-19 15:34:43.878 [pid=0x3e0,tid=0x120c] Calculated session relevance.
    2013-04-19 15:34:43.878 [pid=0x3e0,tid=0x120c] Completed CSE pre-processing.
    2013-04-19 15:34:43.878 [pid=0x3e0,tid=0x120c] Calculated list relevance. [SUCCEEDED(S_FALSE)]
    2013-04-19 15:34:43.893 [pid=0x3e0,tid=0x120c] Deleted GPO list is not relevant to the CSE.
    2013-04-19 15:34:43.893 [pid=0x3e0,tid=0x120c] Calculated list relevance.
    2013-04-19 15:34:43.893 [pid=0x3e0,tid=0x120c] Planning mode not detected.
    2013-04-19 15:34:43.893 [pid=0x3e0,tid=0x120c] Processing changed list.
    2013-04-19 15:34:43.893 [pid=0x3e0,tid=0x120c] Processing user policy.
    2013-04-19 15:34:43.893 [pid=0x3e0,tid=0x120c] Got WMI namespace for logging mode.
    2013-04-19 15:34:43.893 [pid=0x3e0,tid=0x120c] Completed get GPO list.
    2013-04-19 15:34:43.893 [pid=0x3e0,tid=0x120c] Initialized internal RSoP storage.
    2013-04-19 15:34:43.909 [pid=0x3e0,tid=0x120c] Completed GPO list pre-processing.
    2013-04-19 15:34:43.909 [pid=0x3e0,tid=0x120c] ----- Changed - 0
    2013-04-19 15:34:43.909 [pid=0x3e0,tid=0x120c] Options : (   ) GPO_FLAG_DISABLE - This GPO is disabled.
    2013-04-19 15:34:43.909 [pid=0x3e0,tid=0x120c]           (   ) GPO_FLAG_FORCE - Do not override the settings in this GPO with settings in a subsequent GPO.
    2013-04-19 15:34:43.909 [pid=0x3e0,tid=0x120c] Options (raw) : 0x00000000
    2013-04-19 15:34:43.909 [pid=0x3e0,tid=0x120c] Version : 10354846 (0x009e009e)
    2013-04-19 15:34:43.909 [pid=0x3e0,tid=0x120c] GPC : LDAP://CN=User,cn={14209C3C-8E16-4247-95C6-925260D86074},cn=policies,cn=system,DC=mydomain,DC=com,DC=au
    2013-04-19 15:34:43.909 [pid=0x3e0,tid=0x120c] GPT :
    \\mydomain.com.au\SysVol\mydomain.com.au\Policies\{14209C3C-8E16-4247-95C6-925260D86074}\User
    2013-04-19 15:34:43.925 [pid=0x3e0,tid=0x120c] GPO Display Name : US Drive Mapping
    2013-04-19 15:34:43.925 [pid=0x3e0,tid=0x120c] GPO Name : {14209C3C-8E16-4247-95C6-925260D86074}
    2013-04-19 15:34:43.925 [pid=0x3e0,tid=0x120c] GPO Link : (   ) GPLinkUnknown - No link information is available.
    2013-04-19 15:34:43.925 [pid=0x3e0,tid=0x120c]            (   ) GPLinkMachine - The GPO is linked to a computer (local or remote).
    2013-04-19 15:34:43.925 [pid=0x3e0,tid=0x120c]            (   ) GPLinkSite - The GPO is linked to a site.
    2013-04-19 15:34:43.925 [pid=0x3e0,tid=0x120c]            (   ) GPLinkDomain - The GPO is linked to a domain.
    2013-04-19 15:34:43.925 [pid=0x3e0,tid=0x120c]            ( X ) GPLinkOrganizationalUnit - The GPO is linked to an organizational unit.
    2013-04-19 15:34:43.925 [pid=0x3e0,tid=0x120c]            (   ) GP Link Error
    2013-04-19 15:34:43.925 [pid=0x3e0,tid=0x120c] lParam : 0x00000000
    2013-04-19 15:34:43.940 [pid=0x3e0,tid=0x120c] Prev GPO : No
    2013-04-19 15:34:43.940 [pid=0x3e0,tid=0x120c] Next GPO : No
    2013-04-19 15:34:43.940 [pid=0x3e0,tid=0x120c] Extensions : [{00000000-0000-0000-0000-000000000000}{2EA1A81B-48E5-45E9-8BB7-A6E3AC170006}][{5794DAFD-BE60-433F-88A2-1A31939AC01F}{2EA1A81B-48E5-45E9-8BB7-A6E3AC170006}]
    2013-04-19 15:34:43.940 [pid=0x3e0,tid=0x120c] lParam2 : 0x02a92248
    2013-04-19 15:34:43.940 [pid=0x3e0,tid=0x120c] Link : LDAP://OU=Windows8 Machines,OU=USA,DC=mydomain,DC=com,DC=au
    2013-04-19 15:34:43.940 [pid=0x3e0,tid=0x120c] Variable %GPHPATH% = "C:\ProgramData\Microsoft\Group Policy\History\{14209C3C-8E16-4247-95C6-925260D86074}\S-1-5-21-976655598-962914793-294660928-7222"
    2013-04-19 15:34:43.940 [pid=0x3e0,tid=0x120c] Completed get GPH path.
    2013-04-19 15:34:43.940 [pid=0x3e0,tid=0x120c] Completed set extensions.
    2013-04-19 15:34:43.956 [pid=0x3e0,tid=0x120c] Completed get GPO is relevant.
    2013-04-19 15:34:43.956 [pid=0x3e0,tid=0x120c] Variable %GPTPATH% = "\\mydomain.com.au\SysVol\mydomain.com.au\Policies\{14209C3C-8E16-4247-95C6-925260D86074}\User"
    2013-04-19 15:34:43.956 [pid=0x3e0,tid=0x120c] Completed get GPT path.
    2013-04-19 15:34:43.956 [pid=0x3e0,tid=0x120c] Completed RSoP init.
    2013-04-19 15:34:43.956 [pid=0x3e0,tid=0x120c] Completed get next GPO.
    2013-04-19 15:34:43.956 [pid=0x3e0,tid=0x120c] Completed check GPO license usage.
    2013-04-19 15:34:43.956 [pid=0x3e0,tid=0x120c] Completed GPO pre-processing.
    2013-04-19 15:34:43.971 [pid=0x3e0,tid=0x120c] Started removing policy.
    2013-04-19 15:34:43.971 [pid=0x3e0,tid=0x120c] Read GPH data file.
    2013-04-19 15:34:43.971 [pid=0x3e0,tid=0x120c] Completed parse of GPH XML.
    2013-04-19 15:34:43.971 [pid=0x3e0,tid=0x120c] Completed get tree root.
    2013-04-19 15:34:43.971 [pid=0x3e0,tid=0x120c] Deleted GPH data file.
    2013-04-19 15:34:43.987 [pid=0x3e0,tid=0x120c] Started package execution.
    2013-04-19 15:34:43.987 [pid=0x3e0,tid=0x120c] Set package timestamp variable (2013-04-19 19:34:43).
    2013-04-19 15:34:43.987 [pid=0x3e0,tid=0x120c] Starting class <Drives>.
    2013-04-19 15:34:43.987 [pid=0x3e0,tid=0x120c] RunOnce value created [SUCCEEDED(S_FALSE)]
    2013-04-19 15:34:43.987 [pid=0x3e0,tid=0x120c] Handle Children.
    2013-04-19 15:34:43.987 [pid=0x3e0,tid=0x120c] {935D1B74-9CB8-4e3c-9914-7DD559B7A417}
    2013-04-19 15:34:43.987 [pid=0x3e0,tid=0x120c] Starting class <Drive> - G:.
    2013-04-19 15:34:43.987 [pid=0x3e0,tid=0x120c] Set user security context.
    2013-04-19 15:34:44.003 [pid=0x3e0,tid=0x120c] Adding child elements to RSOP.
    2013-04-19 15:34:44.034 [pid=0x3e0,tid=0x120c] Properties handled.
    2013-04-19 15:34:44.034 [pid=0x3e0,tid=0x120c] RunOnce value created [SUCCEEDED(S_FALSE)]
    2013-04-19 15:34:44.034 [pid=0x3e0,tid=0x120c] Handle Children.
    2013-04-19 15:34:44.034 [pid=0x3e0,tid=0x120c] Set system security context.
    2013-04-19 15:34:44.034 [pid=0x3e0,tid=0x120c] EVENT : The user 'G:' preference item in the 'US Drive Mapping {14209C3C-8E16-4247-95C6-925260D86074}' Group Policy object was successfully removed.
    2013-04-19 15:34:44.034 [pid=0x3e0,tid=0x120c] Completed class <Drive> - G:.
    2013-04-19 15:34:44.034 [pid=0x3e0,tid=0x120c] {935D1B74-9CB8-4e3c-9914-7DD559B7A417}
    2013-04-19 15:34:44.049 [pid=0x3e0,tid=0x120c] Starting class <Drive> - M:.
    2013-04-19 15:34:44.049 [pid=0x3e0,tid=0x120c] Set user security context.
    2013-04-19 15:34:44.049 [pid=0x3e0,tid=0x120c] Adding child elements to RSOP.
    2013-04-19 15:34:44.096 [pid=0x3e0,tid=0x120c] Properties handled.
    2013-04-19 15:34:44.096 [pid=0x3e0,tid=0x120c] RunOnce value created [SUCCEEDED(S_FALSE)]
    2013-04-19 15:34:44.096 [pid=0x3e0,tid=0x120c] Handle Children.
    2013-04-19 15:34:44.096 [pid=0x3e0,tid=0x120c] Set system security context.
    2013-04-19 15:34:44.112 [pid=0x3e0,tid=0x120c] EVENT : The user 'M:' preference item in the 'US Drive Mapping {14209C3C-8E16-4247-95C6-925260D86074}' Group Policy object was successfully removed.
    2013-04-19 15:34:44.112 [pid=0x3e0,tid=0x120c] Completed class <Drive> - M:.
    2013-04-19 15:34:44.112 [pid=0x3e0,tid=0x120c] {935D1B74-9CB8-4e3c-9914-7DD559B7A417}
    2013-04-19 15:34:44.112 [pid=0x3e0,tid=0x120c] Starting class <Drive> - H:.
    2013-04-19 15:34:44.112 [pid=0x3e0,tid=0x120c] Set user security context.
    2013-04-19 15:34:44.112 [pid=0x3e0,tid=0x120c] Adding child elements to RSOP.
    2013-04-19 15:34:44.143 [pid=0x3e0,tid=0x120c] Properties handled.
    2013-04-19 15:34:44.143 [pid=0x3e0,tid=0x120c] RunOnce value created [SUCCEEDED(S_FALSE)]
    2013-04-19 15:34:44.143 [pid=0x3e0,tid=0x120c] Handle Children.
    2013-04-19 15:34:44.143 [pid=0x3e0,tid=0x120c] Set system security context.
    2013-04-19 15:34:44.143 [pid=0x3e0,tid=0x120c] EVENT : The user 'H:' preference item in the 'US Drive Mapping {14209C3C-8E16-4247-95C6-925260D86074}' Group Policy object was successfully removed.
    2013-04-19 15:34:44.158 [pid=0x3e0,tid=0x120c] Completed class <Drive> - H:.
    2013-04-19 15:34:44.158 [pid=0x3e0,tid=0x120c] {935D1B74-9CB8-4e3c-9914-7DD559B7A417}
    2013-04-19 15:34:44.158 [pid=0x3e0,tid=0x120c] Starting class <Drive> - T:.
    2013-04-19 15:34:44.158 [pid=0x3e0,tid=0x120c] Policy is not flagged for removal.
    2013-04-19 15:34:44.158 [pid=0x3e0,tid=0x120c] Completed class <Drive> - T:.
    2013-04-19 15:34:44.158 [pid=0x3e0,tid=0x120c] Completed class <Drives>.
    2013-04-19 15:34:44.158 [pid=0x3e0,tid=0x120c] Completed package execution.
    2013-04-19 15:34:44.174 [pid=0x3e0,tid=0x120c] Completed execution of removal package.
    2013-04-19 15:34:44.174 [pid=0x3e0,tid=0x120c] Completed remove GPH.
    2013-04-19 15:34:44.174 [pid=0x3e0,tid=0x120c] Started applying policy.
    2013-04-19 15:34:44.174 [pid=0x3e0,tid=0x120c] Set user security context.
    2013-04-19 15:34:44.174 [pid=0x3e0,tid=0x120c] Opened file.
    2013-04-19 15:34:44.174 [pid=0x3e0,tid=0x120c] Got file size.
    2013-04-19 15:34:44.174 [pid=0x3e0,tid=0x120c] Created file buffer.
    2013-04-19 15:34:44.190 [pid=0x3e0,tid=0x120c] Completed read file data.
    2013-04-19 15:34:44.190 [pid=0x3e0,tid=0x120c] Terminated file buffer.
    2013-04-19 15:34:44.190 [pid=0x3e0,tid=0x120c] Closed file handle.
    2013-04-19 15:34:44.190 [pid=0x3e0,tid=0x120c] Read GPE XML data file (1807 bytes total).
    2013-04-19 15:34:44.190 [pid=0x3e0,tid=0x120c] Set system security context.
    2013-04-19 15:34:44.190 [pid=0x3e0,tid=0x120c] Completed parse of GPE XML data.
    2013-04-19 15:34:44.190 [pid=0x3e0,tid=0x120c] Completed loading of package.
    2013-04-19 15:34:44.205 [pid=0x3e0,tid=0x120c] Completed get tree root.
    2013-04-19 15:34:44.205 [pid=0x3e0,tid=0x120c] Started package execution.
    2013-04-19 15:34:44.205 [pid=0x3e0,tid=0x120c] Set package timestamp variable (2013-04-19 19:34:43).
    2013-04-19 15:34:44.205 [pid=0x3e0,tid=0x120c] Starting class <Drives>.
    2013-04-19 15:34:44.205 [pid=0x3e0,tid=0x120c] RunOnce value created [SUCCEEDED(S_FALSE)]
    2013-04-19 15:34:44.205 [pid=0x3e0,tid=0x120c] Handle Children.
    2013-04-19 15:34:44.205 [pid=0x3e0,tid=0x120c] {935D1B74-9CB8-4e3c-9914-7DD559B7A417}
    2013-04-19 15:34:44.221 [pid=0x3e0,tid=0x120c] Starting class <Drive> - G:.
    2013-04-19 15:34:44.221 [pid=0x3e0,tid=0x120c] Set user security context.
    2013-04-19 15:34:44.221 [pid=0x3e0,tid=0x120c] Adding child elements to RSOP.
    2013-04-19 15:34:44.283 [pid=0x3e0,tid=0x120c] Properties handled.
    2013-04-19 15:34:44.283 [pid=0x3e0,tid=0x120c] RunOnce value created [SUCCEEDED(S_FALSE)]
    2013-04-19 15:34:44.283 [pid=0x3e0,tid=0x120c] Handle Children.
    2013-04-19 15:34:44.283 [pid=0x3e0,tid=0x120c] Set system security context.
    2013-04-19 15:34:44.299 [pid=0x3e0,tid=0x120c] EVENT : The user 'G:' preference item in the 'US Drive Mapping {14209C3C-8E16-4247-95C6-925260D86074}' Group Policy object applied successfully.
    2013-04-19 15:34:44.299 [pid=0x3e0,tid=0x120c] Completed class <Drive> - G:.
    2013-04-19 15:34:44.299 [pid=0x3e0,tid=0x120c] {935D1B74-9CB8-4e3c-9914-7DD559B7A417}
    2013-04-19 15:34:44.299 [pid=0x3e0,tid=0x120c] Starting class <Drive> - M:.
    2013-04-19 15:34:44.299 [pid=0x3e0,tid=0x120c] Set user security context.
    2013-04-19 15:34:44.299 [pid=0x3e0,tid=0x120c] Adding child elements to RSOP.
    2013-04-19 15:34:44.314 [pid=0x3e0,tid=0x120c] Properties handled.
    2013-04-19 15:34:44.330 [pid=0x3e0,tid=0x120c] RunOnce value created [SUCCEEDED(S_FALSE)]
    2013-04-19 15:34:44.330 [pid=0x3e0,tid=0x120c] Handle Children.
    2013-04-19 15:34:44.330 [pid=0x3e0,tid=0x120c] Set system security context.
    2013-04-19 15:34:44.330 [pid=0x3e0,tid=0x120c] EVENT : The user 'M:' preference item in the 'US Drive Mapping {14209C3C-8E16-4247-95C6-925260D86074}' Group Policy object applied successfully.
    2013-04-19 15:34:44.330 [pid=0x3e0,tid=0x120c] Completed class <Drive> - M:.
    2013-04-19 15:34:44.330 [pid=0x3e0,tid=0x120c] {935D1B74-9CB8-4e3c-9914-7DD559B7A417}
    2013-04-19 15:34:44.346 [pid=0x3e0,tid=0x120c] Starting class <Drive> - H:.
    2013-04-19 15:34:44.346 [pid=0x3e0,tid=0x120c] Starting filter [AND NOT FilterComputer].
    2013-04-19 15:34:44.346 [pid=0x3e0,tid=0x120c] Adding child elements to RSOP.
    2013-04-19 15:34:44.346 [pid=0x3e0,tid=0x120c] Passed filter [FilterComputer].
    2013-04-19 15:34:44.346 [pid=0x3e0,tid=0x120c] Filters passed.
    2013-04-19 15:34:44.346 [pid=0x3e0,tid=0x120c] Set user security context.
    2013-04-19 15:34:44.346 [pid=0x3e0,tid=0x120c] Adding child elements to RSOP.
    2013-04-19 15:34:44.377 [pid=0x3e0,tid=0x120c] Properties handled.
    2013-04-19 15:34:44.377 [pid=0x3e0,tid=0x120c] RunOnce value created [SUCCEEDED(S_FALSE)]
    2013-04-19 15:34:44.377 [pid=0x3e0,tid=0x120c] Handle Children.
    2013-04-19 15:34:44.377 [pid=0x3e0,tid=0x120c] Set system security context.
    2013-04-19 15:34:44.392 [pid=0x3e0,tid=0x120c] EVENT : The user 'H:' preference item in the 'US Drive Mapping {14209C3C-8E16-4247-95C6-925260D86074}' Group Policy object applied successfully.
    2013-04-19 15:34:44.392 [pid=0x3e0,tid=0x120c] Completed class <Drive> - H:.
    2013-04-19 15:34:44.392 [pid=0x3e0,tid=0x120c] {935D1B74-9CB8-4e3c-9914-7DD559B7A417}
    2013-04-19 15:34:44.392 [pid=0x3e0,tid=0x120c] Starting class <Drive> - T:.
    2013-04-19 15:34:44.392 [pid=0x3e0,tid=0x120c] Starting filter [AND NOT FilterComputer].
    2013-04-19 15:34:44.392 [pid=0x3e0,tid=0x120c] Adding child elements to RSOP.
    2013-04-19 15:34:44.408 [pid=0x3e0,tid=0x120c] Passed filter [FilterComputer].
    2013-04-19 15:34:44.408 [pid=0x3e0,tid=0x120c] Filters passed.
    2013-04-19 15:34:44.408 [pid=0x3e0,tid=0x120c] Set user security context.
    2013-04-19 15:34:44.408 [pid=0x3e0,tid=0x120c] Adding child elements to RSOP.
    2013-04-19 15:34:44.548 [pid=0x3e0,tid=0x120c] Properties handled.
    2013-04-19 15:34:44.548 [pid=0x3e0,tid=0x120c] RunOnce value created [SUCCEEDED(S_FALSE)]
    2013-04-19 15:34:44.548 [pid=0x3e0,tid=0x120c] Handle Children.
    2013-04-19 15:34:44.548 [pid=0x3e0,tid=0x120c] Set system security context.
    2013-04-19 15:34:44.548 [pid=0x3e0,tid=0x120c] EVENT : The user 'T:' preference item in the 'US Drive Mapping {14209C3C-8E16-4247-95C6-925260D86074}' Group Policy object applied successfully.
    2013-04-19 15:34:44.564 [pid=0x3e0,tid=0x120c] Completed class <Drive> - T:.
    2013-04-19 15:34:44.564 [pid=0x3e0,tid=0x120c] Completed class <Drives>.
    2013-04-19 15:34:44.564 [pid=0x3e0,tid=0x120c] Completed package execution.
    2013-04-19 15:34:44.564 [pid=0x3e0,tid=0x120c] Completed execution of apply package.
    2013-04-19 15:34:44.564 [pid=0x3e0,tid=0x120c] Update GPH : apmCreateFoldersEx
    2013-04-19 15:34:44.564 [pid=0x3e0,tid=0x120c] Update GPH : xmlRemovalPackage
    2013-04-19 15:34:44.580 [pid=0x3e0,tid=0x120c] Update GPH : apmWriteFile
    2013-04-19 15:34:44.580 [pid=0x3e0,tid=0x120c] Updated GPH.
    2013-04-19 15:34:44.580 [pid=0x3e0,tid=0x120c] Completed apply GPO.
    2013-04-19 15:34:44.580 [pid=0x3e0,tid=0x120c] Completed GPO post-processing.
    2013-04-19 15:34:44.580 [pid=0x3e0,tid=0x120c] Completed get next GPO. [SUCCEEDED(S_FALSE)]
    2013-04-19 15:34:44.580 [pid=0x3e0,tid=0x120c] Completed calculate precedence.
    2013-04-19 15:34:44.580 [pid=0x3e0,tid=0x120c] Completed get RSoP class.
    2013-04-19 15:34:44.595 [pid=0x3e0,tid=0x120c] Completed initialize namespace.
    2013-04-19 15:34:44.595 [pid=0x3e0,tid=0x120c] WQL : SELECT * FROM RSOP_PolmkrSetting WHERE polmkrBaseCseGuid = "{5794DAFD-BE60-433f-88A2-1A31939AC01F}"
    2013-04-19 15:34:44.595 [pid=0x3e0,tid=0x120c] Executed WQL query.
    2013-04-19 15:34:44.595 [pid=0x3e0,tid=0x120c] Purged 4 old RSoP entries.
    2013-04-19 15:34:44.611 [pid=0x3e0,tid=0x120c] Logging 4 new RSoP entries.
    2013-04-19 15:34:44.611 [pid=0x3e0,tid=0x120c] RSoP Entry 0
    2013-04-19 15:34:44.611 [pid=0x3e0,tid=0x120c]  <INSTANCE CLASSNAME="RSOP_PolmkrDriveSetting">
    <PROPERTY NAME="name">
    <VALUE>G:</VALUE></PROPERTY>
    <PROPERTY NAME="GPOID">
    <VALUE>cn={14209C3C-8E16-4247-95C6-925260D86074},cn=policies,cn=system,DC=mydomain,DC=com,DC=au</VALUE></PROPERTY>
    <PROPERTY NAME="SOMID">
    <VALUE>OU=Windows8 Machines,OU=USA,DC=mydomain,DC=com,DC=au</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrBaseGpeGuid">
    <VALUE>{2EA1A81B-48E5-45E9-8BB7-A6E3AC170006}</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrBaseCseGuid">
    <VALUE>{5794DAFD-BE60-433f-88A2-1A31939AC01F}</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrBaseGpoDisplayName">
    <VALUE>US Drive Mapping</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrBaseGpoGuid">
    <VALUE>{14209C3C-8E16-4247-95C6-925260D86074}</VALUE></PROPERTY>
    <PROPERTY NAME="id">
    <VALUE>{67CE9D8B-48A8-433A-813F-2B549875ABAA}</VALUE></PROPERTY>
    <PROPERTY NAME="precedence" CHANGETYPE="3">
    <VALUE>1</VALUE></PROPERTY>
    <PROPERTY NAME="creationTime">
    <VALUE>20130419193444.221000+000</VALUE></PROPERTY>
    <INSTANCE CLASSNAME="RSOP_PolmkrDriveItem">
    <PROPERTY NAME="polmkrClassClsid">
    <VALUE>{935D1B74-9CB8-4e3c-9914-7DD559B7A417}</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassName">
    <VALUE>G:</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassStatus">
    <VALUE>G:</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassImage">
    <VALUE>1</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassChanged">
    <VALUE>2013-04-16 18:53:56</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassUid">
    <VALUE>{840ACB3A-24B1-40C9-9CFA-936FC3F08A9E}</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassRemovePolicy">
    <VALUE>1</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassUserContext">
    <VALUE>1</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassBypassErrors">
    <VALUE>1</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrAction">
    <VALUE>R</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrThisDrive">
    <VALUE>NOCHANGE</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrAllDrives">
    <VALUE>NOCHANGE</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrUserName">
    <VALUE></VALUE></PROPERTY>
    <PROPERTY NAME="polmkrPath">
    <VALUE>\\detfs01\general</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrLabel">
    <VALUE></VALUE></PROPERTY>
    <PROPERTY NAME="polmkrPersistent">
    <VALUE>0</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrUseLetter">
    <VALUE>1</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrLetter">
    <VALUE>G</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrActionResolved">
    <VALUE>R</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrLetterResolved">
    <VALUE>g:</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassResultCodeValue">
    <VALUE>0</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassResultCode">
    <VALUE>0x00000000</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassResultText">
    <VALUE>The operation completed successfully.</VALUE></PROPERTY></INSTANCE>
    <PROPERTY NAME="polmkrBaseHash">
    <VALUE>RSOP_PolmkrDriveSetting.polmkrLetter=&quot;G&quot;</VALUE></PROPERTY></INSTANCE>
    2013-04-19 15:34:44.626 [pid=0x3e0,tid=0x120c] RSoP Entry 1
    2013-04-19 15:34:44.626 [pid=0x3e0,tid=0x120c]  <INSTANCE CLASSNAME="RSOP_PolmkrDriveSetting">
    <PROPERTY NAME="name">
    <VALUE>M:</VALUE></PROPERTY>
    <PROPERTY NAME="GPOID">
    <VALUE>cn={14209C3C-8E16-4247-95C6-925260D86074},cn=policies,cn=system,DC=mydomain,DC=com,DC=au</VALUE></PROPERTY>
    <PROPERTY NAME="SOMID">
    <VALUE>OU=Windows8 Machines,OU=USA,DC=mydomain,DC=com,DC=au</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrBaseGpeGuid">
    <VALUE>{2EA1A81B-48E5-45E9-8BB7-A6E3AC170006}</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrBaseCseGuid">
    <VALUE>{5794DAFD-BE60-433f-88A2-1A31939AC01F}</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrBaseGpoDisplayName">
    <VALUE>US Drive Mapping</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrBaseGpoGuid">
    <VALUE>{14209C3C-8E16-4247-95C6-925260D86074}</VALUE></PROPERTY>
    <PROPERTY NAME="id">
    <VALUE>{DBA37AA7-F6DF-4E18-9BD4-383BB43637F3}</VALUE></PROPERTY>
    <PROPERTY NAME="precedence" CHANGETYPE="3">
    <VALUE>1</VALUE></PROPERTY>
    <PROPERTY NAME="creationTime">
    <VALUE>20130419193444.299000+000</VALUE></PROPERTY>
    <INSTANCE CLASSNAME="RSOP_PolmkrDriveItem">
    <PROPERTY NAME="polmkrClassClsid">
    <VALUE>{935D1B74-9CB8-4e3c-9914-7DD559B7A417}</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassName">
    <VALUE>M:</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassStatus">
    <VALUE>M:</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassImage">
    <VALUE>1</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassChanged">
    <VALUE>2013-04-16 18:55:02</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassUid">
    <VALUE>{3D62A401-52C3-40D1-999A-32D0F0D00117}</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassRemovePolicy">
    <VALUE>1</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassUserContext">
    <VALUE>1</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassBypassErrors">
    <VALUE>1</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrAction">
    <VALUE>R</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrThisDrive">
    <VALUE>NOCHANGE</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrAllDrives">
    <VALUE>NOCHANGE</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrUserName">
    <VALUE></VALUE></PROPERTY>
    <PROPERTY NAME="polmkrPath">
    <VALUE>\\detfs01\EmailArchives</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrLabel">
    <VALUE></VALUE></PROPERTY>
    <PROPERTY NAME="polmkrPersistent">
    <VALUE>0</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrUseLetter">
    <VALUE>1</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrLetter">
    <VALUE>M</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrActionResolved">
    <VALUE>R</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrLetterResolved">
    <VALUE>m:</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassResultCodeValue">
    <VALUE>0</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassResultCode">
    <VALUE>0x00000000</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassResultText">
    <VALUE>The operation completed successfully.</VALUE></PROPERTY></INSTANCE>
    <PROPERTY NAME="polmkrBaseHash">
    <VALUE>RSOP_PolmkrDriveSetting.polmkrLetter=&quot;M&quot;</VALUE></PROPERTY></INSTANCE>
    2013-04-19 15:34:44.642 [pid=0x3e0,tid=0x120c] RSoP Entry 2
    2013-04-19 15:34:44.642 [pid=0x3e0,tid=0x120c]  <INSTANCE CLASSNAME="RSOP_PolmkrDriveSetting">
    <PROPERTY NAME="name">
    <VALUE>H:</VALUE></PROPERTY>
    <PROPERTY NAME="GPOID">
    <VALUE>cn={14209C3C-8E16-4247-95C6-925260D86074},cn=policies,cn=system,DC=mydomain,DC=com,DC=au</VALUE></PROPERTY>
    <PROPERTY NAME="SOMID">
    <VALUE>OU=Windows8 Machines,OU=USA,DC=mydomain,DC=com,DC=au</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrBaseGpeGuid">
    <VALUE>{2EA1A81B-48E5-45E9-8BB7-A6E3AC170006}</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrBaseCseGuid">
    <VALUE>{5794DAFD-BE60-433f-88A2-1A31939AC01F}</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrBaseGpoDisplayName">
    <VALUE>US Drive Mapping</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrBaseGpoGuid">
    <VALUE>{14209C3C-8E16-4247-95C6-925260D86074}</VALUE></PROPERTY>
    <PROPERTY NAME="id">
    <VALUE>{AEEB1495-02E1-4B94-909B-C8DE89C82C0B}</VALUE></PROPERTY>
    <PROPERTY NAME="precedence" CHANGETYPE="3">
    <VALUE>1</VALUE></PROPERTY>
    <PROPERTY NAME="creationTime">
    <VALUE>20130419193444.346000+000</VALUE></PROPERTY>
    <INSTANCE CLASSNAME="RSOP_PolmkrComputerFilterItem">
    <PROPERTY NAME="polmkrBool">
    <VALUE>AND</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrNot">
    <VALUE>1</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrType">
    <VALUE>NETBIOS</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrName">
    <VALUE>d-7-user1</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassResultCodeValue">
    <VALUE>1</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassResultCode">
    <VALUE>0x00000001</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassResultText">
    <VALUE>Incorrect function.</VALUE></PROPERTY></INSTANCE>
    <INSTANCE CLASSNAME="RSOP_PolmkrDriveItem">
    <PROPERTY NAME="polmkrClassClsid">
    <VALUE>{935D1B74-9CB8-4e3c-9914-7DD559B7A417}</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassName">
    <VALUE>H:</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassStatus">
    <VALUE>H:</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassImage">
    <VALUE>1</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassChanged">
    <VALUE>2013-04-18 20:14:04</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassUid">
    <VALUE>{04A87992-7420-44CE-B2B6-1B07FE654F77}</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassRemovePolicy">
    <VALUE>1</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassUserContext">
    <VALUE>1</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassBypassErrors">
    <VALUE>1</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrAction">
    <VALUE>R</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrThisDrive">
    <VALUE>NOCHANGE</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrAllDrives">
    <VALUE>NOCHANGE</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrUserName">
    <VALUE></VALUE></PROPERTY>
    <PROPERTY NAME="polmkrPath">
    <VALUE>\\detfs01\users\%username%</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrLabel">
    <VALUE></VALUE></PROPERTY>
    <PROPERTY NAME="polmkrPersistent">
    <VALUE>0</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrUseLetter">
    <VALUE>1</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrLetter">
    <VALUE>H</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrActionResolved">
    <VALUE>R</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrLetterResolved">
    <VALUE>h:</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassResultCodeValue">
    <VALUE>0</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassResultCode">
    <VALUE>0x00000000</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassResultText">
    <VALUE>The operation completed successfully.</VALUE></PROPERTY></INSTANCE>
    <PROPERTY NAME="polmkrBaseHash">
    <VALUE>RSOP_PolmkrDriveSetting.polmkrLetter=&quot;H&quot;</VALUE></PROPERTY></INSTANCE>
    2013-04-19 15:34:44.658 [pid=0x3e0,tid=0x120c] RSoP Entry 3
    2013-04-19 15:34:44.658 [pid=0x3e0,tid=0x120c]  <INSTANCE CLASSNAME="RSOP_PolmkrDriveSetting">
    <PROPERTY NAME="name">
    <VALUE>T:</VALUE></PROPERTY>
    <PROPERTY NAME="GPOID">
    <VALUE>cn={14209C3C-8E16-4247-95C6-925260D86074},cn=policies,cn=system,DC=mydomain,DC=com,DC=au</VALUE></PROPERTY>
    <PROPERTY NAME="SOMID">
    <VALUE>OU=Windows8 Machines,OU=USA,DC=mydomain,DC=com,DC=au</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrBaseGpeGuid">
    <VALUE>{2EA1A81B-48E5-45E9-8BB7-A6E3AC170006}</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrBaseCseGuid">
    <VALUE>{5794DAFD-BE60-433f-88A2-1A31939AC01F}</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrBaseGpoDisplayName">
    <VALUE>US Drive Mapping</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrBaseGpoGuid">
    <VALUE>{14209C3C-8E16-4247-95C6-925260D86074}</VALUE></PROPERTY>
    <PROPERTY NAME="id">
    <VALUE>{7E0CA279-4F24-4773-BD3D-8E4E8AA8AF86}</VALUE></PROPERTY>
    <PROPERTY NAME="precedence" CHANGETYPE="3">
    <VALUE>1</VALUE></PROPERTY>
    <PROPERTY NAME="creationTime">
    <VALUE>20130419193444.392000+000</VALUE></PROPERTY>
    <INSTANCE CLASSNAME="RSOP_PolmkrComputerFilterItem">
    <PROPERTY NAME="polmkrBool">
    <VALUE>AND</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrNot">
    <VALUE>1</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrType">
    <VALUE>DNS</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrName">
    <VALUE>nb-864-user1.mydomain.com.au</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassResultCodeValue">
    <VALUE>1</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassResultCode">
    <VALUE>0x00000001</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassResultText">
    <VALUE>Incorrect function.</VALUE></PROPERTY></INSTANCE>
    <INSTANCE CLASSNAME="RSOP_PolmkrDriveItem">
    <PROPERTY NAME="polmkrClassClsid">
    <VALUE>{935D1B74-9CB8-4e3c-9914-7DD559B7A417}</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassName">
    <VALUE>T:</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassStatus">
    <VALUE>T:</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassImage">
    <VALUE>1</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassChanged">
    <VALUE>2013-04-19 13:21:12</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassUid">
    <VALUE>{57350522-F65A-4B69-84D5-7FD5EAA99875}</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassRemovePolicy">
    <VALUE>1</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassUserContext">
    <VALUE>1</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassBypassErrors">
    <VALUE>1</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrAction">
    <VALUE>R</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrThisDrive">
    <VALUE>NOCHANGE</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrAllDrives">
    <VALUE>NOCHANGE</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrUserName">
    <VALUE></VALUE></PROPERTY>
    <PROPERTY NAME="polmkrPath">
    <VALUE>\\detfs01\users</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrLabel">
    <VALUE></VALUE></PROPERTY>
    <PROPERTY NAME="polmkrPersistent">
    <VALUE>0</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrUseLetter">
    <VALUE>1</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrLetter">
    <VALUE>T</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrActionResolved">
    <VALUE>R</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrLetterResolved">
    <VALUE>t:</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassResultCodeValue">
    <VALUE>0</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassResultCode">
    <VALUE>0x00000000</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassResultText">
    <VALUE>The operation completed successfully.</VALUE></PROPERTY></INSTANCE>
    <PROPERTY NAME="polmkrBaseHash">
    <VALUE>RSOP_PolmkrDriveSetting.polmkrLetter=&quot;T&quot;</VALUE></PROPERTY></INSTANCE>
    2013-04-19 15:34:44.658 [pid=0x3e0,tid=0x120c] Completed logging of RSoP data.
    2013-04-19 15:34:44.658 [pid=0x3e0,tid=0x120c] Completed commit reporting.
    2013-04-19 15:34:44.658 [pid=0x3e0,tid=0x120c] Completed GPO list post-processing.
    2013-04-19 15:34:44.673 [pid=0x3e0,tid=0x120c] Completed get GPO list. [SUCCEEDED(S_FALSE)]
    2013-04-19 15:34:44.673 [pid=0x3e0,tid=0x120c] Completed CSE post-processing.
    2013-04-19 15:34:44.673 [pid=0x3e0,tid=0x120c] User impersonation uninitialized.
    2013-04-19 15:34:44.673 [pid=0x3e0,tid=0x120c] Leaving ProcessGroupPolicyExDrives() returned 0x00000000
    2013-04-19 15:34:44.673 [pid=0x3e0,tid=0x120c]

  • Script for change IP static address using Powershell

    Hi...
    I have a question: I regularly connect me to two different network segments, I want to know how to create a script to map to the network adapter an IP static, in this way could run the corresponding script when I find in each segment of the network using
    powershell... the DHCP  not permitt in company, is for that reason that I need a way to automate the allocation of IP address static in my network adapter, in this way could change the IP address depending on the network segment that I find.
    I hope your comments..
    Thanks

    Start by looking here:
    http://gallery.technet.microsoft.com/site/search?f%5B0%5D.Type=RootCategory&f%5B0%5D.Value=networking&f%5B0%5D.Text=Networking&f%5B1%5D.Type=SubCategory&f%5B1%5D.Value=clientside&f%5B1%5D.Text=Client-Side%20Management
    ¯\_(ツ)_/¯

  • Changing a SQL Report server Database to a new One Using Powershell script

    Hi,
    I have an existing report server (Native Mode) and a pre-configured report server database. I have created a new database and want to assign it new report server database. How can i automate this process using powershell?
    Here is the detail requirement
    If there is a Report Server database seeded on the xxxxx server, follow the below steps:
    ◾Click the Database button on the left. Click on the Change Database button, choose option Choose an existing report server database. Enter the RPT server name (e.g. xxxxxx) in Server Name text box and click Next.
    ◾In the Report Server Database selection, select the ReportServer database. Then click next button to complete the process.
    Any help in this regard will be very much helpfull.
    Sushruta Banerjee

    Hi Sushruta,
    To query export from Report server Database, the scripts below may be helpful for you:
    Export RDL Files from ReportServer Database with PowerShell
    SQL Database Reports with PowerShell
    I hope this helps.

  • Drives mapped via GPO, NET USE shows mapping but doesn't show up in Explorer - Win 8.1

    Fresh install of Windows Enterprise 8.1
    Connected PC to domain, logged in, drive mapping worked as it should.
    Rebooted a few times after installing software that I normally install on my computers (from the same sources/locally from my file server, etc).  Rebooted a few more times all is well.
    A few reboots later, the only drive that is mapped is X: which is my user drive done via the user profile in AD.  The rest of the mappings that normally show up done by the GPO no longer show up.
    After some digging, and noticing no errors in any logs I ran NET USE in a CMD prompt window, low and behold the drives are actually mapped and I can access them via the CLI without issue.  I can navigate via their mapped drive letters, etc.
    They just don't show up in Windows Explorer at all and I cannot navigate to the drive letters via the address bar.  Strangely enough, it still kinda works since the Downloads start menu item is mapped to a network drive and that still works (Q:\) and
    Chrome can access it as well if I try to download something.
    I'm really not sure what else to check/try here. 
    Have other Windows 7 and Windows 8.1 machines (my laptop) and all works just fine, so it's only this specific install on my desktop that is showing this issue.

    Hi,
    There are several reasons causing the issue:
    First, The problematic client doesn't reconnect to the target share at logon. 
    Please follow the steps to re-configure the mapped driver on the client and then check if the issue will re-occur.
    Steps:
    a. Open "My Computer"
    b. Click on "Tools" and then select "Map Network Driver"
    c. input the \\ipaddressofserver\sharename to give the path of the share
    d. Check "Reconnect at logon"
    e. Drive gets mapped
    f. Double click on the drive to check.
    Second, Antivirus software or Windows Firewall may block the mapped share.
    If there is any Antivirus software and the Windows Firewall is enabled on the problematic client. If so, please disable them to check if the issue can be resolved.
    Third, Fast Logon Optimization is enabled on the clients.
    The fast logon feature may affect the display and drive letter assignment of a mapped network drive. As a result, the drive may have been mapped; however, the user on client cannot see it in Windows Explorer. He may recognize it as a failed network drive
    mapping. This is the reason why we usually suggest you to disable fast logon on the clients via a GPO, and please check if the mapped network drive will be occur under this circumstance.
    Please also configure the following group policy setting to disable Fast Logon Optimization to see if the issue still exists on the problematic clients.
    Computer Configuration\Administrative Templates\System\Logon\Always wait for the network at computer startup and logon
    If we cannot get this issue fixed, please post back the event log related to this issue.
    Kate Li
    TechNet Community Support

  • Change content of default.aspx for subsites using Powershell

    Hi.
    I need to update the content of the default.aspx of 60+ subsites in a site Collection. I am able to loop all subsites and get the corresponding default.aspx files using a PowerShell snippet like:
    $site = Get-SPSite -WebApplication https://mysite.domain.no/ -Limit All
    $wc = $site.allwebs | where {$_.url.StartsWith(https://mysite.domain.no/sites/blahblah/blahblahblah) }
    foreach ($web in $wc){
    $file = $web.GetFile("default.aspx")
    The problem is I don't know whether to use the Set-Content command-let or an XMLDocument approach.
    I have the file With the correct content on the local machine. I tried With $file.Parentfolder in order to use
    $f = $web.GetFolder($file.ParentFolder)
    $fc = $f.files
    Get-ChildItem "C:\temp\default.aspx" | foreach {
    $spFileCollection.add($($_.Name),$_.OpenRead(), $true)
    to replace the file but this gives an error on empty folder. Can I use this approach or is there a way to change the actual content of the file?

    Hi Jorgen,
    According to your description, my understanding is that you want to update the page content using PowerShell.
    I suggest you read the content data like below:
    $data = $file.OpenBinary()
    $encode = New-Object System.Text.ASCIIEncoding
    $test = $encode.GetString($data)
    Then you can change the string you want, and then you can save it using SaveBinary() method.
    Here are some detailed articles for your reference:
    Reading the contents of a SharePoint library file using PowerShell
    Using powershell to read/modify/rewrite sharepoint xml document
    Best Regards
    Zhengyu Guo
    TechNet Community Support

Maybe you are looking for