ZileXa

Apply regtweaks (also HKCU) and install apps for ALL users

71 posts in this topic

So the command have you told, you must write in the file UnattendedOOBE.xml or Autonunattend.xml? because i have tried the sysprep at the first of my unattended but i had never got that HKCU are been applied to all the user and the future users also, then i have used the other method setupcomplete.cmd which it works perfectly. Neverthless i will try the method sysprep as i want to learn how it works.

      
<settings pass="specialize">
<component name="Microsoft-Windows-Shell-Setup">
<CopyProfile>true</CopyProfile>
</component>
</settings>

Edited by Major
0

Share this post


Link to post
Share on other sites

Hi SmokingRope, I have questions about it. Hope you can clarify the process for me.

I have 1 unattend.xml and I install my software via setupcomplete.cmd (because Office 2010 x64 and Paint.net cannot be installed earlier, they will fail).

If I understand your process correct, it should go like this:

1. Windows setup starts with AutoUnattend.xml. This file contains the settingspass OobeSystem + settingspass auditUser + settings pass Specialise lines from your post. Setup will boot into sysprep.

2. in sysprep, what happens now? Is input from the user required?

I think this is what I should do: add a command to auditUser that will run my regtweaks, install apps, cleanup startmenu. This command should run first, your auditUser command to generalize should run last.

Is this correct?

3. after your auditUser command has run, system will reboot again and continue normally using the 2nd xml file. this file does NOT contain your Oobesystem/audituser/specialise lines. Is this Correct?

4. I do not understand how your note about "changes to WIM" is related to the process. I am not changing WIM or anything. I just want to apply my regtweaks for all users.

0

Share this post


Link to post
Share on other sites

The order the passes run is something like:

1) windows PE

2) oobeSystem (reboot here)

3) specialize

4) audit user (reboot here - from last command)

5) oobeSystem again with UnattendedOOBE.xml

During auditUser the environment is setup, and programs can run just like they would after setup is finished. Input *could* be provided during auditUser pass but if you set up command-lines right then no input is necessary.

You just have to remove a few lines from UnattendedOOBE.xml (the reseal part) - process reboots from auditUser directly into OOBESystem step so it doesn't matter what you have in the other passes.


<Reseal>
<Mode>Audit</Mode>
</Reseal>

As for the note about the WIM, i can't say that it will affect you but it has caused a lot of headaches for me while doing this. I always slipstream hotfixes and put the applications i am installing in the WIM and if you don't rebuild the index (or whatever it's called, haven't done it recently) then during setup, sysPrep fails to load the UnattendedOOBE.xml and you end up having to click through the boxes in step #5 above and registry settings are not applied because *generalize* didn't take place. It takes an hour to get to this point inside a virtual machine so it's a pain to debug / test (I probably have wasted days on the issue). The actual solution was found serendipitously and the only thing i know is that it seems to work.

EDIT:

Rebuilding the WIM: it might be helpful to grab the error codes from the UnattendedGC.log / Panther.log files and put them in this thread somewhere for search engines to pickup. Will see about doing this if I have time.

Edited by SmokingRope
0

Share this post


Link to post
Share on other sites

The order the passes run is something like:

1) windows PE

2) oobeSystem (reboot here)

3) specialize

4) audit user (reboot here - from last command)

5) oobeSystem again with UnattendedOOBE.xml

where did you get that? I suggest you look at unattend.chm

depending on what you have added

post-9484-0-16722100-1302494166_thumb.pn

0

Share this post


Link to post
Share on other sites

why in the hell are you making a whole new disc every other WEEK?

what you need to do is put a folder called like Apps, inside your image, with the program installers, and use SetupComplete.CMD, to install the exe's

0

Share this post


Link to post
Share on other sites
sources\$OEM$\$$\SETUP\Scripts\Setupcomplete.cmd Setupcomplete.cmd runs right before Load Desktop and can be used to complete Final Steps. Commands in the Setupcomplete.cmd file are executed with local system privilege.

HKLM Reg tweaks can be ran here but not HKCU which are user specific.

Try running Windows Calendar(WinCal-Win7-amd64-en-us.exe) or WinPinball-en-us.exe in setupcomplete and they fail. Why? Because a user is not yet created. That run's right before Login screen. Why do I set login? To observe when things are actually happening I get a better picture.

