The WinReducer Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

The WinReducer ForumLog in

FORUM

Sysprep does not work

+5
mrpotter2510
Mr.T
theKramer
aymanalz
w571you
9 posters

descriptionSysprep does not work EmptySysprep does not work

more_horiz
I want to make a Windows 8.1 with update'iso.If I make iso for use,it's no problem.But if I use it for Sysprep ,it will display Sysprep error.Could you please tell me how to remove no error or give me a config file (.wccf)

descriptionSysprep does not work EmptyRe: Sysprep does not work

more_horiz
w571you wrote:
I want to make a Windows 8.1 with update'iso.If I make iso for use,it's no problem.But if I use it for Sysprep ,it will display Sysprep error.Could you please tell me how to remove no error or give me a config file (.wccf)



Did you enable the "Protect sysprep" preset?

descriptionSysprep does not work EmptyRe: Sysprep does not work

more_horiz
aymanalz wrote:
w571you wrote:
I want to make a Windows 8.1 with update'iso.If I make iso for use,it's no problem.But if I use it for Sysprep ,it will display Sysprep error.Could you please tell me how to remove no error or give me a config file (.wccf)



Did you enable the "Protect sysprep" preset?

Sure.I enable it.But it also display error.I can show you "setuperr.log" to you.

setuperr.log:
2014-10-12 12:19:36, Error                 SYSPRP SPPNP: Failed to secure driver file C:\Windows\System32\drivers\amdxata.sys. Err = 0x2
2014-10-12 12:19:36, Error                 SYSPRP SPPNP: Failed to secure driver file C:\Windows\System32\drivers\sfloppy.sys. Err = 0x2
2014-10-12 12:19:36, Error                 SYSPRP SPPNP: Failed to secure driver file C:\Windows\System32\drivers\vms3cap.sys. Err = 0x2
2014-10-12 12:19:37, Error                 SYSPRP 浡潣敲慜瑮浩污慷敲獜畯捲履楦敬慨捳摯履慴汢履牭杴湥牥污穩⹥灣p:敄敬整敒噧污敵:81 - ERROR: Could not open Windows Defender key HKLM\SOFTWARE\Microsoft\Windows Defender\Scan with KEY_QUERY_VALUE: error code 2
2014-10-12 12:19:37, Error                 SYSPRP 浡潣敲慜瑮浩污慷敲獜畯捲履楦敬慨捳摯履慴汢履牭杴湥牥污穩⹥灣p:敄敬整敒噧污敵:81 - ERROR: Could not open Windows Defender key HKLM\SOFTWARE\Microsoft\Windows Defender\Scan with KEY_QUERY_VALUE: error code 2
2014-10-12 12:19:37, Error                 SYSPRP 浡潣敲慜瑮浩污慷敲獜畯捲履楦敬慨捳摯履慴汢履牭杴湥牥污穩⹥灣p:敄敬整敒噧污敵:81 - ERROR: Could not open Windows Defender key HKLM\SOFTWARE\Microsoft\Windows Defender\Scan with KEY_QUERY_VALUE: error code 2
2014-10-12 12:19:37, Error                 SYSPRP 浡潣敲慜瑮浩污慷敲獜畯捲履楦敬慨捳摯履慴汢履牭杴湥牥污穩⹥灣p:敄敬整敒噧污敵:81 - ERROR: Could not open Windows Defender key HKLM\SOFTWARE\Microsoft\Windows Defender\Scan with KEY_QUERY_VALUE: error code 2
2014-10-12 12:19:37, Error                 SYSPRP 浡潣敲慜瑮浩污慷敲獜畯捲履楦敬慨捳摯履慴汢履牭杴湥牥污穩⹥灣p:敄敬整敒噧污敵:81 - ERROR: Could not open Windows Defender key HKLM\SOFTWARE\Microsoft\Windows Defender\Scan with KEY_QUERY_VALUE: error code 2
2014-10-12 12:19:41, Error      [0x0f0085] SYSPRP ActionPlatform::LaunchModule: Could not load DLL C:\Windows\System32\spwinsat.dll; dwRet = 0x7e[gle=0x0000007e]
2014-10-12 12:19:41, Error                 SYSPRP ActionPlatform::ExecuteAction: Error in executing action; dwRet = 0x7e[gle=0x0000007e]
2014-10-12 12:19:41, Error                 SYSPRP ActionPlatform::ExecuteActionList: Error in execute actions; dwRet = 0x7e[gle=0x0000007e]
2014-10-12 12:19:41, Error                 SYSPRP SysprepSession::Execute: Error in executing actions from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml; dwRet = 0x7e
2014-10-12 12:19:41, Error                 SYSPRP RunPlatformActions:Failed while executing SysprepSession actions; dwRet = 0x7e
2014-10-12 12:19:41, Error      [0x0f0070] SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x7e
2014-10-12 12:19:41, Error      [0x0f00a8] SYSPRP WinMain:Hit failure while processing sysprep generalize internal providers; hr = 0x8007007e

