You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@vcl.apache.org by ar...@apache.org on 2013/05/21 16:21:11 UTC

svn commit: r1484816 - /vcl/trunk/managementnode/lib/VCL/Module/OS/Windows/Version_6.pm

Author: arkurth
Date: Tue May 21 14:21:11 2013
New Revision: 1484816

URL: http://svn.apache.org/r1484816
Log:
VCL-654
Sysprep fails to add devices under Windows 2008 R2 SP1.  Changed lines Unattend.xml to remove devices when image is captured.

Modified:
    vcl/trunk/managementnode/lib/VCL/Module/OS/Windows/Version_6.pm

Modified: vcl/trunk/managementnode/lib/VCL/Module/OS/Windows/Version_6.pm
URL: http://svn.apache.org/viewvc/vcl/trunk/managementnode/lib/VCL/Module/OS/Windows/Version_6.pm?rev=1484816&r1=1484815&r2=1484816&view=diff
==============================================================================
--- vcl/trunk/managementnode/lib/VCL/Module/OS/Windows/Version_6.pm (original)
+++ vcl/trunk/managementnode/lib/VCL/Module/OS/Windows/Version_6.pm Tue May 21 14:21:11 2013
@@ -1758,7 +1758,8 @@ sub run_sysprep {
 <unattend xmlns="urn:schemas-microsoft-com:unattend">
 	<settings pass="generalize">
 		<component name="Microsoft-Windows-PnpSysprep" processorArchitecture="$architecture" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
-			<PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
+			<PersistAllDeviceInstalls>false</PersistAllDeviceInstalls>
+			<DoNotCleanUpNonPresentDevices>false</DoNotCleanUpNonPresentDevices>
 		</component>
 		<component name="Microsoft-Windows-Security-SPP" processorArchitecture="$architecture" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
 			<SkipRearm>1</SkipRearm>