I will try those in Firstlogoncommands next but that starts after you login and GUI is loading = User Created

0

Share this post


Link to post
Share on other sites

Actually, I just ran another test and I am asked to create a user before setupcomplete.cmd is executed. It is executed after creating a user account but before that user logs in.

Since I now finally have a stable stripped down Win7 x64 Ultimate image without WinSxS I am going to test SmokingRope's method :) Will report later.

Edited by ZileXa
0

Share this post


Link to post
Share on other sites

Completely edited this post because I understand it much better now!

1. AutoUnattend.xml will be used first by Windows Setup.

2. By using this command, Setup reboots into Sysprep mode and AutoUnattend.xml is still being used by setup after the reboot

(this was where you lost me, I thought UnattendOOBE.xml kicked in after this reboot, thats not the case):

	<settings pass="oobeSystem">
<component name="Microsoft-Windows-Deployment">
<Reseal>
<Mode>Audit</Mode>
</Reseal>
</component>
</settings>

3. Also, this code is needed to make sure everything that happens after the above mentioned reboot-into-sysprep will be copied to the defaultprofile:

  <settings pass="specialize">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />
<component name="Microsoft-Windows-Security-Licensing-SLC-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SkipAutoActivation>true</SkipAutoActivation>
</component>
<component name="Microsoft-Windows-Shell-Setup">
<CopyProfile>true</CopyProfile
</component>
</settings>

4. So Setup has rebooted and is in sysprep state. Setup will now look at settings pass auditUser and perform the commands there (Setup is still reading AutoUnattend.xml):

	<settings pass="auditUser">
<component name="Microsoft-Windows-Deployment">
<RunSynchronous>
<RunSynchronousCommand wcm:action="add">
<Order>490</Order>
<Path>cmd /c "FOR %i IN (C D E F G H I J K L N M O P Q R S T U V W X Y Z) DO IF EXIST %i:\UnattendedOOBE.xml SETX DVDRoot %i:"</Path>
<Description>Set Path For DVD</Description>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>495</Order>
<Description>Install apps and HKCU + HKLM regtweaks</Description>
<Path>cmd /c %DVDRoot%\InstallAppsTweaks.cmd</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>500</Order>
<Description>Reboot into OOBE With Unattend lacking reseal</Description>
<Path>C:\Windows\system32\sysprep\sysprep.exe /quiet /oobe /reboot /generalize /unattend:%DVDRoot%\UnattendedOOBE.xml</Path>
</RunSynchronousCommand>
</RunSynchronous>
</component>
</settings>

5. Note the final command in the code above, Setup will reboot again. After reboot Setup will no longer use AutoUnattend.xml. Instead UnattendedOOBE.xml is used.

UnattendedOOBE.xml is an exact copy of AutoUnattend.xml but it misses the code from step (1) therefore, the code in step (4) is completely ignored.

--> Is this correct?

--> Is it safe to leave the code from step 3 in UnattendedOOBE.xml? Since it's a copy of AutoUnattend minus the code in step (1).

--> I still wonder how and when everything is copied to the default user since you reboot again at the end of step (4), not giving the system any chance to copy everything to the default profile!

(edit: btw I am NOT modifying WIM before I create my ISO image. All the setupfiles/installers of my apps are in %dvdroot%\Apps and I use a .cmd file to install them silently, clean up start menu, copy predefined startmenu, add pins to taskbar/startmenu and run a regtweaks.reg file). So I rebuilding indexes doesnt apply here.)

Please note before replying this post has completely been modified (I tend to read a message in my mail, come to the forum and immediately start my response without noticing changes to the post I am replying to).

Edited by ZileXa
0

Share this post


Link to post
Share on other sites

Zilexa - it sounds like you know as much as I do about this now. As far as i am aware it is safe to keep the auditUser / specialize / windowsPE passes in UnattendedOOBE.xml - i think it's equally safe to remove them.

Edited by SmokingRope
0

Share this post


Link to post
Share on other sites

deleted by me sorry.

Edited by ZileXa
0

Share this post


Link to post
Share on other sites

Unfortunately, it was not a success. First there were many errors in my XML I spend a few hours finding them, creating an ISO and testing over and over again (I first checked the xml file in XMLspy to see if it was wellformed).