descriptionSysprep does not work EmptyRe: Sysprep does not work

more_horiz
I will give you two options:
1. Quick method
Looks like you have 2 things to correct:
a. Do not remove any of the Windows Defender components nor the service!
b. Copy the files amdxata.sys, sfloppy.sys, vms3cap.sys & spwinsat.dll from a full install to this reduced install into the C:\Windows\System32\drivers\ directory.

2. Slow method
a. Keep AMD storage SATA drivers
b. Keep floppy disk drive driver
c. Keep WinSAT component
d. Keep Windows Defender components & service!
e. Copy the file vms3cap.sys from a full install to this reduced install into the C:\Windows\System32\drivers\ directory (Here is the best info I could find on vms3cap.dll)

Test again, and let us know?

descriptionSysprep does not work EmptyRe: Sysprep does not work

more_horiz
theKramer wrote:
I will give you two options:
1. Quick method
Looks like you have 2 things to correct:
a. Do not remove any of the Windows Defender components nor the service!
b. Copy the files amdxata.sys, sfloppy.sys, vms3cap.sys & spwinsat.dll from a full install to this reduced install into the C:\Windows\System32\drivers\ directory.

2. Slow method
a. Keep AMD storage SATA drivers
b. Keep floppy disk drive driver
c. Keep WinSAT component
d. Keep Windows Defender components & service!
e. Copy the file vms3cap.sys from a full install to this reduced install into the C:\Windows\System32\drivers\ directory (Here is the best info I could find on vms3cap.dll)

Test again, and let us know?


Thank you.I will try it again!If i have else questions,i'll write them here.

descriptionSysprep does not work EmptyRe: Sysprep does not work

more_horiz
By the way, what is the motherboard chipset (AMD or Intel)?

descriptionSysprep does not work EmptyRe: Sysprep does not work

more_horiz
I use Intel.But i use virtual machine to test my windows 8.1 iso

descriptionSysprep does not work EmptyRe: Sysprep does not work

more_horiz
New MSDN ISO 
Windows 8.1 with Update 
Release Date: 12/15/2014

descriptionSysprep does not work EmptyRe: Sysprep does not work

more_horiz
w571you wrote:
I use Intel.But i use virtual machine to test my windows 8.1 iso

Thats weird, because the VM should be motherboard agnostic.
I guess when sysprep is doing its thing, it needs to repack the drivers for the future install, and it throws those errors when it cant find the files.
Why the issue with Windows Defender, I have no idea Question

One other point, Sysprep NEVER works with an antivirus installed. I dont know why, but I could never get the two to work together.

I wrote a tutorial on Sysprep a while ago here. Are you using Sysprep to repackage PC's for friends/etc?

Because, if you are doing it for your own personal computer, you dont need sysprep. This is the process that I use for my personal computer (Link).

descriptionSysprep does not work EmptySysprep does not work

more_horiz
Hi winterstorm,

I enabled the protect sysprep preset, but sysprep still get error when using with generalize option Sad

Sysprep does not work Sysprep-fatal-error_thumb

Here is my wccf file: https://www.mediafire.com/?pnxgyaq73dg5x2j

