Replace Windows RE With Custom Environment

1 – Turn off Hidden Files and Folders, and unprotect hidden operating system files.

Open Windows Explorer (Computer window), hit ALT key > Tools > Folder Options > View Tab > Radio button “Show hidden files, folders, and drives”, un-tick “Hide protected operating system files (Recommended)”

2 – Navigate to C:\Recovery. Add your local Administrator account to the Security tab.

Right click the folder, select Security tab, Click “Continue” button to view the object’s security properties,  Add…, “Administrator” (you are editing an image that is in a workgroup from the built-in Administrator profile, aren’t you?), Grant “Full Control”,  Apply, OK.

3 – Double click past the GUID folder. Replace the Winre.wim with your custom WinPE/RE environment customized to your needs. Make sure the file is called “Winre.wim”. Also make sure it is x86 vs. x64 depending on your OS version.

You can check a particular WIM file information with the following command from an Elevated Command Prompt:

dism /Get-WimInfo /WimFile:"C:\Path\To The\wimfile.wim" /Index:#

Example:

dism /Get-WimInfo /WimFile:"C:\Program Files\Windows AIK\Tools\PETools\x86\winpe.wim" /Index:1

4 – Remove the Administrator account from the C:\Recovery folder, resetting it back to it’s original permissions.

5 – At this point, you can reboot your machine, press F8, select “Repair Your Computer” and wait for it to start up.

Advertisements

MDT – Deploying a Test Machine to Virtual PC

If you want to run Windows from a Virtual PC image (running on Windows 7) instead of testing on Hyper-V, VMWare or physical hardware, you will need to update the “Validation” settings of your Task Sequence.

Change the processor to “13MHz” in the screenshot below (which is what the processor is emulated at):Virtual PC Validate Settings

How to restart a locked-up Print Spooler in Windows

Home/Premium Editions of Windows:

Option 1 – Attempt to save the  documents in the query

Open Elevated Command Prompt:

net stop spooler

net start spooler

 

Option 2 – Delete the spooled documents

net stop spooler
del /q c:\windows\system32\spool\PRINTERS\*
net start spooler

Option 3 –

Look for spoolsv Windows Error Reports located in:
C:\ProgramData\Microsoft\Windows\WER\ReportQueue

 

There is a text based “report.wer” file that you can open in Notepad.  There is normally a Faulting Module listed (normally an outdated driver).

 

Professional+above:

Utilitize the Printer Management (%systemroot%\system32\printmanagement.msc) utility to narrow down the issue further.