Jump to content


rlaplant

Migrated Network Printers Showing in Registry but Not on Machine ... ?!?!

Recommended Posts

Im getting hung up on writing the key to a different place .... it doesn't want to write at all.

 

Heres my printers.xml for that, but its just not writing it.

<?xml version="1.0" encoding="UTF-8"?>
<migration urlid="http://www.microsoft.com/migration/1.0/migxmlext/printers">
	<!-- This component migrates the printers and network drives -->
	<component type="System" context="UserAndSystem">
		<displayName>Printers</displayName>
		<role role="Settings">
			<rules context="System">
				<include>
					<objectSet>
						<pattern type="Registry">HKCU\Printers\Connections\* [*]</pattern>
					</objectSet>
				</include>
				<locationModify script="MigXmlHelper.RelativeMove('HKCU\Printers\Connections\', 'HKCU\Printers\OldConnections\')">
					<objectSet>
						<pattern type="Registry">HKCU\Printers\Connections\* [*]</pattern>
					</objectSet>
				</locationModify>
			</rules>
		</role>
	</component>
</migration>

Anyone see anything blaringly wrong with that?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.