Capturing an Image(wim) W7, W8.1, W10 1809.

Clanger

Well-Known Member
Ok, got that. But if dism doesnt set the flag and i still need to run imagex to set that then its silly to run both, i might just aswell do everything from imagex, which i found out by reading gimagex help i have been using incorrectly.

I can manually capture at the moment while im testing things out so i hope to have it all fully automated and put to bed in the next few weeks.

Thanks abbodi. :)
 

Clanger

Well-Known Member
Strange that i dont have any waik or adks installed but gimagex still worked. I do have a certain toolkit on my storage drive which has it and i can use the files from that that gimagex help says i must use. Maybe it searched for them. :)
 
Last edited:

Clanger

Well-Known Member
I never read the help file until yesterday and its worked in the past, i'll test what help says and see what happens. :)

Ahh, need imagex if i want to use the command line version.
 

Attachments

Clanger

Well-Known Member
Question. I have my updates set to run during setup. At 1st logon i still need to restart one last time, what do i need to add to my SetupComplete.cmd to force that last restart?
 

Clanger

Well-Known Member
I want to disable then delete some scheduled tasks.

schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\Consolidator" /Disable > NUL 2>&1

SchTasks /Delete /TN “My Task” = SchTasks /Delete /TN “Consolidator” ?
 
Last edited:

Kasual

Well-Known Member
Question. I have my updates set to run during setup. At 1st logon i still need to restart one last time, what do i need to add to my SetupComplete.cmd to force that last restart?
shutdown /r /t 5
command /restart /time seconds
 

Clanger

Well-Known Member
Righto. thanks :) Just working on post setup tweaks and i will be done this week. Actually this is the hardest part of the project, how many or how few tweaks to add. :confused:
 
Last edited:

Kasual

Well-Known Member
Will that show a countdown timer?
No
i add that time to delete folders:
it runs in ..\scripts
i do this:
cd ..
rd /q /s %Windir%\Setup\Updates
rd /q /s %Windir%\Setup\Scripts &&shutdown /r /t 5

i don't do folder scripts removal before restart command or it won't restart.
 

Clanger

Well-Known Member
I was thinking of just putting my 4 reg files and updates into post setup, let os restart to get those updates baked in then run everything else after manually so nothing should get confused and messed up. A batch file is only 1 click after all. Need to be careful i dont trigger that sysprep fatal warning again so i may leave batch file until final deployment. Thats taking a bit of time to compile, i have to make sure i take ownership of every folder and file i want to delete. Still it will save me time in the long run.
 
Last edited:

Clanger

Well-Known Member
I set it to a ten second restart, works a treat :). Now gotta try setting the screen resolution to 1920x1080

[HKEY_CURRENT_CONFIG\System\CurrentControlSet\Control\VIDEO\{0DEA748D-FCE4-440D-BC84-664ADFA3BD06}\0000\Mon12345678]
"DefaultSettings.XResolution"=dword:00000780
"DefaultSettings.YResolution"=dword:00000438
 

Clanger

Well-Known Member
I just have to put my tweaks together and im ready to rock. 106 services disabled and rock solid stable. :cool:

I am going tohave 2 captured wims, a standard but cleaned up wim for update gathering and those times you need a boggo install and a lite offline workstation wim that will be tweaked to buggery.
 
Last edited:

Clanger

Well-Known Member
Have set the restart to 15 seconds. At 5 seconds it seems pc wants to get to 1st desktop but is stopped by the restart. At 15 seconds it gets to 1st desktop nicely than has a little bit of time to sort itself before the restart. I am going to up it to 20 seconds to give pc that little bit more time to sort itself before restart and make the whole thing a little bit smoother. :)
 

Clanger

Well-Known Member
I want to keep Search but remove and Uncheck everything in the picture below. The only commands i can find are to disable the service, i know that already. According to this guide i should delete C:\ProgramData\Microsoft\Search\Data\Applications\Windows\Windows.edb. Is that all i need to do to remove all those entries then set the service startup type?

 

Clanger

Well-Known Member
Stop Search service and set startup type to Disable. Delete C:\ProgramData\Microsoft\Search\Data folder. Everything gone, vamoose. :)
 

Clanger

Well-Known Member
abbodi86, im using your(i think its yours) Run_CBSEnum.cmd that uses NSudo.

NSudo -U:T -P:E "CBSEnum_x64.exe" Can i edit CBSEnum_x64.exe for any exe bat or cmd file that i want to run as system, as long as that file is in the same directory( C: ) ?

An OP can "off topic" their own topic. :D
 
Top