descriptionSysprep does not work EmptyRe: Sysprep does not work

more_horiz
Hi mrpotter.
Can you post your sysprep log?

Also, can you tell me why you are using sysprep? Do you need to install this base image to other PC's, or is this just for one PC?

descriptionSysprep does not work EmptyRe: Sysprep does not work

more_horiz
Hi theKramer, 

Here is my sysprep error log:

Code:

2015-01-12 15:17:52, Error                SYSPRP SPPNP: Failed to secure driver file C:\Windows\System32\drivers\vms3cap.sys. Err = 0x2
2015-01-12 15:18:01, Error      [0x0f0085] SYSPRP ActionPlatform::LaunchModule: Could not load DLL C:\Windows\System32\spwinsat.dll; dwRet = 0x7e[gle=0x0000007e]
2015-01-12 15:18:01, Error                SYSPRP ActionPlatform::ExecuteAction: Error in executing action; dwRet = 0x7e[gle=0x0000007e]
2015-01-12 15:18:01, Error                SYSPRP ActionPlatform::ExecuteActionList: Error in execute actions; dwRet = 0x7e[gle=0x0000007e]
2015-01-12 15:18:01, Error                SYSPRP SysprepSession::Execute: Error in executing actions from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml; dwRet = 0x7e
2015-01-12 15:18:01, Error                SYSPRP RunPlatformActions:Failed while executing SysprepSession actions; dwRet = 0x7e
2015-01-12 15:18:01, Error      [0x0f0070] SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x7e
2015-01-12 15:18:01, Error      [0x0f00a8] SYSPRP WinMain:Hit failure while processing sysprep generalize internal providers; hr = 0x8007007e


I'm creating one for my friend, but I forgot to install software first before reducing image, so after reducing I installed it on virtual machine to install software then sysprep it, and I faced this error Very Happy

descriptionSysprep does not work EmptyRe: Sysprep does not work

more_horiz
OK.
This is an issue with all reducing programs since Windows 7.
You have to do Sysprep on the FULL image and then reduce AFTER.

See my guide here.

I have 2 questions
1. Is that your entire Sysprep log? If not, can you post it?
2. Can you search in the reduced vm and look for the file vms3cap.sys, and verify that it is missing from C:\Windows\System32\drivers\

@winter: can you look at this, as there are still files being removed that should not be to enable Sysprep to work..

descriptionSysprep does not work EmptyRe: Sysprep does not work

more_horiz
@winter: there are two threads opened on Sysprep. I will merge this with the other one as there is a definite bug in Sysprep removal.
@winter: we know for certain that vms3cap.sys needs to be kept.

I will try Sysprep on a reduced ISO that I created last night to see what errors I get.

descriptionSysprep does not work EmptyRe: Sysprep does not work

more_horiz
Hey theKramer,

OK, I'm on it, and I will add "vms3cap.sys" and "spwinsat.dll" in the sysprep protect preset (errors in mrpotter2510 sysprep log).

It will be available tomorrow in v1.37 ... Wink

PS : I'm not updated this thread as solved until we fix sysprep.

descriptionSysprep does not work EmptyRe: Sysprep does not work

more_horiz
@theKramer:
1- The full log is very long, and I think we just need the error log to see where is the problem.
2- Yeah, both vms3cap.sys and spwinsat.dll are missing.

descriptionSysprep does not work EmptyRe: Sysprep does not work

more_horiz
hey winter,

i reported somewhere some time ago that the following component:

Windows System Assessment Tool (WinSAT)
del /q /f Windows\System32\spwinsat.dll
del /q /f Windows\SysWOW64\spwinsat.dll

with the spwinsat.dll is causing a problem when streaming videos during my home network 

maybe this file is needed for some more features and programms

so maybe it should be added to the imported files preset for win 7, 8.1 and 10 ?

descriptionSysprep does not work EmptyRe: Sysprep does not work

more_horiz
Yes, you are right ... maybe I could add it in both "Protect sysprep", "Protect WMP" and "Protect MCE". Smile

