It's easy and logical. You can use synchronous commands in answer file or simply this trick (my favorite!):
Before running Sysprep in Audit Mode, create the following batch file and save it as ANYNAME.bat in
The batch file explained:Code:echo Y | del %appdata%\microsoft\windows\recent\automaticdestinations\* del %0
- echo Y | = Pipes (sends) a letter Y to the command given after the Pipe (|) character
- del %appdata%\microsoft\windows\recent\automaticdestinations\* = Resets the Quick Access to defaults. This command expects the user to enter either Y for Yes or N for No. As the Y will be in this case piped, user interaction is not needed but instead the Y will be entered automatically
- del %0 = Deletes the batch file itself after it has been run. Leaving this away, not deleting the batch file, would reset the Quick Access every time the user signs in
File is now saved in built-in admin's Startup folder, which will be copied among other customizations to Default User Profile when you sysprep with CopyProfile set TRUE using the /generalize switch.
Now whenever a new user account will be created, be it the initial user created in OOBE or any user created anytime later, the batch will be run once for each user resetting the Quick Access to defaults and then removing itself.
Last edited by Kari; 08 Dec 2015 at 14:56.
Hi, does anyone have any idea how to make an answer file for a setup with install.wim that contains multiple editions?
I've made one to include Core, Pro, Eduction and Enterprise editions X86 and X64 all in one.
I get that you can have multiple <component> tags with all those editions and architectures but what about the <cpi:offlineImage> tag?
Last edited by Pk King X11; 14 Dec 2015 at 07:35. Reason: Remove code tags
can i instal win 10 and office updates before taking image ?
cause its much faster when i instaling machines with newest updates on it
That's why CopyProfile and Audit Mode are no longer supported. ICD allows you to quickly recreate your images, which is the supported way to create images now.
Audit Mode is still supported and totally working. CopyProfile when set to TRUE has a small glitch for which I have posted the simple solution earlier in this thread, last time only a few days ago.
I had built a Windows image using Enterprise build 10240 but prevented Windows from obtaining updates because I needed to use CopyProfile, which at that time would break Cortana. Now that build 1511 is out can I do an in place upgrade of those machines without Cortana breaking? The alternative is that I make a new image based on 1511 from scratch and re-image all of my machines again, which I would prefer not to do.
If you install the OS with a network connection and install windows updates in audit mode does copyprofile still break search? I've been avoiding installing any updates in audit mode because of this.