GPPMIG Path Error
-
Wednesday, July 29, 2009 8:55 PMWe are using policymaker 2.5 and I want to use gppmig. When I try to run the show command on a known policymaker policy I get this error:
Migrating Drives (user)
Error: Could not find a part of the path '\\<domaincontrollerABC>\SysVol\mydomain.com\Policies\{0FAF8AAB-C556-4A77-95CF-490A3CABFE38}\user\Preferences\Drives\Drives.xml'.
That path doesn't exist. The file is actually located here:
\\<domaincontrollerABC>\SysVol\mydomain.com\Policies\{0FAF8AAB-C556-4A77-95CF-490A3CABFE38}\User\PolicyMaker\Drives.xml
Seems odd that it's looking in the totally wrong area.
Thanks for the help. I really need to get these policies migrated ASAP.
rb- Edited by rbmadison Saturday, August 01, 2009 2:16 AM
All Replies
-
Thursday, July 30, 2009 6:00 AMModerator
Hi,
Current information is not enough, please help to collect some more information for research.
There is a complete guide of GPPMIG, please let us know in which step you encountered this error.
Migrating from PolicyMaker to Group Policy Preferences with GPPMIG
http://blogs.technet.com/askds/archive/2009/06/18/migrating-from-policymaker-to-group-policy-preferences-with-gppmig.aspxAlso, check if you have missed any steps above.
Thanks.
This posting is provided "AS IS" with no warranties, and confers no rights. -
Thursday, July 30, 2009 3:28 PMHI Mervyn,
I simply installed GPPMIG and ran gppmig -show -name:<gponame>. No other steps have been taken.
Thanks,
Rick
rb -
Friday, July 31, 2009 2:47 AMModerator
Hi Rick,
Please try to follow the above guide to test. If there is any error when running migrate or MigrateTo command, please let us know the detailed error message.
Thanks.
This posting is provided "AS IS" with no warranties, and confers no rights. -
Saturday, August 01, 2009 2:16 AMHi Mervyn,
I am following the guide exactly. I am at stage 1. Identifying PolicyMaker GPOs. I am running GPPMIG -show -name:<myGPO> to identify what GPOs have policymaker settings and get the error I posted in my first post. I get a smiliar error for every GPO I run the gppmig -show -name:.... command on. All of thes GPOs are doing policymaker drive mappings. It looks like it's just not looking in the right place for the drives.xml file.
The directory structure of a policymaker GPO is always:
USER SETTINGS
\\<domaincontrollerABC>\SysVol\mydomain.com\Policies\{0FAF8AAB-C556-4A77-95CF-490A3CABFE38}\User\PolicyMaker
COMPUTER SETTINGS
\\<domaincontrollerABC>\SysVol\mydomain.com\Policies\{0FAF8AAB-C556-4A77-95CF-490A3CABFE38}\Computerr\PolicyMaker
But gppmig is looking at this type of path which is wrong because it doesn't exist.
\\<domaincontrollerABC>\SysVol\mydomain.com\Policies\{0FAF8AAB-C556-4A77-95CF-490A3CABFE38}\user\Preferences\Drives\Drives.xml'
rb -
Monday, August 03, 2009 11:03 AMModerator
Hi,
Thank you for update.
However, I don’t have policymaker 2.5 currently and cannot test GPPMIG. I suggest you create a new GPO which contains policymaker policy settings. Try to run " GPPMIG –whatif" instead of "show" command.
Try to run "GPPMIG -migrate", "GPPMIG –migrateTo" evenif there is error above. What’s the result?
Thanks.
This posting is provided "AS IS" with no warranties, and confers no rights. -
Wednesday, August 05, 2009 2:58 AMModerator
Hi,
Do you need any other assistance? If there is anything we can do for you, please let us know.
Thanks.
This posting is provided "AS IS" with no warranties, and confers no rights. -
Friday, August 07, 2009 1:48 AMSorry for the delay. I tried running GPPMIG -migrate", "GPPMIG –migrateTo and I get the same error and it stops.
Error:Error: Could not find a part of the path '\\<domaincontrollerABC>\SysVol\mydomain.com\Policies\{0FAF8AAB-C556-4A77-95CF-490A3CABFE38}\user\Preferences\Drives\Drives.xml'.
It's got to be a path problem. I don't know why it's not looking under the policymaker folder where ALL policymaker policies reside. We are using policymaker 2.5 if that helps. I can also post a directory listing of a GPO which includes policymaker settings if taht would help.
Thanks for helping with this.
Rick
rb -
Monday, August 10, 2009 1:49 AMModerator
Hi,
As I have explained, I cannot test Policymaker 2.5 currently. Could you please test Policymaker 2.5 and GPPMIG on another system? Clean Test environment is better.
Thanks.
This posting is provided "AS IS" with no warranties, and confers no rights. -
Tuesday, August 11, 2009 3:14 PMHi Mervyn,
I really appreciate all your help. As for a testing, I have tested running GPPMIG on numerous PCs and servers and it gives me the same error. I have tried with various domain admin accounts also in case it was specific to one account. We don't have a test active directory infrastructure if that is what you were suggesting. I just think that this GPPMIG tool doesn't work with policymaker 2.5 even though they state it does.
Can anyone else reading this thread confirm if they have had GPPMIG work in a PolicyMaker 2.5 environment and succesfully converted your policies?
Thanks!
rb -
Tuesday, August 11, 2009 10:16 PMRB,
I am experiencing the same thing with 2.5 and GPPMIG. I am about to make a very risky move. I am making a copy of my entire SYSVOL, I am then moving the xml files out of the PolicyMaker folder and into the Preferences\<CATEGORY>\<CATEGORY>.xml and then trying a -Whatif and -Migrate. I will let you know if it works. If it does not, I am going to be printing the XML files out and then migrating them by hand...PITA.
LB
Update: No joy. Moving the files around to the location that the GPPMIG seems to look for does not end up making the utility work. If I place a Groups.xml from PolicyMaker into the Preferences\Groups\Groups.xml, I receive "The file already exists." and if I remove it then I receive "Could not find file". I was so hoping that moving the existing XML files around would result in the ability to use the migration tool. Now I'm going to be sitting here reading each PolicyMaker XML and replicating it manually into a Windows 2008 GPO. Sorry if I got anyone's hopes up.- Edited by Sir Black Tuesday, August 11, 2009 10:32 PM Update
-
Friday, August 14, 2009 1:34 AMModerator
Hi,
Please try to add "-loglevel:7 " to the end of the command line, a log file would be created in the current working directory. Please send the log file directly to tfwst@microsoft.com for research.
Thanks.
This posting is provided "AS IS" with no warranties, and confers no rights. -
Wednesday, August 19, 2009 12:33 PM
Hello guys,
I have experienced similar problems with the tool. I also get the "path error" when I run with the -whatif switch. When I run with the -migrate switch it seems to do its job, but I couldn’t get the drive and printer mappings to work in the new GPOs. I examined the drive.xml file produced by gppmig and it doesn't seem to be correct, t he formatting looks weird. Is this something that you can verify?
I also tried the -loglevel:7 switch, but couldn't find the logfile.
We are running PolicyMaker 2.5
Thanks,
-
Thursday, August 20, 2009 3:01 PMGPPMIG only works with the purchased version of PolicyMaker 2.5. You can direct questions to gppmsup@microsoft.com. You should include a debug log file. You create the log file by adding -loglevel:7 to the end of the command line. The log file is created in the current working directory.
Mike Stephens
This posting is provided "AS IS" with no warranties, and confers no rights. -
Thursday, August 20, 2009 6:53 PMIt seems the Migrateto works but with issues. If you have multiple drive mappings in a policymaker GPO it randomly only migrates one drive mapping. What is weird is that if you look at the new XML file in the new GPO it does list all the old drive mappings that were in the old policymaker GPO. This utility seems half-baked I think or I must be missing something.
Rick
rb -
Thursday, August 20, 2009 7:20 PMHello Rick,
This is the first I have heard of the issue. As the developer of GPPMIG, I can assure you it was not half-baked. But, I can understand your frustration. I've personally tested multiple drive mappings along with previously included filters with success. Others have successfully migrated similar configurations. I'll be glad to help with any scenario; however, I'll still need the debug logs to determine if there is a problem with GPPMIG, or the data. You can email the scenario and the debug logs to gppmsup@microsoft.com and they will be reviewed.
Thanks
Mike Stephens -
Thursday, August 20, 2009 7:20 PM
Hello tadara
The log fie is located in the current working directory. This is typically the directory in which you started GPPMIG.
Mike Stephens -
Friday, August 21, 2009 1:29 PM
Hi Mike,
My apologies if I sounded harsh. I've been dealing with policymaker problems for a long time and was hoping this was a solution that I could use to move away easily. I understand there are always issues and shouldn't have been so harsh.
I have tried these commands without any luck in creating a log file. It does seem to convert a single drive map from the old policymaker GPO but not all of them.
gppmig -migrateto -source:oldgpo "-target:newgpo" -loglevel:7 = This converts a single mapping from the multiple mappings in oldgpo but no log.
gppmig -migrateto -source:oldgpo "-target:newgpo" "-loglevel:7" = Same as above.
gppmig -show -name:oldgpo -loglevel:7 = Error described above with no log.
Below are the drive.XML files from the oldgpo and the new GPO in case this may help. As you can see in the new drives.xml the drive mappings are there but if you look at the GPO using GPMC there is only 1 drive map showing.
oldgpo drives.xml
--------
<?xml version="1.0" encoding="utf-8"?>
<Drives clsid="{AF8D104F-7B07-4dd1-AB63-DDAD56F82813}"><Drive clsid="{935D1B74-9CB8-4e3c-9914-7DD559B7A417}" name="S:" status="S:" image="2" changed="2007-04-06 16:34:49" uid="{E0F96BFA-C8CC-4060-98CA-705548A15F69}" bypassErrors="1"><Properties action="U" thisDrive="NOCHANGE" allDrives="NOCHANGE" userName="" cpassword="" path="\\pcwms11\INSshare$" label="INSshare on PCWMS11" persistent="1" useLetter="1" letter="S"/><Filters><FilterGroup not="0" bool="AND" userContext="1" primaryGroup="0" name="MERITER\O-INS" sid="S-1-5-21-823518204-789336058-682003330-2119" localGroup="0"/></Filters></Drive>
<Drive clsid="{935D1B74-9CB8-4e3c-9914-7DD559B7A417}" name="H:" status="H:" image="1" changed="2008-05-23 22:23:08" uid="{6A9824FA-D59E-47C3-9231-53D354AE1C4E}" description="Maps H: to \\MCWMS01\IMAGE for members of the MAP-H-IMAGE group." bypassErrors="1"><Properties action="R" thisDrive="NOCHANGE" allDrives="NOCHANGE" userName="" cpassword="" path="\\MCWMS01\IMAGE" label="IMAGE on MCWMS01" persistent="1" useLetter="1" letter="H"/><Filters><FilterGroup not="0" bool="AND" userContext="1" primaryGroup="0" name="MERITER\MAP-H-IMAGE" sid="S-1-5-21-823518204-789336058-682003330-24663" localGroup="0"/></Filters></Drive>
<Drive clsid="{935D1B74-9CB8-4e3c-9914-7DD559B7A417}" name="M:" status="M:" image="1" changed="2007-04-06 16:35:11" uid="{DDB2897F-9401-45E6-8417-56C25AEAEE26}" description="Map drive M: based on membership in O-INS group" bypassErrors="1"><Properties action="R" thisDrive="NOCHANGE" allDrives="NOCHANGE" userName="" cpassword="" path="\\pcwms11\insuser$\%LogonUser%" label="%LogonUser% on \\PCWMS11\INSuser$" persistent="1" useLetter="1" letter="M"/><Filters><FilterGroup not="0" bool="AND" userContext="1" primaryGroup="0" name="MERITER\O-INS" sid="S-1-5-21-823518204-789336058-682003330-2119" localGroup="0"/></Filters></Drive>
<Drive clsid="{935D1B74-9CB8-4e3c-9914-7DD559B7A417}" name="Q:" status="Q:" image="1" changed="2006-11-14 12:22:26" uid="{C4715F5C-003D-46D6-B7CC-AE2D5B8379D7}" description="2006-11-09 changed drive mapping to \\pcwep01\reports
11/6/2006 changed drive mapping to \\pcwep05\reportsGrants access to \\PCWEP02\CLARITY share point and read rights to the data directory for troubleshooting purposes." bypassErrors="1"><Properties action="R" thisDrive="NOCHANGE" allDrives="NOCHANGE" userName="" cpassword="" path="\\PCWEP01\REPORTS" label="Reports on PCWEP01" persistent="1" useLetter="1" letter="Q"/><Filters><FilterGroup not="0" bool="AND" userContext="1" primaryGroup="0" name="MERITER\Epic-Clarity Report" sid="S-1-5-21-823518204-789336058-682003330-16627" localGroup="0"/></Filters></Drive>
<Drive clsid="{935D1B74-9CB8-4e3c-9914-7DD559B7A417}" name="I:" status="I:" image="1" changed="2008-04-11 20:58:55" uid="{A51F40C7-F1AB-458E-A333-0DABF0338668}" description="2008-04-11 created drive mappping to \\pcwms25\apcFilter is based on membership of A-Apc_Grouper group
Grants access to \\PCWMS25\APC with R/W rights.
" bypassErrors="1"><Properties action="R" thisDrive="NOCHANGE" allDrives="NOCHANGE" userName="" cpassword="" path="\\pcwms25\apc" label="APC on PCWMS25" persistent="1" useLetter="1" letter="I"/><Filters><FilterGroup not="0" bool="AND" userContext="1" primaryGroup="0" name="MERITER\A-Apc_Grouper" sid="S-1-5-21-823518204-789336058-682003330-11639" localGroup="0"/></Filters></Drive>
<Drive clsid="{935D1B74-9CB8-4e3c-9914-7DD559B7A417}" name="T:" status="T:" image="1" changed="2008-05-08 20:12:42" uid="{884341C6-B76C-4569-8BFD-F87FEE6395A2}" description="Maps T:\ to FINSHARE$ if member of map-t-finshare" bypassErrors="1"><Properties action="R" thisDrive="NOCHANGE" allDrives="NOCHANGE" userName="" cpassword="" path="\\pcwms20\finshare$" label="finshare on PCWMS20" persistent="1" useLetter="1" letter="T"/><Filters><FilterGroup not="0" bool="AND" userContext="1" primaryGroup="0" name="MERITER\MAP-T-FINshare" sid="S-1-5-21-823518204-789336058-682003330-23580" localGroup="0"/></Filters></Drive>
</Drives>
newgpo drives.xml
------------------------
<?xml version="1.0" encoding="utf-8"?>
<Drives clsid="{8FDDCC1A-0C3C-43cd-A6B4-71A6DF20DA8C}"><Drive clsid="{935D1B74-9CB8-4e3c-9914-7DD559B7A417}" name="S:" status="S:" image="2" changed="2007-04-06 16:34:49" uid="{E0F96BFA-C8CC-4060-98CA-705548A15F69}" bypassErrors="1"><Properties action="U" thisDrive="NOCHANGE" allDrives="NOCHANGE" path="\\pcwms11\INSshare$" label="INSshare on PCWMS11" persistent="1" useLetter="1" letter="S" /><Filters><FilterGroup not="0" bool="AND" userContext="1" primaryGroup="0" name="MERITER\O-INS" sid="S-1-5-21-823518204-789336058-682003330-2119" localGroup="0"><FilterGroup /></FilterGroup>
<Drive clsid="{935D1B74-9CB8-4e3c-9914-7DD559B7A417}" name="H:" status="H:" image="1" changed="2008-05-23 22:23:08" uid="{6A9824FA-D59E-47C3-9231-53D354AE1C4E}" description="Maps H: to \\MCWMS01\IMAGE for members of the MAP-H-IMAGE group." bypassErrors="1"><Properties action="R" thisDrive="NOCHANGE" allDrives="NOCHANGE" path="\\MCWMS01\IMAGE" label="IMAGE on MCWMS01" persistent="1" useLetter="1" letter="H" /><Filters><FilterGroup not="0" bool="AND" userContext="1" primaryGroup="0" name="MERITER\MAP-H-IMAGE" sid="S-1-5-21-823518204-789336058-682003330-24663" localGroup="0"><FilterGroup /></FilterGroup>
<Drive clsid="{935D1B74-9CB8-4e3c-9914-7DD559B7A417}" name="M:" status="M:" image="1" changed="2007-04-06 16:35:11" uid="{DDB2897F-9401-45E6-8417-56C25AEAEE26}" description="Map drive M: based on membership in O-INS group" bypassErrors="1"><Properties action="R" thisDrive="NOCHANGE" allDrives="NOCHANGE" path="\\pcwms11\insuser$\%LogonUser%" label="%LogonUser% on \\PCWMS11\INSuser$" persistent="1" useLetter="1" letter="M" /><Filters><FilterGroup not="0" bool="AND" userContext="1" primaryGroup="0" name="MERITER\O-INS" sid="S-1-5-21-823518204-789336058-682003330-2119" localGroup="0"><FilterGroup /></FilterGroup>
<Drive clsid="{935D1B74-9CB8-4e3c-9914-7DD559B7A417}" name="Q:" status="Q:" image="1" changed="2006-11-14 12:22:26" uid="{C4715F5C-003D-46D6-B7CC-AE2D5B8379D7}" description="2006-11-09 changed drive mapping to \\pcwep01\reports 11/6/2006 changed drive mapping to \\pcwep05\reports Grants access to \\PCWEP02\CLARITY share point and read rights to the data directory for troubleshooting purposes." bypassErrors="1"><Properties action="R" thisDrive="NOCHANGE" allDrives="NOCHANGE" path="\\PCWEP01\REPORTS" label="Reports on PCWEP01" persistent="1" useLetter="1" letter="Q" /><Filters><FilterGroup not="0" bool="AND" userContext="1" primaryGroup="0" name="MERITER\Epic-Clarity Report" sid="S-1-5-21-823518204-789336058-682003330-16627" localGroup="0"><FilterGroup /></FilterGroup>
<Drive clsid="{935D1B74-9CB8-4e3c-9914-7DD559B7A417}" name="I:" status="I:" image="1" changed="2008-04-11 20:58:55" uid="{A51F40C7-F1AB-458E-A333-0DABF0338668}" description="2008-04-11 created drive mappping to \\pcwms25\apc Filter is based on membership of A-Apc_Grouper group Grants access to \\PCWMS25\APC with R/W rights. " bypassErrors="1"><Properties action="R" thisDrive="NOCHANGE" allDrives="NOCHANGE" path="\\pcwms25\apc" label="APC on PCWMS25" persistent="1" useLetter="1" letter="I" /><Filters><FilterGroup not="0" bool="AND" userContext="1" primaryGroup="0" name="MERITER\A-Apc_Grouper" sid="S-1-5-21-823518204-789336058-682003330-11639" localGroup="0"><FilterGroup /></FilterGroup>
<Drive clsid="{935D1B74-9CB8-4e3c-9914-7DD559B7A417}" name="T:" status="T:" image="1" changed="2008-05-08 20:12:42" uid="{884341C6-B76C-4569-8BFD-F87FEE6395A2}" description="Maps T:\ to FINSHARE$ if member of map-t-finshare" bypassErrors="1"><Properties action="R" thisDrive="NOCHANGE" allDrives="NOCHANGE" path="\\pcwms20\finshare$" label="finshare on PCWMS20" persistent="1" useLetter="1" letter="T" /><Filters><FilterGroup not="0" bool="AND" userContext="1" primaryGroup="0" name="MERITER\MAP-T-FINshare" sid="S-1-5-21-823518204-789336058-682003330-23580" localGroup="0"><FilterGroup /></FilterGroup>
</Filters>
</Drive></Filters></Drive></Filters></Drive></Filters></Drive></Filters></Drive></Filters></Drive></Drives>
Let me know if you need anything else.
Thanks!
rb -
Monday, August 31, 2009 12:39 PM
Hello Rick,
Sorry for the delay. Thank you for providing the before and after XML files. I'll take a look at these the beginning of this week. I've received similar files from others and I the problem identified shortly. GPPMIG creates a migration log named gppmigration.txt in folder where GPPMIG was started. GPPMIG creates another log file when the loglevel is increased named gppmigdebug.txt in this same folder. These files are not hidden, so you should be able to search for them. I complete understand your frustration. GPPMIG was tested for several months, but we couldn’t have possibly covered ever scenario. I’ll identify the problem and see what I can do to resolve it.
Mike Stephens
-
Monday, August 31, 2009 12:54 PMHi Sir Black,
I've had RB and others provide some examples. I believe I understrand how this error is created. I'm looking into the best way to resolve it. Monitor this thread. I hope to have a solution to the problem by the end of this week.
Mike Stephens -
Tuesday, September 15, 2009 7:33 PMhi Mike,
Did you ever get this fixed?
Thanks,
RB
rb -
Thursday, September 17, 2009 1:26 AMFor anyone that is interested I wrote a poweshell script that will seek out and policymaker drive mapping GPOs and create a corresponding 2008 GPO. If anyone is interested let me know and I will post it.
Thanks,
RB
rb -
Friday, September 18, 2009 12:25 AMHello Rb,
I’ve isolated the issue to a deficiency in the current version of GPPMIG. I’ve produce a fix for this issue and the testing thus far looks positive. If all goes well, anyone experiencing the problem can request the updated version using the support alias in the readme by the end of next week. The newer version also should address the path issue discovered when using the whatif command.
Mike Stephens -
Wednesday, October 14, 2009 8:28 AMHello Mike,
Any news about the updated build? Is it requestable now?
Thanks -
Tuesday, October 27, 2009 4:33 PMHello Mike, I have been following this thread also and was hoping to see some more information. I am also seeing the "path error" and would like to receive a fix. It would be nice to hear some new information.
Thank you.
-
Wednesday, February 10, 2010 3:39 PMI would love a copy of this!
-
Monday, April 19, 2010 6:45 PM
Hello Rb,
I’ve isolated the issue to a deficiency in the current version of GPPMIG. I’ve produce a fix for this issue and the testing thus far looks positive. If all goes well, anyone experiencing the problem can request the updated version using the support alias in the readme by the end of next week. The newer version also should address the path issue discovered when using the whatif command.
Mike Stephens
I would like to have access to this as well. We're having the path issue described here. It is a bit frusterating that after six months this is still not updated, but the 1.0 tool which does not work is published for download. -
Thursday, April 22, 2010 5:40 AMI need the updated version of GPPMIG as well.. how can i obtain it?
-
Monday, April 26, 2010 3:17 PM
Hey mate, would be much appreciate if you could help me out with this..
-
Tuesday, August 30, 2011 8:36 AMHi rb, I would be intersted by your script. Thank you. (I hope you will see this message 2 years later :-) )

