Sysprep Ignoring ProfilesDir Option

Posted on 2008-11-04
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
    LVL 8

    Accepted Solution

    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.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    If you build your web application in Visual Studio you'll get at least a few binaries, or .DLL, files in your bin folder. However, there is more compiling to be done. Normally this would happen when an ASP.NET resource within the web site is request…
    Are you unable to synchronize your OST (Offline Storage Table) file with Microsoft Exchange Server? Is your OST file exceeding 2 GB size limit? In Microsoft Outlook 2002 and earlier versions, there is a 2 GB size limit for the OST file. If the file …
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    758 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

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now