descriptionSysprep does not work EmptyRe: Sysprep does not work

more_horiz
winterstorm2050 wrote:
Yes, you are right ... maybe I could add it in both "Protect sysprep", "Protect WMP" and "Protect MCE". Smile


but those presets arent available for winreducer 7 (or am i mistaken ?)

descriptionSysprep does not work EmptyRe: Sysprep does not work

more_horiz
Yes, that's right, but as we are in the WinReducer 8.1 discussion ...
lol!

descriptionSysprep does not work EmptyRe: Sysprep does not work

more_horiz
winterstorm2050 wrote:
Yes, that's right, but as we are in the WinReducer 8.1 discussion ...
lol!


sure i know Embarassed

i just wanted to mention it because i get this problem on win7 Razz

descriptionSysprep does not work EmptyRe: Sysprep does not work

more_horiz
mrpotter2510 wrote:
@theKramer:
2- Yeah, both vms3cap.sys and spwinsat.dll are missing.


Can you copy both those files from a full install and put them in your reduced VM, and see if Sysprep works?:
C:\Windows\System32\drivers\vms3cap.sys
C:\Windows\System32\spwinsat.dll
C:\Windows\SysWOW64\spwinsat.dll

descriptionSysprep does not work EmptyRe: Sysprep does not work

more_horiz
KrX wrote:
i just wanted to mention it because i get this problem on win7 Razz

Yeah, I know, I'm just joking ... Wink

If you could prepare a list with necessary files for Windows 8.1 and Windows 7 ... for the coming "Keep Files List Configuration" option ... because I will need it, I'm afraid to forget this !

I think you know what I mean ... Wink

descriptionSysprep does not work EmptyRe: Sysprep does not work

more_horiz
mrpotter2510 wrote:
Hi winterstorm,

I enabled the protect sysprep preset, but sysprep still get error when using with generalize option Sad

Sysprep does not work Sysprep-fatal-error_thumb

Here is my wccf file: https://www.mediafire.com/?pnxgyaq73dg5x2j

Just one point to make. Be very careful of the activation limit, as its a pain to reset if you go over the 3 activations.
See my Sysprep guide to ensure you dont get that problem

descriptionSysprep does not work EmptyRe: Sysprep does not work

more_horiz
winterstorm2050 wrote:
KrX wrote:
i just wanted to mention it because i get this problem on win7 Razz

Yeah, I know, I'm just joking ... Wink

If you could prepare a list with necessary files for Windows 8.1 and Windows 7 ... for the coming "Keep Files List Configuration" option ... because I will need it, I'm afraid to forget this !

I think you know what I mean ... Wink


how many files should i get? i got a list of 17 files that i need to keep at the moment

descriptionSysprep does not work EmptyRe: Sysprep does not work

more_horiz
Hey guys,

I've made a test with WinReducer 8.1 - v1.37 (available 14 Jan. 2015) with mrpoter2510 wccf (few previous posts), which includes the fix for files (spwinsat and vms3cap) and sysprep starts as it should (using generalize and reboot options).

But as I'm not a specialist of sysprep, I will wait for your expertise my friends !

descriptionSysprep does not work EmptyRe: Sysprep does not work

more_horiz
Hi winter.
Once v1.37 is available I will test it for you.
I spent a lot of time a couple of years ago playing with Sysprep, though I do not use it anymore myself.

descriptionSysprep does not work EmptyRe: Sysprep does not work

more_horiz
Hello theKramer,

Thank you very much, and you should prepare your computer ... v1.37 is out with the fix ... Wink

descriptionSysprep does not work EmptyRe: Sysprep does not work

more_horiz
Thanks winterstorm, I'll make a test in the next month, I'm not at home now Very Happy
theKramer did you test it? Very Happy

descriptionSysprep does not work EmptyRe: Sysprep does not work

more_horiz
mrpotter2510 wrote:
theKramer did you test it? Very Happy

Hi mrpotter.
Not yet unfortunately. Hopefully over the weekend...
privacy_tip Permissions in this forum:
You cannot reply to topics in this forum