[Last Call] Learn how to a build a cloud-first strategyRegister Now


Sysprep Ignoring ProfilesDir Option

Posted on 2008-11-04
Medium Priority
Last Modified: 2012-05-05
I have a Windows XP SP 2 image created using Sysprep (Use Mini-Setup, Reseal), where the base image has the Profiles directory set to d:\ profiles.  Within the Sysprep.inf, there is an entry in GuiUnattended for ProfilesDir=D:\Profiles - although reading around, that functionality may only exist for Unattended.txt, I'm not positive.  There are 3 folders within D:\profiles - Admin, All Users, and Default User.  I have also copied the Admin profile to the Default User profile to persist changes made to the base image.

The problem is, once Mini-Setup runs, Windows reverts to C:\Documents and Settings for all profile folders - except the Admin profile, which continues to use d:\profiles\admin

Has anyone seen this behavior before and do you know of a way to fix it?
Question by:rosshood
1 Comment

Accepted Solution

stehardy88 earned 2000 total points
ID: 22979900
Before running sysprep change the profile key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\ProfilesDirectory

from: %SystemDrive%\Documents and Settings

to: D:\profiles

This should solve your problem.

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It is only natural that we all want our PCs to be in good working order, improved system performance, so that is exactly how programs are advertised to entice. They say things like:            •      PC crashes? Get registry cleaner to repair it!    …
Issue: Unstable cursor in Windows XP and Windows runs extremely slow in that any click will bring up the Hour glass (sometimes for several seconds before giving you what you want) . Troubleshooting Process and the FINAL FIX: This issue see…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question