Once the XML worked... Setup continued but after rebooting into sysprep, input was required! The InstallApps.cmd file was never called. See the screenshot below.

aMxIM.jpg

Also when I selected "Audit Mode", checked "Generalize" and press OK I got an error message, see the second screenshot. I don't have a clue what went wrong.

95j4f.jpg

I assume the part of the xml settings pass "Audit User" is not being triggered after the system reboots into sysprep. So nothing happens unattendedly.

Here is my Autounattend.xml:

autounattend.xml

<?xml version="1.0" encoding="utf-8"?>
<!--This answer file generated by RT Seven Lite and completely modified by ZileXa-->
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="windowsPE">
<component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SetupUILanguage>
<UILanguage>en-US</UILanguage>
</SetupUILanguage>
<InputLocale>0409:00020409</InputLocale>
<UserLocale>nl-NL</UserLocale>
<UILanguage>en-US</UILanguage>
<SystemLocale>en-US</SystemLocale>
</component>
<component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ImageInstall>
<OSImage>
<InstallFrom>
<MetaData wcm:action="add">
<Key>/IMAGE/NAME</Key>
<value>Windows 7 ULTIMATE</value>
</MetaData>
</InstallFrom>
<WillShowUI>OnError</WillShowUI>
</OSImage>
</ImageInstall>
<UserData>
<ProductKey>
<Key>REMOVEDBYME</Key>
<WillShowUI>OnError</WillShowUI>
</ProductKey>
<AcceptEula>true</AcceptEula>
</UserData>
</component>
</settings>
<settings pass="oobeSystem">
<component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SystemLocale>en-US</SystemLocale>
<UILanguage>en-US</UILanguage>
<UserLocale>0409:00020409</UserLocale>
</component>
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<UserAccounts>
<LocalAccounts />
</UserAccounts>
<OOBE>
<NetworkLocation>Home</NetworkLocation>
<HideEULAPage>true</HideEULAPage>
<ProtectYourPC>3</ProtectYourPC>
<HideWirelessSetupInOOBE>false</HideWirelessSetupInOOBE>
<SkipMachineOOBE>false</SkipMachineOOBE>
<SkipUserOOBE>false</SkipUserOOBE>
</OOBE>
<DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet>
<TimeZone>W. Europe Standard Time</TimeZone>
<VisualEffects>
<FontSmoothing>ClearType</FontSmoothing>
</VisualEffects>
</component>
<component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Reseal>
<Mode>Audit</Mode>
</Reseal>
</component>
</settings>
<settings pass="specialize">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<CopyProfile>true</CopyProfile>
</component>
<component name="Microsoft-Windows-Security-Licensing-SLC-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SkipAutoActivation>true</SkipAutoActivation>
</component>
</settings>
<settings pass="auditUser">
<component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<RunSynchronous>
<RunSynchronousCommand wcm:action="add">
<Order>490</Order>
<Description>Set Path For DVD</Description>
<Path>cmd /c "FOR %i IN (C D E F G H I J K L N M O P Q R S T U V W X Y Z) DO IF EXIST %i:\UnattendedOOBE.xml SETX DVDRoot %i:"</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>495</Order>
<Description>Install apps and regtweaks</Description>
<Path>cmd /c %DVDRoot%\InstallApps.cmd</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>500</Order>
<Description>Reboot into OOBE With Unattend lacking reseal</Description>
<Path>C:\Windows\system32\sysprep\sysprep.exe /quiet /oobe /reboot /generalize /unattend:%DVDRoot%\UnattendedOOBE.xml</Path>
</RunSynchronousCommand>
</RunSynchronous>
</component>
</settings>
</unattend>

autounattend.xml

Edited by ZileXa
0

Share this post


Link to post
Share on other sites

Any hkcu tweaks that don't apply by injecting into hive, such as FullRowSelect tweaks. I make a self deleting 7zip sfx and place it in default user startup folder.

Directory needs to be created.

cmd for creating directory

md "<your mount dir>\Users\Default\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup"

Then I use xcopy to move the files.

In this way the tweaks get applied at first logon for all newly created users, then deletes itself for the current user.

Example of my Config.txt for sfx.

