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

Similar Messages

  • GPP Drive map and logon impact

    Hello,
    GPP drive mapping requires synchronous processing which cause slower logon time. But it seems after reading this article here http://blogs.technet.com/b/grouppolicy/archive/2013/05/23/group-policy-and-logon-impact.aspx  that if you
    don't modify the GPP drive mapping after it has been applied, for every other logon, policies will be process asynchronously resulting faster logon. This is not what I experiment, even if I don't modify the GPP, every two logon, policies are
    process synchronously
    Here another way to improve logon time when using GPP drive map :
    http://social.technet.microsoft.com/wiki/contents/articles/12221.troubleshooting-the-drive-maps-preference-extension-in-group-policy-replace-mode-only-maps-the-drive-every-other-logon.aspx?wa=wsignin1.0
    ... The reconnect option is the same as mapping a drive using the /PERSISTENT attribute. This allows the state of the mapped drive to be saved between user logon sessions.  In this solution, use Create action to map a drive that persists between user
    logons. This would allow for faster logons because
    Group Policy wouldn’t be forced to run synchronously every logon cycle.
    Same here, even if I set the persistence attribute, every two logon, policies are processed synchronously.
    Are those both articles given wrong information or do I miss something?
    Thank you for your help.
    Chris

    >
    http://blogs.technet.com/b/grouppolicy/archive/2013/05/23/group-policy-and-logon-impact.aspx
    This article is misleading in terms of foreground/background/sync/async.
    I tend to say we have two processing modes only: sync and async. sync
    can only occur at startup/logon, and it only occurs if several other
    conditions are met (these conditions are correct in the above blog
    post). sync in my terms is identical to foreground, and async is
    identical to background :)
    So the question still is: Do you have any policy settings in place that
    might force the next processing to be sync?
    Martin
    Mal ein
    GUTES Buch über GPOs lesen?
    NO THEY ARE NOT EVIL, if you know what you are doing:
    Good or bad GPOs?
    And if IT bothers me - coke bottle design refreshment :))

  • Drive Map to DFS Folder Getting Lost

    We had a problem yesterday morning with every user (about a dozen) in one of our small branch offices being unable to access a certain network share.
    Their T: drive, which is the one they had a problem with, is mapped to this:
    \\domain.com\namespace\OfficeShare1
    which is a DFS folder that simply points to:
    \\2012FileServer\OfficeShare1
    That is a Server 2012 R2 server.
    This share is only a few weeks old, and has been working fine for them until today. We have other offices that have their own shares on the same server, and mapped to a DFS folder the same way, and those have been working OK (as far as I know).
    The PCs are all running Windows 7.
    Their S: drive is mapped to
    \\2003FileServer\CompanyShare
    which is a MS Server 2003 server. They had no problems with accessing this, ever.
    Going to Computer > Map network drive, I could see the label for \OfficeShare1 was still attached to T:, but the path was empty. The T: drive appeared in the Computer window, but was showing as disconnected, and double-clicking it would throw an error about
    the path being unavailable.
    Typing \\domain.com\namespace\OfficeShare1 in the address bar would cause the Computer window to hang before erroring-out. Thus, re-creating the drive map would not work.
    After trying that, a user could go to \\domain.com\namespace and that would work fine. From there, they could go to the \OfficeShare1 folder without any errors.
    If they then went back into Computer, their T: drive would again be working, without having to re-create the mapping.
    Also, even though users couldn't browse directly to \\domain.com\namespace\OfficeShare1,without first browsing \\domain.com\namespace, they could browse directly to \\2012FileServer\OfficeShare1.
    I've seen a few other users outside the aforementioned office who had the issue, but this is the first opportunity I've had to get more information on it before the client PC was rebooted. Some of those users who have had this issue, also have an X: drive,
    which is mapped to:
    \\domain.com\namespace\DeptShare1
    But this is a CIFS share. And like the share on the 2003 server, no user has experienced the issue with this share.
    It has only happened with the shares on the Server 2012 system. And it has been kinda rare (currently less than 75 users who could potentially experience it).
    All drives are mapped via Group Policy. Users do have a script they can run to re-create drive maps.
    It's probably some connectivity issue that causes the drive to get disconnected (wifi signal drops, VPN gets disconnected, etc). But I'm not sure why the problem persists after connectivity is restored, why the path disappears from the mapping, and why only
    with this one drive. The servers hosting those shares are all in the same subnet, same data center.
    I'm about to migrate about a share accessed by 500 users to this 2012 system, and I can't until I get this figured out. My hunch is that something in the Windows 7 client PC is getting... lost. It's only happening to drives that map to DFS folders in that namespace
    that point to shares on that 2012 server (no one has a drive that maps directly to the shares on that server). The share itself doesn't appear  to actually go offline or anything like that. And this morning is the first time I've seen it happen to multiple
    people at once.
    Weird.
    Any help is appreciated.
    Thanks!

    Hi,
    Is there any error message in the Event Log? Do you add more than one namespace server in the DFS namespace? Since the server hangs when you access the DFS link, you could refer to the article below to establish connectivity with the target computer and shared
    folder.
    Troubleshooting Dfs Problems
    http://technet.microsoft.com/en-us/library/cc962144.aspx
    Best Regards,
    Mandy
    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]

  • ADUC home drive disconnected when using GPP drive mappings

    Hello,
    We have an issue with mapping home drives and using group policy preferences to map all other drives for our users.
    We have users in multiple locations and each location has it's own storage, users in a location have their home drives on that location's storage. We assign the home drive to a user using the profile tab in the ADUC user account settings (\\storage\users$\%username%).
    All other drive mappings are made through group policy preferences. This is working as expected in Windows XP.
    We are preparing for a migration to Windows 7 and Windows 7 deals with this situation in a bit different manner, for some reason when you log on to Windows 7 the ADUC account settings are made first (thus connecting the home drive) and after this the group
    policies are applied and prior to the first drive mapping being made all connected drives (and with this the home drive) are disconnected and then the drive mappings are applied. This behaviour occurs with replace mode as well as with update mode.
    To work around this the home drives could be mapped using GPP but since we have users with home drives in multiple locations and drive mappings in GPP's do not understand the %HOMESHARE%%HOMEPATH% syntax we have to use a drive mapping per location and for
    each drive mapping use item level targeting and put the users into the appropriate security group and this is more administrative burden then we'd like. Dividing users into OU's per location is not really a workable option as well.
    Has anyone seen this issue before and/or has some ideas on how to deal with this or has a workable workaround/solution ?

    Thank you for the reply. I have seen the article you linked to, from that I tested and found that in our situation we experience the same behaviour.
    The home drive is connected to P through the AD user account profile tab, the other drive mappings are gpp drive maps and are starting from G on and are set to replace, use first available, run in logged-on user's security context, remove this item when
    it is no longer applied and item level targeting is set to a security group, we have 20+ drive mappings using these settings. I have tested with setting the mapping to Update but the results are the same.
    I am able to connect to the home drive manually using a UNC mapping. When I test using F for the home drive in AD user account profile tab the problem is gone. Changing the home drive letter is not an option though because we have several applications that
    rely on that letter P.

  • Creating a new folder and drive map with Preferences

    So I am trying to set things up using GPP so that users of a particular security group get a U:\ drive at the following location:
    \\server\share\%username%
    I have set up the drive map preference & also a folders preference (to create the user's folder).  The problem is that it works BACKWARDS and the drive tries to map prior to folder creation and thus fails, THEN the folder gets created.  So
    that the 2nd time the user logs in they actually get the U:\ drive at the correct location.  The goal is to have the folder created and mapped to on the 1st try for the user.
    How can I get this working WITHOUT resorting to scripts, folder redirection, or manually setting the U drive on the AD Profile?  I just want that folder to be created for only users in the proper security group, and then have the drive map
    to it.
    # When I wrote this script only God and I knew what I was doing. # Now, only God Knows!

    > How can I get this working WITHOUT resorting to scripts, folder
    > redirection, or manually setting the U drive on the AD Profile?  I just
    > want that folder to be created for only users in the proper security
    > group, and then have the drive map to it.
    You cannot. The execution order of GPO parts (called Client Side
    Extensions) cannot be changed, so you're stuck with this error if you
    don't resort to a script :)
    Greetings/Grüße,
    Martin
    Mal ein
    gutes Buch über GPOs lesen?
    Good or bad GPOs? - my blog…
    And if IT bothers me -
    coke bottle design refreshment (-:

  • GPP - Missing Mapped Drives

    Domain Functional Level: Windows Server 2003
    Domain Controllers: Windows Server 2012 R2
    Workstations: Windows 7 PRO, x86
    I'm mapping network shares for my users using GPP, running under User Logon, and Item Level Targeting.  The missing network drives are Windows Server 2003 R2 SP2 file servers.  The network drives that DO map are Windows Server 2012 R2 file servers. 
    When I log in as a test user (copied from an offending user), I can browse to the 2003 shares via UNC, and I am capable of manually mapping the drives are well.  However, when I log off and log back in, the drives are missing again
    for the 2003 shares.  Furthermore, I'm mapping user's home folders via Profile tab in their user accounts, and that's going to the same 2003 share as well.  That isn't mapping either. 
    I believe that it was working fine last week, but then SOMETHING must have changed.  I'm unsure of what though.   Perhaps someone can shed some light into this?

    > When I manually a) selected all mapped drives, b) disconnected them, c)
    > logged off and back on...my mapped drives did not show up.  However,
    > when I everything until c), but added GPUPDATE /FORCE, after logon, my
    > drives mapped correctly.  I'm assuming this is by design?
    Not to my knowledge - they SHOULD be present again without gpupdate. The
    log I mentioned above might be helpful.
    >  Preferences don't "update" like Policies do?
    In most cases, they do :)
    Martin
    Mal ein
    GUTES Buch über GPOs lesen?
    NO THEY ARE NOT EVIL, if you know what you are doing:
    Good or bad GPOs?
    And if IT bothers me - coke bottle design refreshment :))

  • Group Policy error 1112 - Drive Maps

    Hi everyone
    We are getting hundreds of these alerts from SCOM every day from multiple 2008 R2 terminal servers:
    Alert from Operations Manager 2007:
    Alert description: The Group Policy Client Side Extension Group Policy Drive Maps was unable to apply one or more settings because the changes must be processed before system startup or user logon. The system will wait for Group Policy processing to finish
    completely before the next startup or logon for this user, and this may result in slow startup and boot performance.
    Looking on the Server itself in the System log I see these entries for every time a user logs onto the server (via RemoteApp)
    Log Name:      System
    Source:        Microsoft-Windows-GroupPolicy
    Date:          15/03/2012 2:23:58 p.m.
    Event ID:      1112
    Task Category: None
    Level:         Warning
    Keywords:      
    User:          HOT\xxxxxx
    Computer:      HOTAKLRD01.hot.co.nz
    Description:
    The Group Policy Client Side Extension Group Policy Drive Maps was unable to apply one or more settings because the changes must be processed before system startup or user logon. The system will wait for Group Policy processing to finish completely before the
    next startup or logon for this user, and this may result in slow startup and boot performance.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-Windows-GroupPolicy" Guid="{AEA1B4FA-97D1-45F2-A64C-4D69FFFD92C9}" />
        <EventID>1112</EventID>
        <Version>0</Version>
        <Level>3</Level>
        <Task>0</Task>
        <Opcode>1</Opcode>
        <Keywords>0x8000000000000000</Keywords>
        <TimeCreated SystemTime="2012-03-15T01:23:58.350306600Z" />
        <EventRecordID>57243</EventRecordID>
        <Correlation ActivityID="{651EFA61-7FA8-4444-9E68-81D0F82DEFE4}" />
        <Execution ProcessID="900" ThreadID="22780" />
        <Channel>System</Channel>
        <Computer>HOTAKLRD01.hot.co.nz</Computer>
        <Security UserID="S-1-5-21-1288906317-135625827-1544898942-500" />
      </System>
      <EventData>
        <Data Name="SupportInfo1">1</Data>
        <Data Name="SupportInfo2">3961</Data>
        <Data Name="ProcessingMode">1</Data>
        <Data Name="ProcessingTimeInMilliseconds">4656</Data>
        <Data Name="ErrorCode">1274</Data>
        <Data Name="ErrorDescription">The group policy framework should call the extension in the synchronous foreground policy refresh. </Data>
        <Data Name="DCName">\\HOTAKL31.hot.co.nz</Data>
        <Data Name="ExtensionName">Group Policy Drive Maps</Data>
        <Data Name="ExtensionId">{5794DAFD-BE60-433f-88A2-1A31939AC01F}</Data>
      </EventData>
    </Event>
    However it each case the user still gets their drive mapping!
    I've this only occurs with Drive Map GP Preference -I've even taken a user out of all policies except for a new test drive map policy and they still get this error. I've applied the hotfix that should be the latest version of the GP dll's (KB2622802) but
    the error remains. I've tried all options within the GPP for Drive Maps - Update, Replace etc, 
    Should I just override the OpsMgr alerts? It seems like this is a bug with 2008 server and GP Drive Map Preferences?
    Any ideas would be appreciated
    Thanks
    Rik

    > *"Note: For servers, the startup and logon processing always behaves
    > as if this policy setting is enabled."*
    >
    > **
    >
    > **
    >
    > **
    >
    > **
    >
    > **
    >
    I must admit that I never used Drive Maps on a Server (-: Maybe this is
    a bug in the Drive Maps CSE... If it bothers: Set NoBackgroundPolicy 
    (REG_DWORD) to 1 in HKLM\Software\Microsoft\Windows
    NT\CurrentVersion\WinLogon\GPExtensions\
    {5794DAFD-BE60-433f-88A2-1A31939AC01F}. This will prevent the Drive Maps
    CSE from being invoked during background GP updates.
     sincerely, martin
    NO THEY ARE NOT EVIL, if you know what you are doing:
    Good or bad GPOs?
    Wenn meine Antwort hilfreich war, freue ich mich über eine Bewertung! If my answer was helpful, I'm glad about a rating!

  • Error code 0x80070035 on drive maps in GPO, "Network path cannot be found".

    I am trying to apply a GPO that maps drives so that another GPO can then make them available offline for a couple of hundred users.
    Every time I try to apply the policy it fails with an 0x80070035 error which translates as a "Network Path cannot be found". The security settings for that particular folder is fine and the user can see it ok, furthermore following logon I can
    manually map the drive through windows explorer and through CMD/powershell using the net use command.
    The path i tried was \\servername\otherdir\securearea\ which didnt work (i did drop and add the final "\" just in case i was going mad)
    i then tried \\servername\otherdir\unsecurearea\ which
    still failed
    just to prove my lack of sanity i created a folder on the hard drive of the laptop itself, made it a shared folder and tried both \\localhost\sharedfolder and \\127.0.0.1\sharedfolder,
    they all fail with the same error code.
    i have checked the hosts and the lmhosts files are there is nothing new in there, only the usual MS gumf that has come with every copy on windows since Win95
    patience is wearing thin, hair is getting short ...
    thoughts anyone?
    Nothing is unfixable - with a suitable sized hammer!

    Hi klimacher,
    Would you please let me know the current situation of this issue? Have you referred to Kelly's suggestion and solved this issue?
    Based on your description, I understand that you configure Drive Maps via GPP. However, can’t apply the policy
    with error code 0x80070035. If anything I misunderstand, please don’t hesitate to let me know.
    If so, you should find Event 4098 as below shows.
    When you type the location of this mapped drive, please remove trailing slash on the UNC path. Then apply the
    setting and run gpupdate command to update group policy setting. Please monitor the result.
    In addition, please refer to the following article and troubleshoot this issue.
    Troubleshooting
    the Drive Maps Preference Extension in Group Policy: Adding a Share Name with Trailing Slash '\' Returns Error Code 0x80070035
    If this issue still exists, please let me know summarily how you configure the Drive Maps. For an example,
    where the GPO link? Did link to user OU? Any update, please feel free to let us know.
    Hope this helps.
    Best regards,
    Justin Gu

  • 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]

  • Windows can't create a network map/appearance of B...

    Hi
    I have had BT infinity for somewhat over a month now without any problems, until yesterday. That I am aware of two things have changed but in what order they changed I do not know.
    'Firstly' I connected a brand new but several years old i.e. unused, LG 1T network drive and tried to get through the software installation process without success (can't create acceptable login details ). However I could see etc. the drive if I typed its network address into a browser's address window. BUT at that point the Windows network map started breaking. That was yesterday and I have, for the moment, removed the drive and deleted its info from the Homehub 5b.
    Today I noticed that two new wireless networks have appeared, BTWifi-X and BTWifi-with-Fon. These appear and disappear as and when my homehub is switched on and off and, given what I have read, I assume these are the hotspot networks I am providing.
    If I have my laptop connected to the homehub via LAN, Windows can create a network map providing no other computer is connected via WAN. Conversely when any computer is simultaneously connected to the homehub via WAN Windows loses the ability to create a network map, this includes the situation where one computer is connected via WAN and LAN. I often use my employer's WAN when at work and frequently forget to switch the WAN off, meaning that when I come home the laptop is initially often connected via WAN and LAN. That I am aware of, Windows has not previously had a problem creating a network map when this has happened.
    There does not seem to be a problem if my phone (android) is connected to the homehub via WAN or if I have two computers connected to the homehub via only WAN nor if two computers are connected to the home hub via only LAN
    One other thing I have also noticed is that the network map, when created, seems to contain, at times, a switch, a hub, Homehub5 and BThub5**** as if there a multitude of connectors.
    I would like to get back the ability for windows to create network maps whatever connections are made.
    Any suggestions?
    Thanks

    Claybourne wrote:
    Hi
    I have had BT infinity for somewhat over a month now without any problems, until yesterday.
    That I am aware of two things have changed but in what order they changed I do not know.
    'Firstly' I connected a brand new but several years old i.e. unused, LG 1T network drive and tried to get through the software installation process without success (can't create acceptable login details ). However I could see etc. the drive if I typed its network address into a browser's address window. BUT at that point the Windows network map started breaking. That was yesterday and I have, for the moment, removed the drive and deleted its info from the Homehub 5b.
    Today I noticed that two new wireless networks have appeared, BTWifi-X and BTWifi-with-Fon. These appear and disappear as and when my homehub is switched on and off and, given what I have read, I assume these are the hotspot networks I am providing.
    If I have my laptop connected to the homehub via LAN, Windows can create a network map providing no other computer is connected via WAN. Conversely when any computer is simultaneously connected to the homehub via WAN Windows loses the ability to create a network map, this includes the situation where one computer is connected via WAN and LAN.
    I often use my employer's WAN when at work and frequently forget to switch the WAN off, meaning that when I come home the laptop is initially often connected via WAN and LAN. That I am aware of, Windows has not previously had a problem creating a network map when this has happened.
    There does not seem to be a problem if my phone (android) is connected to the homehub via WAN or if I have two computers connected to the homehub via only WAN nor if two computers are connected to the home hub via only LAN
    One other thing I have also noticed is that the network map, when created, seems to contain, at times, a switch, a hub, Homehub5 and BThub5**** as if there a multitude of connectors.
    I would like to get back the ability for windows to create network maps whatever connections are made.
    Any suggestions?
    Thanks
    You seem to be using WAN to mean a Wireless connection when it means something else. Is this correct.
    Your HH 5 B should provide a better network map than windows. Do you know how to log into your Home Hub Manager to get this and other information ?
    Have you set up your HH 5 B as recommended in this forum ?

  • Adapter Status Error :  Error in creating message ID map for JMS message:

    Currently in the SAP XI 3.0 JMS Adapter, I am receiving the following error
    Error in creating message ID map for JMS message:
    ie. Error while processing message 'de8265f6-c864-4479-1137-9bab17b78b3b';  detailed error description: com.sap.aii.adapter.jms.api.channel.filter.MessageFilterException: Error in creating message ID map for JMS message: ID:c3e2d840d8d4d7f14040404040404040c44f8e2213630b01 at com.sap.aii.adapter.jms.core.channel.filter.InboundDuplicateCheckFilter.filter(InboundDuplicateCheckFilter.java:103)
    Although I am receivng this error, when I check the details of the message processing, all steps are successful and the message is set to status : DLVD
    Audit Log for Message: de8265f6-c864-4479-1137-9bab17b78b3b
    Time Stamp     Status     Description
    09.06.2009 13:27:24     Success     New JMS message with JMS message ID ID:c3e2d840d8d4d7f14040404040404040c44f8e2213630b01 received. The XI message ID for this message is de8265f6-c864-4479-1137-9bab17b78b3b
    09.06.2009 13:27:24     Success     JMS message converted to XI message format successfully
    09.06.2009 13:27:24     Success     RRB: entering RequestResponseBean
    09.06.2009 13:27:24     Success     RRB: suspending the transaction
    09.06.2009 13:27:24     Success     RRB: passing through ...
    09.06.2009 13:27:24     Success     RRB: leaving RequestResponseBean
    09.06.2009 13:27:24     Success     Transform: using Transform.Class: com.sap.aii.messaging.adapter.Conversion
    09.06.2009 13:27:24     Success     Transform: transforming the payload ...
    09.06.2009 13:27:24     Success     Transform: successfully transformed
    09.06.2009 13:27:24     Success     Application attempting to send an XI message synchronously using connection JMS_http://sap.com/xi/XI/System.
    09.06.2009 13:27:24     Success     Trying to put the message into the call queue.
    09.06.2009 13:27:24     Success     Message successfully put into the queue.
    09.06.2009 13:27:24     Success     The message was successfully retrieved from the call queue.
    09.06.2009 13:27:24     Success     The message status set to DLNG.
    09.06.2009 13:27:25     Success     The application sent the message synchronously using connection JMS_http://sap.com/xi/XI/System. Returning to application.
    09.06.2009 13:27:25     Success     The message was successfully transmitted to endpoint http://sapxia.swets.nl:8000/sap/xi/engine?type=entry using connection JMS_http://sap.com/xi/XI/System.
    09.06.2009 13:27:25     Success     The message status set to DLVD.
    Not sure why this is occurring.......

    No, not using correlation id.
    I was able to resolve the issue on this queue by changing the following setting
    Under the PROCESSING tab, under XI SETTINGS
    Time period for Duplicate Check for EO(IO) (secs) it was set to 86400
    I have changed this to 300 seconds and the adapter has now gone green.
    BUT......
    That said, I have the exact scenario on another sender JMS channel set to 300 seconds and it exhibits the same issue.
    correlation settings:
    Set XI message id  to  = GUID
    Set Xi conversation

  • Reuse of Map.Entry

    Hi,
    I'm writing some Map implementations and warppers and i have specific question.
    Is Map.Entry reusable after calling next iterator.next().
    Questionable code. Is this valid.
    Map.Entry first = null;
    for( Iterator i = myMap.entrySet().iterator()) {
      Map.Entry entry1 = (Map.Entry)i.next();
      if( first == null) first = entry1;
      // do something with entry
    // do something with first entry <<<<Does do something with "first" is valid operation,
    or entrySet can return the same object for each entry but with
    some different internal data.
    This is performance question, since in my Map implementation there is
    nothing similar to Map.Entry, so I must create new instance
    of wrapper for each iteration.
    I'd like to return always one instance (shared amont Iterator returned by Map.entrySet().iterator()) pointing to different "real" data.
    Thanks.

    This and many more examples, esp. with wrappers or
    or so called "views" shows weaknes of java.util contracts.I think it should be written in documentation of Map interface.It can be found in the javadocs for the Map.Entry interface:
    A map entry (key-value pair). The Map.entrySet method returns a collection-view
    of the map, whose elements are of this class. The only way to obtain a reference
    to a map entry is from the iterator of this collection-view. These Map.Entry objects
    are valid only for the duration of the iteration; more formally, the behavior of a
    map entry is undefined if the backing map has been modified after the entry was
    returned by the iterator, except through the iterator's own remove operation, or
    through the setValue operation on a map entry returned by the iterator.
    kind regards,
    Jos

  • Active Directory Integration and Drive mapping

    We currently have a lab with 20 Mac Pro machines, and an Xserve.. all running 10.5+. We are looking at integrating the existing users, through AD, into the Xserve. We have been able to do simple authentication and drive mapping to the windows share easily enough. However what we would like to be able to do is mount a share from the Xserve for only the Macs for the students that will be in there, while keeping the Home directory from AD intact and still being mounted.
    Is that possible or I am going outside of what I am able to do?
    Thank you

    If I understand what you are asking, then you will need to bind the Xserve to AD, then promote it to an OD master. This will allow you to manage the AD groups without schema modification to AD, basically allowing the storage of Apple MCX attributes. You can then create a group in OD and add the AD group to it. Then, manage the OD group and set login preferences to automount a share. Check the box to allow unique user credentials to be sent. Since you are in a Kerberos/Single sign on environment, you will be able to pull this off very easily.
    During the workstation bind, make sure the UNC home path option is select and that you are choosing the correct protocol (SMB or AFP). That will allow the AD defined windows home folder to mount. Then follow the OD MCX stuff above to handle the mount of the share. You might also want to look into augmented records if you need to get management to the user level. I've had no need for this yet so I've not used it. Manage by nest AD group has always been enough because everyone gets the same stuff.
    Hope this helps

  • Cannot add journal entries programmatically

    Hi everyone
    I'm not able to insert Journal entries in the database.
    I'm using SAP Business One DI API Version 2007 and a copy of the database SBODemoUS. The code I'm using is inspired by the example in the SDK Help.
    I'm trying to add journal entries to the company database. When I execute the code, I get a System Message:
    [JDT1.Account][line:1],'Tax account has not been defined for the selected tax code', even though I'm not using a tax code. But when I assign a value to the property .TaxCode, I get a System Message: You can edit VAT fields only in Automatic VAT mode [JDT1.TaxCode][line: 1].
    I'm able to create journal entries manually in SAP B1 using the same information that I'm using in my code. But I cannot create journal entries programmatically.
    Here is the code that I'm using:
       Private Sub ImportJournalEntry()
          Dim rt As Long
          Dim errCode As Long
          Dim errMsg As String
          oCompany.Server = "PERSONNE-6D3DBE"
          oCompany.CompanyDB = "MYSBODEMO"
          oCompany.UserName = "manager"
          oCompany.Password = "manager"
          oCompany.language = 3
          oCompany.UseTrusted = False
          oCompany.DbServerType = BoDataServerTypes.dst_MSSQL2005
          oCompany.DbPassword = "sapwd"
          oCompany.DbUserName = "sa"
          rt = oCompany.Connect()
          If rt <> 0 Then
             oCompany.GetLastError(errCode, errMsg)
          Else
             Dim entries As SAPbobsCOM.JournalEntries =               DirectCast(Me.oCompany.GetBusinessObject(BoObjectTypes.oJournalEntries), JournalEntries)
             Dim str2 As String
             Try
                entries.TaxDate = DateTime.Now.ToShortDateString
                entries.StornoDate = DateTime.Now.ToShortDateString
                entries.ReferenceDate = DateTime.Now.ToShortDateString
                'First line
                'entries.Lines.TaxCode = "CA"
                entries.Lines.AccountCode = "112200000100101"
                entries.Lines.ShortName = "Cash at Bank "
                entries.Lines.Debit = 0
                entries.Lines.Credit = 125
                entries.Lines.Add() 'Add
                'Second line
             'entries.Lines.TaxCode = "CA"
                entries.Lines.AccountCode = "611000000100101"
                entries.Lines.ShortName = "Travel Expense"
                entries.Lines.Debit = 125
                entries.Lines.Credit = 0
                entries.Lines.Add() 'Add
                If entries.Add <> 0 Then
                   Dim num As Integer
                   Me.oCompany.GetLastError(num, str2)
                   SBO_Application.MessageBox(str2)
                Else
                   SBO_Application.MessageBox("Import was successful!")
                End If
                oCompany.Disconnect()
             Catch exception1 As Exception
                SBO_Application.MessageBox(exception1.Message.ToString & _
                      "   Source = " & exception1.Source.ToString & _
                      "    TargetSite = " & exception1.TargetSite.ToString & _
                      "    StackTrace = " & exception1.StackTrace.ToString)
                oCompany.Disconnect()
             End Try
          End If
       End Sub
    Thanks for any help

    Hello Vitor
    Thanks, I got the code to work. You were right about debit or credit, not both. I also removed the tax code.
    But the main reason I think it didn't work is because the account code I was using was incorrect. Since the company is using segmentation for their account code, we are suppose to use the account key, not the account code. In order to get the account key I found this function:
    Private Function GetAccountKey(ByVal v_sAccountCode As String) As String
          Dim oSBObob As SAPbobsCOM.SBObob
          Dim oRecordSet As SAPbobsCOM.Recordset
          Dim oChartOfAccounts As SAPbobsCOM.ChartOfAccounts
          Dim sStr As String
          '// Get an initialized SBObob object
          oSBObob = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoBridge)
          '// Get an initialized Recordset object
          oRecordSet = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
          '// Get an initialized oChartOfAccounts object
          oChartOfAccounts = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oChartOfAccounts)
          '// Execute the SBObob GetObjectKeyBySingleValue method
          oRecordSet = oSBObob.GetObjectKeyBySingleValue(SAPbobsCOM.BoObjectTypes.oChartOfAccounts, "FormatCode", v_sAccountCode, SAPbobsCOM.BoQueryConditions.bqc_Equal)
          sStr = oRecordSet.Fields.Item(0).Value
          GetAccountKey = sStr
       End Function
    So the final code looks like this. Although I don't pretend to have perfect code, I'm able to add journal entries.
    Private Sub ImportTitan2()
          Dim rt As Long
          Dim errCode As Long
          Dim errMsg As String
          Dim sAccountKey As String
          oCompany.Server = "PERSONNE-6D3DBE"
          oCompany.CompanyDB = "MYSBODEMO"
          oCompany.UserName = "manager"
          oCompany.Password = "manager"
          oCompany.language = 3
          oCompany.UseTrusted = False
          oCompany.DbServerType = BoDataServerTypes.dst_MSSQL2005
          oCompany.DbPassword = "sapwd"
          oCompany.DbUserName = "sa"
          rt = oCompany.Connect()
          If rt <> 0 Then
             oCompany.GetLastError(errCode, errMsg)
          Else
             Dim entries As SAPbobsCOM.JournalEntries = DirectCast(Me.oCompany.GetBusinessObject(BoObjectTypes.oJournalEntries), JournalEntries)
             Dim str2 As String
             Try
                entries.TaxDate = DateTime.Now.ToShortDateString
                entries.StornoDate = DateTime.Now.ToShortDateString
                entries.ReferenceDate = DateTime.Now.ToShortDateString
                'First line
                entries.Lines.SetCurrentLine(0)
                sAccountKey = GetAccountKey("112200000100101")
                entries.Lines.AccountCode = sAccountKey    'Account code
                entries.Lines.ShortName = sAccountKey
                entries.Lines.Credit = 300
                entries.Lines.Add() 'Add
                'Second line
                entries.Lines.SetCurrentLine(1)
                sAccountKey = GetAccountKey("611000000100101")
                entries.Lines.AccountCode = sAccountKey   'Account code
                entries.Lines.ShortName = sAccountKey
                entries.Lines.Debit = 300
                entries.Lines.Add() 'Add
                If entries.Add <> 0 Then
                   Dim num As Integer
                   Me.oCompany.GetLastError(num, str2)
                   SBO_Application.MessageBox(str2)
                Else
                   SBO_Application.MessageBox("Import was successful!")
                End If
                oCompany.Disconnect()
             Catch exception1 As Exception
                SBO_Application.MessageBox(exception1.Message.ToString & _
                      "   Source = " & exception1.Source.ToString & _
                      "    TargetSite = " & exception1.TargetSite.ToString & _
                      "    StackTrace = " & exception1.StackTrace.ToString)
                oCompany.Disconnect()
             End Try
          End If
       End Sub
    Thank you for your help. You put me in the right direction.

  • Network Drive Mapping for users who have Port 445 (possibly others) Blocked by their ISP to a Server 2008 system

    Nice to see my original posts are still up.  I was hoping that in the ensuing time someone had found a solution.  At least I can now see many other posting the same problems.  :)  Thought I was losing it for a while.
    We have 100% proven that the problem (in our case) is from the ISP blocking port 445 (possibly others but 445 for SURE) with the reasoning that it prevents the spread of some Internet "worms".  It also just happens to prevent people who work
    from home from being able to map to their network drives at work.
    What I was hoping was that eventually someone would comer up with a solution for this short of having to load a server using a different OS from Windows.  The SMB protocol is the one needing port 445 as far as I can tell.  Not all ISP block
    port 445 and the laptops that use those ISP's  have no problem.  Unless they travel.  Then it is "hit or miss" as to whether the ISP for the Hotel they stay at blocks it.
    I have run multiple tests to prove that this was in FACT the problem.  Even the particular ISP in question which is a very large national ISP company freely admits they do this supposedly to prevent the spread of an unnamed Internet Worm.  It also
    happens to prevent Business use of their Internet by Home Subscribers at they cannot map to their Business Servers which also need port 445 to map.
    I have used WebDAV successfully to get around this but at a huge loss of speed and performance.  Cloud services all do essentially the same thing and all have pretty much the same loss of speed.
    If anyone has come across a method of allowing a drive mapping to be rerouted to any other port, that is the only hope I have short of changing to an alternate OS for the Office Server and even then I cant be sure until I try if it would help.  I read
    somewhere about the possibility of routing through a proxy but again, the problem would still be that the requests for mapping are expected on port 445 on the server and they will not get through even to the proxy since the originating ISP is the one blocking
    the port from the User's system. 
    Any help or suggestions would be greatly appreciated  I have posted this question now for several years with no one yet providing a working solution.  Hope burns Eternal though :)

    Yes, OwnCloud is an option as well as many others.  Even self hosted Cloud services such as the WD MyCloud all work.  The problem is speed.  JungleDisk is the best I have found so far.  I am not sure exactly what they use to allow the
    drive mapping but it seems to work faster that anything else I have found.
    VPN's don't work.  At least none of them I have tried.   I can connect a VPN with no problem.  But still cannot map a drive over it.   Actually, there are some issues with the VPN as well but these are just a matter of methodology. 
    Mapping to the FQDN works for some people while others require the public IP.  Some users on some ISP's can map using the FQDN, others have to map to the IP.  That in itself was a bit odd.
    I have tried every trick I could find including adding  the IP and/or FQDN to the Windows Hosts file on the server as well as on the client systems.  This actually did help to get the VPN to connect in some cases.  However, it still would
    not allow me to map a drive letter.
    I can create a Network Place,  This also works.  But it will not allow me to MAP that "network place" to a drive letter.  I have tried multiple utilities that allow mapping of Drive letters to almost anything but they wont work to map to a
    Network Place.
    The software that needs the mapped drive is a SQL database which runs on port 2004.  The program itself has no problems at all connecting to the server to run the database.  Even on systems which cannot map to the needed drive letter for the documents
    referred to in the database.    Users can run it and look up all kinds of material but it it is only a half-solution since the database refers to files stored in a "common-mapped" drive letter.  Which I cannot Map.
    I have tried every possible configuration of the VPN setup I could find, I have even tried a "Test System" with the NIC connected directly to the T1 Modem.  With all firewalls off and no AV software.  Even if that had worked,  there is no
    way I could run like that.  But it didn't.  Same issues.  All this did was put the blame squarely on the User's ISP which was the only reason I did it.  I had to rule out even the slightest chance that it was something in our equipment.
    This was already almost a certain fact since the same user could take their laptop to a WiFi Hotspot at a fast food restaurant and connect as well as map the drive.  As soon as they went back home, no drive.  On the ones I could convince to pay
    the extra charges, if they switched to a business connection from their ISP, No Problems.
    On most MiFi or other Cellular Internet devices, No Problem,  Although that had a habit of changing.  We had a few that worked for a while, then they got a software update for their MiFi which immediately blocked the ability to map.  Others
    it would be that some models of Cellular HotSpot units worked while other would not work even if both came from the same carrier.
    Coincidentally, we had none of these problems before two other events occurred: 
    One was the release of Server 2008 R2, (which was a kid of "surprise" change for all of us used to Server 2008 R1.  Welcomed changes, but not expected with a simple SP release. 
    The other was IPV6 finally became a reality:  June of 2012.
    This left us with much head scratching as to what was the real cause of the problem.  It took months to narrow it down to port blocking by the Outside ISP's with a 100% certainty.  Even tried reloading a system with Server 2008 R1 just to rule
    that out.  As well as disabling IPV6 on every network device.  The problem stayed with the User when Outside and which ISP they were connected to.
    Currently we are using a mix of normal VPNs for those who can run them, and CLOUD access for those who can't.  Even this is problematic since we have to keep both the local copy and the cloud copy in constant sync so that everyone sees the same versions
    of the same files on each one.
    Sorry to make this so long but I wanted to cover everything to show that we tried it all.  The only thing left short of getting the ISP's to remove the port blocks would be to find a way to route the SMB file requests around port 445 in some way. 
    I have been told that this is easy enough if using a file system other than Windows but that is not an option even if true. 
    Thanks for the updates and ideas.  I keep hoping that eventually there will be some secure method for mapping a drive letter that does not depend on having port 445.

Maybe you are looking for