;!@Install@!UTF-8!
Title="7-ZIP SFX archive"
Progress="no"
SelfDelete="1"
GUIFlags="8"
OverwriteMode="0"
ExtractPathText="Select extraction path"
ExtractPathTitle="7-ZIP SFX archive"
ExtractCancelText="Abort"
RunProgram="%SystemRoot%\\regedit /s %%T\\HKCU.reg"
;!@InstallEnd@!

This is my fullrowselect tweaks, keeps "my computer" in tile mode instead of entended tiles. As well as sets 10000 folder remember limit, instead of default 5000.

Windows Registry Editor Version 5.00 


[-HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags]

[-HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\BagMRU]

[-HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Bags]

[-HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\BagMRU]

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoSaveSettings"=-
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoSaveSettings"=-

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"FullRowSelect"=dword:00000000

[HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\AllFolders\Shell]
"KnownFolderDerivedFolderType"="{57807898-8C4F-4462-BB63-71042380B109}"
"SniffedFolderType"="Generic"
"FolderType"="NotSpecified"


[HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\BagMRU]
"NodeSlots"=hex:02,02
"MRUListEx"=hex:00,00,00,00,ff,ff,ff,ff
"0"=hex:14,00,1f,50,e0,4f,d0,20,ea,3a,69,10,a2,d8,08,00,2b,30,30,9d,00,00
"NodeSlot"=dword:00000002
"BagMRU Size"=dword:00002710

[HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\BagMRU\0]
"NodeSlot"=dword:00000001
"MRUListEx"=hex:ff,ff,ff,ff

[HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags]
"BagMRU Size"=dword:00002710

[HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\1\Shell\{5C4F28B5-F869-4E84-8E60-F11DB97C5CC7}]
"Rev"=dword:00000000
"FFlags"=dword:41000011
"Vid"="{65F125E5-7BE1-4810-BA9D-D271C8432CE3}"
"Mode"=dword:00000006
"LogicalViewMode"=dword:00000002
"IconSize"=dword:00000030
"GroupView"=dword:ffffffff
"GroupByKey:FMTID"="{B725F130-47EF-101A-A5F1-02608C9EEBAC}"
"GroupByKey:PID"=dword:00000004
"GroupByDirection"=dword:00000001

[HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\AllFolders\Shell\{5C4F28B5-F869-4E84-8E60-F11DB97C5CC7}]
"FolderType"="Generic"
"Rev"=dword:00000000
"FFlags"=dword:43000011
"LogicalViewMode"=dword:00000001
"Mode"=dword:00000004

[HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\AllFolders\Shell\{5fa96407-7e77-483c-ac93-691d05850de8}]
"FolderType"="Videos"
"Rev"=dword:00000000
"FFlags"=dword:43000011
"LogicalViewMode"=dword:00000001
"Mode"=dword:00000004

[HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\AllFolders\Shell\{7d49d726-3c21-4f05-99aa-fdc2c9474656}]
"FolderType"="Documents"
"Rev"=dword:00000000
"FFlags"=dword:43000011
"LogicalViewMode"=dword:00000001
"Mode"=dword:00000004

[HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\AllFolders\Shell\{94d6ddcc-4a68-4175-a374-bd584a510b78}]
"FolderType"="Music"
"Rev"=dword:00000000
"FFlags"=dword:43000011
"LogicalViewMode"=dword:00000001
"Mode"=dword:00000004

[HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\AllFolders\Shell\{b3690e58-e961-423b-b687-386ebfd83239}]
"FolderType"="Pictures"
"Rev"=dword:00000000
"FFlags"=dword:43000011
"LogicalViewMode"=dword:00000001
"Mode"=dword:00000004

[HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\AllFolders\Shell\{DE2B70EC-9BF7-4A93-BD3D-243F7881D492}]
"FolderType"="Contacts"
"Rev"=dword:00000000
"FFlags"=dword:43000011
"LogicalViewMode"=dword:00000001
"Mode"=dword:00000004

I also place my taskbar editing scripts here so it applies to all newly created users.

0

Share this post


Link to post
Share on other sites

Thanks I use a similar method now with RunOnce (starts a cmd file for every user) but the method I am testing (see post #39 and my post above yours) is much more *neat* and clean since tweaks and stuff will be applied to the default user, wich needs to be done only once.So I would really like this to work instead of going for a trick like I am using now....

I checked my xml above again for errors, couldnt find one :S

Edited by ZileXa
0

Share this post


Link to post
Share on other sites

Investigated more, this command was not working:

[code<Path>cmd /c "FOR %i IN (C D E F G H I J K L N M O P Q R S T U V W X Y Z) DO IF EXIST %i:\UnattendedOOBE.xml SETX DVDRoot %i:"</Path>
So I am using my own command tested a while ago in a different topic.
That works. Now apps are installed!

I am now stuck at an error when executing SYSPREP.EXE (see my post above) the final command in Pass Audit User. The system doesn't reboot, I see a small window with a progess bar, sysprep doing something. Then it disappears and nothing happens:
<Path>C:\Windows\system32\sysprep\sysprep.exe /quiet /oobe /reboot /generalize /unattend:C:\AutoUnattendedOOBE.xml</Path>

The logfile shows me the command is correct but it also shows a failure concerning a file called wevtapi.dll (the file is present in system32, I checked, 418KB. Version number 1.7600.16385).

setuperr.log:

2011-04-22 15:02:53, Error  	[0x0f0082] SYSPRP LaunchDll:Failure occurred while executing 'C:\Windows\System32\wevtapi.dll,EvtIntSysprepCleanup', returned error code 15007[gle=0x00003a9f]
2011-04-22 15:02:53, Error [0x0f0070] SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 15007[gle=0x00003a9f]
2011-04-22 15:02:53, Error [0x0f00a8] SYSPRP WinMain:Hit failure while processing sysprep cleanup providers; hr = 0x80073a9f[gle=0x00003a9f]

and setupact.log:

2011-04-22 15:02:53, Info              	SYSPRP ========================================================
2011-04-22 15:02:53, Info SYSPRP === Beginning of a new sysprep run ===
2011-04-22 15:02:53, Info SYSPRP ========================================================
2011-04-22 15:02:53, Info [0x0f004d] SYSPRP The time is now 2011-04-22 15:02:53
2011-04-22 15:02:53, Info [0x0f004e] SYSPRP Initialized SysPrep log at C:\Windows\System32\sysprep\Panther
2011-04-22 15:02:53, Info [0x0f0054] SYSPRP ValidateUser:User has required privileges to sysprep machine
2011-04-22 15:02:53, Info [0x0f007e] SYSPRP FCreateTagFile:Tag file C:\Windows\System32\sysprep\Sysprep_succeeded.tag does not already exist, no need to delete anything
2011-04-22 15:02:53, Warning SYSPRP WinMain: File operations pending
2011-04-22 15:02:53, Info [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'QUIET'
2011-04-22 15:02:53, Info [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'GENERALIZE'
2011-04-22 15:02:53, Info [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'OOBE'
2011-04-22 15:02:53, Info [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'REBOOT'
2011-04-22 15:02:53, Info [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'UNATTEND'
2011-04-22 15:02:53, Info [0x0f004a] SYSPRP WaitThread:Entering spawned waiting thread
2011-04-22 15:02:53, Info [sysprep.exe] UnattendFindAnswerFile: Looking at explicitly provided unattend file [C:\AutounattendOOBE.xml]...
2011-04-22 15:02:53, Info [sysprep.exe] UnattendFindAnswerFile: [C:\AutounattendOOBE.xml] meets criteria for an explicitly provided unattend file.
2011-04-22 15:02:53, Info SYSPRP SysprepSearchForUnattend: Using unattend file at [C:\AutounattendOOBE.xml].
2011-04-22 15:02:53, Info SYSPRP SysprepSearchForUnattend: [generalize] pass in unattend file [C:\AutounattendOOBE.xml] either doesn't exist or passed validation
2011-04-22 15:02:53, Info SYSPRP WinMain:Found unattend file at [C:\AutounattendOOBE.xml]; caching...
2011-04-22 15:02:53, Info SYSPRP WinMain:Processing unattend file's 'generalize' pass...
2011-04-22 15:02:53, Info SYSPRP Sysprep is running a generalize pass with the following unattend file: [%windir%\panther\unattend.xml]
2011-04-22 15:02:53, Info SYSPRP RunUnattendGeneralizePass: Sysprep unattend generalize pass exits; hr = 0x0, hrResult = 0x0, bRebootRequired = 0x0
2011-04-22 15:02:53, Info [0x0f00ac] SYSPRP WinMain:Processing 'cleanup' external provider request.
2011-04-22 15:02:53, Info [0x0f006c] SYSPRP RunExternalDlls:Running DLLs listed in registry for phase 3
2011-04-22 15:02:53, Info [0x0f008a] SYSPRP RunRegistryDlls:Retrieved section name for this phase as Cleanup
2011-04-22 15:02:53, Warning [0x0f008f] SYSPRP RunRegistryDlls:Registry key is either empty or malformed: SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\SysPrepExternal\Cleanup
2011-04-22 15:02:53, Info [0x0f00ad] SYSPRP WinMain:Processing 'generalize' extrenal provider request.
2011-04-22 15:02:53, Info [0x0f006c] SYSPRP RunExternalDlls:Running DLLs listed in registry for phase 1
2011-04-22 15:02:53, Info [0x0f008a] SYSPRP RunRegistryDlls:Retrieved section name for this phase as Generalize
2011-04-22 15:02:53, Warning [0x0f008f] SYSPRP RunRegistryDlls:Registry key is either empty or malformed: SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\SysPrepExternal\Generalize
2011-04-22 15:02:53, Info [0x0f003f] SYSPRP WinMain:Processing 'cleanup' internal provider request.
2011-04-22 15:02:53, Info [0x0f006c] SYSPRP RunExternalDlls:Running DLLs listed in registry for phase 3
2011-04-22 15:02:53, Info [0x0f008a] SYSPRP RunRegistryDlls:Retrieved section name for this phase as Cleanup
2011-04-22 15:02:53, Info [0x0f008b] SYSPRP RunRegistryDlls:Found entrypoint in registry at SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\SysPrep\Cleanup\{67196725-a666-73a6-a048-412e48a3b856}; will try to launch 'C:\Windows\System32\spopk.dll,Sysprep_Clean_Opk'
2011-04-22 15:02:53, Info [0x0f0080] SYSPRP LaunchDll:Found 'C:\Windows\System32\spopk.dll,Sysprep_Clean_Opk'; executing it
2011-04-22 15:02:53, Info [0x0f0081] SYSPRP LaunchDll:Successfully executed 'C:\Windows\System32\spopk.dll,Sysprep_Clean_Opk' without error
2011-04-22 15:02:53, Info [0x0f008b] SYSPRP RunRegistryDlls:Found entrypoint in registry at SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\SysPrep\Cleanup\{1e7f4452-a4b4-5a32-d01e-70397b096ced}; will try to launch 'sqmapi.dll,SqmSysprepCleanup'
2011-04-22 15:02:53, Info [0x0f0080] SYSPRP LaunchDll:Found 'sqmapi.dll,SqmSysprepCleanup'; executing it
2011-04-22 15:02:53, Info [0x0f0081] SYSPRP LaunchDll:Successfully executed 'sqmapi.dll,SqmSysprepCleanup' without error
2011-04-22 15:02:53, Info [0x0f008b] SYSPRP RunRegistryDlls:Found entrypoint in registry at SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\SysPrep\Cleanup\{2c8a362b-4dc1-38b9-c4d8-ce732ddcc48e}; will try to launch 'C:\Windows\System32\wevtapi.dll,EvtIntSysprepCleanup'
2011-04-22 15:02:53, Info [0x0f0080] SYSPRP LaunchDll:Found 'C:\Windows\System32\wevtapi.dll,EvtIntSysprepCleanup'; executing it
2011-04-22 15:02:53, Error [0x0f0082] SYSPRP LaunchDll:Failure occurred while executing 'C:\Windows\System32\wevtapi.dll,EvtIntSysprepCleanup', returned error code 15007[gle=0x00003a9f]
2011-04-22 15:02:53, Error [0x0f0070] SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 15007[gle=0x00003a9f]
2011-04-22 15:02:53, Error [0x0f00a8] SYSPRP WinMain:Hit failure while processing sysprep cleanup providers; hr = 0x80073a9f[gle=0x00003a9f]
2011-04-22 15:02:53, Info [0x0f004c] SYSPRP WaitThread:Exiting spawned waiting thread
2011-04-22 15:02:53, Info [0x0f0052] SYSPRP Shutting down SysPrep log
2011-04-22 15:02:53, Info [0x0f004d] SYSPRP The time is now 2011-04-22 15:02:53

Ideas anyone?

Edited by ZileXa
0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.