Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Sysprep changes permissions on Default User registry hive.

133 views
Skip to first unread message

Andy

unread,
Dec 11, 2002, 5:11:48 AM12/11/02
to
Hello,

I'm preparing an image for our new PC's. Windows XP SP1 is
the OS. I've prepared a default user, I've copied this
into the Default User area with permission/access for
Everyone. (Control Panel, System, Advanced, User Profiles
settings, Copy To etc.)
When I log on with a new user account to my source it will
use the Default User profile ( I've no background on the
Default User profile).
When I copy this PC to another using Ghost, and repeat the
creation of a new user profile, by logging on as a new
user, I still get my prepared Default User profile.
I then Sysprep (with mini-setup/sysprep.inf) this PC.
After the mini-setup has performed etc. when creating a
new user profile I don't get my prepared Default User, but
some 'other' default user with the standard Windows XP
background.

On researching the issue I found the following.
The permissions on registry hive of the Default User hive
before sysprep look like:

Administrators (local group) Full Control
System Group Full Control
Everyone Group Full Control


These permissions have changed after SYSprep into:

Administrators Full Control
Creator Owner Special Permission
Power Users Read
System Full Control
Users Read

It has not been sufficient to just change these
permissions back.
How can I prevent SYSPREP from changing my Default User
profile????

Andy

Jack Wang [MS]

unread,
Dec 12, 2002, 11:04:25 PM12/12/02
to
Hi Andy,

The following permissions are the default permission settings in Windows XP. The sysprep
tool only uses the default permission settings.

Administrators Full Control
Creator Owner Special Permission
Power Users Read
System Full Control
Users Read

You may re-copy the correct profile to the Default User profile after installing Windows
XP. Then, the new user will use the new default profile.

In addition, you may use the Files and Settings Transfer Wizard to transfer the settings
among computers.

Q293118 HOW TO: Use Files and Settings Transfer Wizard in Windows XP
http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q293118

Hope the above helps.

Sincerely,
Jack Wang
Microsoft Online Support Professional

Get Secure! - www.microsoft.com/security

=====================================================
When responding to posts, please "Reply to Group" via
your newsreader so that others may learn and benefit
from your issue.
=====================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| Content-Class: urn:content-classes:message
| From: "Andy" <ko...@napma.nato.int>
| Sender: "Andy" <ko...@napma.nato.int>
| Subject: Sysprep changes permissions on Default User registry hive.
| Date: Wed, 11 Dec 2002 02:11:48 -0800
| Lines: 42
| Message-ID: <01d801c2a0fd$b75b01c0$8df82ecf@TK2MSFTNGXA02>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Thread-Index: AcKg/bdYkFs/dzWIQNOjjbiHdHXvhw==
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| Newsgroups: microsoft.public.windowsxp.setup_deployment
| NNTP-Posting-Host: TK2MSFTNGXA02 10.40.1.51
| Path: cpmsftngxa09!cpmsftngxa10!cpmsftngxa06
| Xref: cpmsftngxa09 microsoft.public.windowsxp.setup_deployment:49721
| X-Tomcat-NG: microsoft.public.windowsxp.setup_deployment

Andy

unread,
Dec 16, 2002, 3:18:34 AM12/16/02
to

Hello Jack,

had a good weekend, my wife went shopping to London,
that's why I didn't react any earlier.

Why is sysprep, or XP during sysprep, changing the
permissions on the Default User hive?
What is the purpose of tweaking all your settings into the
Default User profile and then having it made unaccesible
by Sysprep. This is a different behaviour to W2K.
Copying users settings is a option, but I want my settings
(captured into the Default User profile) to be there
whenever a new (to the machine) user logs on to a
workstation. I don't want to have the new users profile to
be adjusted after the fact.

The default XP permissions should not matter, If I copy a
profile to the Default User account location, (as
suggested by many Q articles), give it permission to
Everyone (again as suggested), this works for the
workstation. Why would sysprep want to change this??? I
know I keep repeating myself, but I need to know why and
get around it before I can start deploying XP to my users.

Jacob [MS]

unread,
Dec 16, 2002, 4:44:30 AM12/16/02
to
Hi Andy,

Due to the complexity of this issue, we are doing deep research on it. We will get back to you as soon as possible.

Regards,

Jacob Fu

jac...@online.microsoft.com
Product Support Services
Microsoft Corporation

This posting is provided “AS IS” with no warranties, and confers no rights.
--------------------
| Content-Class: urn:content-classes:message
| From: "Andy" <ko...@napma.nato.int>
| Sender: "Andy" <ko...@napma.nato.int>

| References: <01d801c2a0fd$b75b01c0$8df82ecf@TK2MSFTNGXA02> <lYW0kyloCHA.2276@cpmsftngxa09>
| Subject: RE: Sysprep changes permissions on Default User registry hive.
| Date: Mon, 16 Dec 2002 00:18:34 -0800

Jack Wang [MS]

unread,
Dec 17, 2002, 5:33:05 AM12/17/02
to
Dear Andy,

Thank you for your update and efforts. You are right. Generally, sysprep will not affact
the default user profile. I have tested it on my machine with the mini-setup option and it
worked.

Would you mind helping me to collect the following information? I can get a more
concrete idea as to what the exact problem is and how to solve it efficiently. I
appreciate your time.

1. What are the settings you changed for the default user?

2. Do all of the settings not work after sysprep?

3. How did you check the permissons for the Default User hive?

4. Please attach the sysprep.inf file to your reply.

5. What are the detail troubleshooting steps to reproduce the issue? I need to follow
them on our site and try to find out the issue.

Have a nice day!

Sincerely,
Jack Wang
Microsoft Online Support Professional

Get Secure! - www.microsoft.com/security

=====================================================
When responding to posts, please "Reply to Group" via
your newsreader so that others may learn and benefit
from your issue.
=====================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| Content-Class: urn:content-classes:message
| From: "Andy" <ko...@napma.nato.int>
| Sender: "Andy" <ko...@napma.nato.int>

| References: <01d801c2a0fd$b75b01c0$8df82ecf@TK2MSFTNGXA02>
<lYW0kyloCHA.2276@cpmsftngxa09>
| Subject: RE: Sysprep changes permissions on Default User registry hive.
| Date: Mon, 16 Dec 2002 00:18:34 -0800

| Lines: 24
| Message-ID: <026e01c2a4db$b9f3c930$d7f82ecf@TK2MSFTNGXA14>


| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000

| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300

| Thread-Index: AcKk27nzu4ZEnAblTJSZ6V30dhiODw==
| Newsgroups: microsoft.public.windowsxp.setup_deployment
| NNTP-Posting-Host: TK2MSFTNGXA14 10.40.1.166
| Path: cpmsftngxa06!cpmsftngxa10!cpmsftngxa09
| Xref: cpmsftngxa06 microsoft.public.windowsxp.setup_deployment:50440
| X-Tomcat-NG: microsoft.public.windowsxp.setup_deployment

Andy

unread,
Dec 17, 2002, 8:27:34 AM12/17/02
to
1. What are the settings you changed for the default user?

Just to make a small story longer:
The workstation I start with is a sysprepped W2K
workstation. I prepared 2 years ago a W2K workstation.
I used two accounts, one domain user (part of the local
user group) and one domain administrator (part of the
administrators group).
The privileged account was used for all the installations
of applications (mainly Office 2000 Pro). The User account
was used to prepare all user settings. With this I mean
all 'presets' like regional settings, screensaver, presets
for all Office applications.
At the end the User account was copied to the Default User
profile. (Control Panel -> System -> User Profiles ->
select my prepared User -> Copy To -> c:\documents and
settings\Default User -> Access for Everyone).

This system was then sysprepped and has been used to
prepare our 150 workstations.

Then I used this image and upgraded it to Windows XP SP1,
applied the chipset/motherboard drivers,
upgraded/installed Office 2002, checked and adjusted all
my presets (adjusted mainly the ones for the Office
applications). Copied my User account to the default user
as described before.
Copied this machine to a second one (to saveguard
my 'source') and sysprepped this one.

2. Do all of the settings not work after sysprep?

The basic issue is that due to the changed permissions the
Default User profile is not copied to the new users
profile. I have not checked whether all settings are
different, the first thing I notice is that my desktop is
completely different (background, icons on the desktop,
Start Menu etc.).

3. How did you check the permissons for the Default User
hive?

I logged on to the privileged account, run regedit, Load
Hive on HKU, point to c:\documents and settings\default
user\ntuser.dat. Right Mouse Click on this hive and select
permissions.
Yes I made sure I did an unload of the Default User's hive
before leaving Regedit, if not it would lock the hive on
the next logon.

4. Please attach the sysprep.inf file to your reply.

;SetupMgrTag
[Unattended]
OemSkipEula=Yes
InstallFilesPath=C:\sysprep\i386
TargetPath=\WINDOWS

[GuiUnattended]
TimeZone=110
OemSkipRegional=1
AdminPassword=*
EncryptedAdminPassword=NO
OEMDuplicatorstring=XP-04-DEC-2002-001

[UserData]
fullname="ITSERVICES"
Orgname="NATO-NAPMA"
ProductKey=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
computername=

[Networking]

[Identification]
joindomain=NAPMA_MAIN

[Branding]
BrandIEUsingUnattended=Yes

[Proxy]
Proxy_Enable=0
Use_Same_Proxy=0


I hope you don't mind I've changed the productkey?

5. What are the detail troubleshooting steps to reproduce
the issue?
I need to follow them on our site and try to find out the
issue.

Basically everything is still allright until I perform the
sysprep. So after I copied the image to a second PC, log
on with a (to the machine) new user, the (MY) Default User
profile is copied into the new user profile.
I then run sysprep with Reseal and Mini-setup to use my
sysprep.ini. After this the least I can see is the changed
permissions on the Default User hive as I described under
3. The permissions on the Default User hive before sysprep
are similar to the permissions on the Default User hive of
any of my W2K workstations.


Hope this will help you,

Regards,

Andy


Jack Wang [MS]

unread,
Dec 18, 2002, 3:15:26 AM12/18/02
to
Dear Andy,

Thank you for your efforts. I have checked the sysprep.inf file and tried to reproduce
the issue. However, it worked on my machine. In order to isolate the issue, I suggest
you use a Clean system to test the issue.

1. Install a Clean Windows XP.
2. Modify a user settings such as wallpaper, screensaver, Time Zone and desktop icons.
3. Copy to Default User.
4. Run sysprep (Reseal and Mini-setup).

Sincerely,
Jack Wang
Microsoft Online Support Professional

Get Secure! - www.microsoft.com/security

=====================================================
When responding to posts, please "Reply to Group" via
your newsreader so that others may learn and benefit
from your issue.
=====================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| Content-Class: urn:content-classes:message
| From: "Andy" <ko...@napma.nato.int>
| Sender: "Andy" <ko...@napma.nato.int>
| References: <01d801c2a0fd$b75b01c0$8df82ecf@TK2MSFTNGXA02>

<lYW0kyloCHA.2276@cpmsftngxa09> <026e01c2a4db$b9f3c930
$d7f82ecf@TK2MSFTNGXA14> <cuaVuebpCHA.1928@cpmsftngxa06>


| Subject: RE: Sysprep changes permissions on Default User registry hive.

| Date: Tue, 17 Dec 2002 05:27:34 -0800
| Lines: 111
| Message-ID: <082801c2a5d0$0f19e0d0$d3f82ecf@TK2MSFTNGXA10>


| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300

| Thread-Index: AcKl0A8ZarzZCEPbTliAnYqL74ab0A==
| Newsgroups: microsoft.public.windowsxp.setup_deployment
| NNTP-Posting-Host: TK2MSFTNGXA10 10.40.1.162
| Path: cpmsftngxa06!TK2MSFTNGP08!cpmsftngxa09
| Xref: cpmsftngxa06 microsoft.public.windowsxp.setup_deployment:50592
| X-Tomcat-NG: microsoft.public.windowsxp.setup_deployment

Andy

unread,
Dec 18, 2002, 3:50:14 AM12/18/02
to
Jack,

many thanks on helping me with this issue. I think we can
close the issue, however one question still comes to my
mind.
If I 'allow' users to write to the RunOnce key, to avoid
the Failed Operations message (allthough if the user has
the right keys/values will be succesfully added anyway)
what will I open up. The RunOnce is on HKLM, I should know
the answer, but I want to hear it from you, who is running
the RunOnce key, the user, the system???
If it is the user then I don't mind, because whatever is
on the RunOnce key will only run within the
privilege/permissions of the user. If it is anyone else I
start worrying.

Whatever can be put in a .adm I will, I've done it already
before, so that should not be a problem. However there are
just a few ones which really depend on the user, like the
TSR printer to be added, or a little tweak on the users
Outlook profile. Those are different per user and need to
be adjusted when we prepare a workstation for the user.
So I will test these using a .inf file, first withour
changing the users privilege or adjusting the permission
on the RunOnce key (ignoring the Failed Operation
message). If this doesn't work (either because there is
a 'higher' permission needed on the specific HKCU key or
whatever) then I probably will elevate the users privilege
temporately.

For the moment I have enough options (now) to taggle this
issue. I'm now waiting for the sysprep issue, as that one
is really stopping me. For the moment I've 2 test users
running my prepared image. To get them my prepared Default
User profile I've copied the profile of my unprivileged
test user to their profile. This is offcourse not ideal,
but I need feedback from them on my image ,on the
suggested changes to the user interface (compared to their
previous W2K desktop) and to the compatibility (issues)
with regard to them working with Office 2002 opposed to
the other users running Office 2000).

Andy

Andy

unread,
Dec 18, 2002, 5:16:04 AM12/18/02
to

Sorry replied to the wrong subject.

Andy

unread,
Dec 18, 2002, 5:25:26 AM12/18/02
to

Hello Jack,

I was afraid of getting this answer. I will try it. In
fact when I started preparing our new Windows XP image I
started with two systems. One based on our Windows 2000
image and one from scratch. Due to time limitations I
stopped with the one from scratch as most of our user
interface requirements where immediately there when I
upgraded the Windows 2000 box. On the one installed from
scratch I really have to dive into the books to get even
the most simple things changed from the new Windows XP
default way (logging on f.i. compared to the CAD way of
working) no My Computer on the desktop etc. I know
everything is possible, but my estimation was that it
would cost me at least two weeks more to get my scratch
image to the same state as the one upgraded from Windows
XP.
Again I will do the test, hopefully before the end of this
week, I will be out of the Office until the 6th of January
after this week friday.

I'll be back,

Andy

Andy

unread,
Dec 18, 2002, 8:51:56 AM12/18/02
to

Hello again,

in my quest to the truth on this issue I found a
workaround for the moment. I will check everything on an
image installed from scratch, but I will probably not able
to this this year.
The workaround I found is the following:

After I copy my sysprepped Image I logon (perform the mini-
setup) to a privileged account. From the registry editor I
change the permissions on the Default User hive to the
ones as they are on my Image machine
(Administrators/System/Everyone Full Control).
Then I copy my prepared user account again to the Default
User area with "permitted to use:" Everyone (again). And
now when a new user (to this machine) logs on it will get
a copy of my Default User profile.
Ok, this means I have to do this on every copy I'll make
of my Image (instead of being part of the image), but it
leaves me some time to prepare a new image from scratch.


Andy

Jack Wang [MS]

unread,
Dec 19, 2002, 8:47:29 AM12/19/02
to
Hi Andy,

Thank you for your efforts. Please take your time. I will keep an eye on your update.
Happy Holidays!

Sincerely,
Jack Wang
Microsoft Online Support Professional

Get Secure! - www.microsoft.com/security

=====================================================
When responding to posts, please "Reply to Group" via
your newsreader so that others may learn and benefit
from your issue.
=====================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| Content-Class: urn:content-classes:message
| From: "Andy" <ko...@napma.nato.int>
| Sender: "Andy" <ko...@napma.nato.int>
| References: <01d801c2a0fd$b75b01c0$8df82ecf@TK2MSFTNGXA02>
<lYW0kyloCHA.2276@cpmsftngxa09> <026e01c2a4db$b9f3c930

$d7f82ecf@TK2MSFTNGXA14> <cuaVuebpCHA.1928@cpmsftngxa06> <082801c2a5d0
$0f19e0d0$d3f82ecf@TK2MSFTNGXA10> <yy$0#1mpCHA.2152@cpmsftngxa09>
<06a901c2a67f$c7f1df90$d4f82ecf@TK2MSFTNGXA11>


| Subject: RE: Sysprep changes permissions on Default User registry hive.

| Date: Wed, 18 Dec 2002 05:51:56 -0800
| Lines: 24
| Message-ID: <08ad01c2a69c$a0efe320$d2f82ecf@TK2MSFTNGXA09>


| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300

| Thread-Index: AcKmnKDtNuKOmAioQMiCjEcVMNO7ZQ==
| Newsgroups: microsoft.public.windowsxp.setup_deployment
| NNTP-Posting-Host: TK2MSFTNGXA09 10.40.1.161
| Path: cpmsftngxa06!TK2MSFTNGP08!cpmsftngxa09
| Xref: cpmsftngxa06 microsoft.public.windowsxp.setup_deployment:50747
| X-Tomcat-NG: microsoft.public.windowsxp.setup_deployment

Andy

unread,
Feb 11, 2003, 5:40:49 AM2/11/03
to
Hello Jack,

It took me some time, had some other things to do, but I'm back on the
subject.
I've installed Windows XP froms scratch, applied all our settings and
installed all required applications. Ghosted this to a second PC, sysprepped
it, and everything seems to be OK.

There is only one annoyance left, I've prepped the regional settings (US
International Keyboard instead of the US Keyboard, different time and
short/long date format) during installation of XP. This means the settings
were Ok on my privileged account, on my normal user account, and on my
Default User profile.
All of these settings have been reset after Sysprep. I think this didn't
happen in W2K, I also cannot find an option to add my changes to Sysprep.inf
(specifically the time and date formats). Yes I could select another
language etc. but not just one or two items from the standard US settings.

Andy Komen
NATO-NAPMA


Jamie

unread,
Feb 11, 2003, 8:07:53 AM2/11/03
to
Andy,
I think you can set these options in the setupmanager (setupmgr.exe) this
will then add the settings to the sysprep.inf. I know you can atleast add
some of the settings. The one I'm not sure about is the keyboard setting.
Maybe someone will add more information.

Jamie

"Andy" <ko...@napma.nato.int> wrote in message
news:uvybpnb0CHA.2488@TK2MSFTNGP12...

Andy

unread,
Feb 11, 2003, 8:54:41 AM2/11/03
to
Jamie thanks for your reply,

I couldn't find settings like short/long date on the setup manager.
When I run the setupmgr and select Regional Settings I selected "specify
regional settings in the answer file" I checked Customize the default
regional settings, and then pressed on the Custom button.Now I can select a
different Locale (3 choices), but I cannot customize a Locale. At least as
far as I can see.
The version of the setupmgr.exe is 5.1.2600.1106.

Andy


Jack Wang [MS]

unread,
Feb 12, 2003, 10:40:17 PM2/12/03
to
Dear Andy,

I understand that you would like to change some regional settings in the sysprep file. The [RegionalSettings] section in the sysprep has some
settings for the regional settings but not all of them. Please refer to the following information.

InputLocale_DefaultUser

Specifies the input locale and keyboard layout combination for the default user. The specified combination must be supported by one of the
language groups defined by using the LanguageGroup entry, or by the default language group for the language version of Windows. The keyboard
must be defined in the KeyboardLayout entry in the [Unattended] section of Unattend.txt.

For a list of valid locale ID and keyboard layout combinations, visit the Microsoft Global Software Development Web site at
http://www.microsoft.com/globaldev/.

UserLocale_DefaultUser
Value: locale_ID

Specifies the input locale and keyboard layout combinations to be installed. The first keyboard layout specified is the default layout for the
installation. The specified combinations must be supported by one of the language groups defined by using the LanguageGroup entry, or by the
default language group for the language version of Windows. If an available language group does not support the combination specified, the default
combination is used for the installation.

The keyboard must be defined in the KeyboardLayout entry in the [Unattended] section of Unattend.txt.

This entry is ignored if the Language entry is specified.

InputLocale
Value: locale_ID:keyboard layout ID[, locale_ID:keyboard_layout_ID][, ...]

Specifies the input locale and keyboard layout combinations to be installed. The first keyboard layout specified is the default layout for the
installation. The specified combinations must be supported by one of the language groups defined by using the LanguageGroup entry, or by the
default language group for the language version of Windows. If an available language group does not support the combination specified, the default
combination is used for the installation. This entry is ignored if the Language entry is specified.

For a list of valid locale ID and keyboard layout combinations, visit the Microsoft Global Software Development Web site at
http://www.microsoft.com/globaldev/.

Language
Value: locale_ID

Specifies the language/locale to be installed. This language must be supported by one of the language groups specified by using the
LanguageGroup entry. If an available language group does not support the locale, Setup uses the default language for this version of Windows.

Important

If this entry is specified, the SystemLocale, UserLocale, and InputLocale entries are ignored.
For a list of valid locales and their language groups, visit the Microsoft Global Software Development Web site at
http://www.microsoft.com/globaldev/.

LanguageGroup
Value: language_group_ID[, language_group_ID[, ...]]

Specifies the language group for this installation. You cannot specify a particular locale or language unless the appropriate language group is
installed.

In Windows XP, if support for one language group is installed, then support for all corresponding language groups is also installed. For example, if
you install one language group from the set of East Asian Languages language groups, then support for the associated language groups is also
installed. If you install one language group from the set of complex script language groups, then all complex script language groups are installed.

The supported language group IDs are listed in the following table.

ID Language Group Corresponding Value in Regional and Language Options Control Panel
1 Western Europe and United States Installed by Default
2 Central Europe Installed by Default
3 Baltic Installed by Default
4 Greek Installed by Default
5 Cyrillic Installed by Default
6 Turkic Installed by Default
7 Japanese East Asian Language
8 Korean East Asian Language
9 Traditional Chinese East Asian Language
10 Simplified Chinese East Asian Language
11 Thai Complex Script
12 Hebrew Complex Script
13 Arabic Complex Script
14 Vietnamese Complex Script
15 Indic Complex Script
16 Georgian Complex Script
17 Armenian Complex Script

For a list of specific languages that correspond to particular language groups, see the Microsoft Global Software Development Web site at
http://www.microsoft.com/globaldev/.

SystemLocale
Value: locale_ID

Specifies the system locale to be installed. The system locale enables localized applications to run and display menus and dialog boxes in their
native language. The specified system locale must be supported by one of the language groups specified by using the LanguageGroup entry, or by
the default language group for the language version of Windows. If an available language group does not support the locale specified, the default
system locale is installed. This entry is ignored if the Language entry is specified.

UserLocale
Value: locale_ID

Specifies the user locale to be installed. The user locale controls the settings for numbers, time, currency, and dates. The specified user locale
must be supported by one of the language groups specified by using the LanguageGroup entry, or by the default language group for the language
version of Windows. If an available language group does not support the locale specified, the default user locale is installed. This entry is ignored if
the Language entry is specified.

For more information about all the options for the sysprep.inf file, please follow the steps below.

1. Find the DEPLOY.CAB file in the SUPPORT\TOOLS folder of the Windows XP setup disc.

2. Use a tool such as Winzip (www.winzip.com) to extract the ref.chm file from the DEPLOY.CAB file.

3. Open the ref.chm file and you will find all the options for the sysprep.inf file including the [RegionalSettings] section.

If you could not find the option for your settings such as the Long/Short Date, I suggest you follow the steps below. In my experience, the best
way to manipulate these settings is through the ntuser.dat file.

1. Install base system.
2. Create new user and add to local administrators group <user1>.
3. Log on as <user1> and change the settings appropriately through control panel.
4. Log off as <user1> and log back on as administrator.
5. As administrator, navigate to the following directory %systemdrive%\documents and settings\<user1> and copy the file ntuser.dat (it will
be a hidden file)
6. Now replace the following %systemdrive%\documents and settings\default user\ntuser.dat with the one from the previous step
- At this point we have replaced the ntuser.dat file from default user with the one created by <user1>
7. Now delete the <user1> account through the computer management console.
8. Through Windows explorer, delete the %systemdrive%\documents and settings\<user1> directory.
9. At this point, you can install your applications and the like which will get the machine ready to be imaged.

Also, you may deploy a policy to change the settings for your users.

Have a nice day!

Sincerely,
Jack Wang
Microsoft Online Support Professional

Get Secure! - www.microsoft.com/security

=====================================================
When responding to posts, please "Reply to Group" via
your newsreader so that others may learn and benefit
from your issue.
=====================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------

|From: "Andy" <ko...@napma.nato.int>


|References: <01d801c2a0fd$b75b01c0$8df82ecf@TK2MSFTNGXA02> <lYW0kyloCHA.2276@cpmsftngxa09> <026e01c2a4db$b9f3c930
$d7f82ecf@TK2MSFTNGXA14> <cuaVuebpCHA.1928@cpmsftngxa06> <082801c2a5d0$0f19e0d0$d3f82ecf@TK2MSFTNGXA10> <yy$0#

1mpCHA.2152@cpmsftngxa09> <06a901c2a67f$c7f1df90$d4f82ecf@TK2MSFTNGXA11> <08ad01c2a69c$a0efe320$d2f82ecf@TK2MSFTNGXA09>
<wgd9nU2pCHA.3248@cpmsftngxa06> <uvybpnb0CHA.2488@TK2MSFTNGP12> <OhOEK6c0CHA.1748@TK2MSFTNGP12>
|Subject: Re: Sysprep changes permissions on Default User registry hive.
|Date: Tue, 11 Feb 2003 14:54:41 +0100
|Lines: 13
|X-Priority: 3
|X-MSMail-Priority: Normal
|X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
|X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
|Message-ID: <O2SO#Td0CHA.2344@TK2MSFTNGP10>
|Newsgroups: microsoft.public.windowsxp.setup_deployment
|NNTP-Posting-Host: 195.108.76.61
|Path: cpmsftngxa06!TK2MSFTNGP08!TK2MSFTNGP10
|Xref: cpmsftngxa06 microsoft.public.windowsxp.setup_deployment:57838
|X-Tomcat-NG: microsoft.public.windowsxp.setup_deployment

Andy

unread,
Feb 13, 2003, 10:56:09 AM2/13/03
to
Jack,

thanks for the reply. I've the fealing you're throwing at me, what a huge
amount of info.
I think I understand and understood what's in there. However, I was looking
for a simple solution for a simple change. Basically if I only want to
change the Currency Symbol from Dollar to Euro I have to find a UserLocale
matching this, if it exists at all. The link you mentioned (globaldev) shows
me how to do things manually, I haven't found a list of locale_ID's yet. I
hoped for a simple solution like add Currency_Symbel=? at this and this
place in your sysprep.inf. Did I miss something????

Andy


Jack Wang [MS]

unread,
Feb 14, 2003, 4:00:59 AM2/14/03
to
Hi Andy,

You may refer to the following artilcle to find out the Local IDs.

http://www.microsoft.com/globaldev/reference/winxp/xp-lcid.mspx

There is no option to customize the detail symbol such as Currency Symbol. The
symbol information is stored in the registry. You may check the following key to find
the information.

HKEY_CURRENT_USER\Control Panel\International

So, I suggest you edit the ntuser.dat file to change the symbols or deploy a policy
to edit the registry key above to change the symbols.

Have a nice day!

Sincerely,
Jack Wang
Microsoft Online Support Professional

Get Secure! - www.microsoft.com/security

=====================================================
When responding to posts, please "Reply to Group" via
your newsreader so that others may learn and benefit
from your issue.
=====================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
|From: "Andy" <ko...@napma.nato.int>
|References: <01d801c2a0fd$b75b01c0$8df82ecf@TK2MSFTNGXA02>
<lYW0kyloCHA.2276@cpmsftngxa09> <026e01c2a4db$b9f3c930
$d7f82ecf@TK2MSFTNGXA14> <cuaVuebpCHA.1928@cpmsftngxa06>
<082801c2a5d0$0f19e0d0$d3f82ecf@TK2MSFTNGXA10> <yy$0#1mpCHA.2152
@cpmsftngxa09> <06a901c2a67f$c7f1df90$d4f82ecf@TK2MSFTNGXA11>
<08ad01c2a69c$a0efe320$d2f82ecf@TK2MSFTNGXA09> <wgd9nU2pCHA.3248
@cpmsftngxa06> <uvybpnb0CHA.2488@TK2MSFTNGP12> <OhOEK6c0CHA.1748

@TK2MSFTNGP12> <O2SO#Td0CHA.2344@TK2MSFTNGP10> <v0GcZGx0CHA.452
@cpmsftngxa08>


|Subject: Re: Sysprep changes permissions on Default User registry hive.

|Date: Thu, 13 Feb 2003 16:56:09 +0100
|Lines: 15


|X-Priority: 3
|X-MSMail-Priority: Normal
|X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
|X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

|Message-ID: <#nM4Kh30CHA.1840@TK2MSFTNGP12>
|Newsgroups: microsoft.public.windowsxp.setup_deployment
|NNTP-Posting-Host: 195.108.76.61
|Path: cpmsftngxa06!TK2MSFTNGP08!TK2MSFTNGP12
|Xref: cpmsftngxa06 microsoft.public.windowsxp.setup_deployment:58097
|X-Tomcat-NG: microsoft.public.windowsxp.setup_deployment

Andy

unread,
Feb 17, 2003, 3:24:25 AM2/17/03
to
Hello Jack,

I replied to your entry on friday, however I cannot find this entry back.
Therefore I'll try it again.
I understand most of what you're writing, but I hope(d) that there was an
simpler solution.
If I only want to change f.i. the Currency_symbol from dollar to euro, I
would have to find a locale_ID with all the standard (US) settings and with
only a different Currency_symbol.
That's not easy, I have a number of changes from the standard US settings
(short/longdate/time_format/currency_symbol/Measurement System).
I would have expected (again) a seasier solution like a ShortDate =
dd-MMM-yyyy entry somewhere in the sysprep.inf.
The globaldev website tells a lot about manually changing these settings, I
missed the entry on Locale_ID etc.

Andy


Jack Wang [MS]

unread,
Feb 18, 2003, 1:33:29 AM2/18/03
to
Hi Andy,

You may refer to the following artilcle to find out the Local IDs.

http://www.microsoft.com/globaldev/reference/winxp/xp-lcid.mspx

There is no option to customize the detail symbol such as Currency Symbol. The
symbol information is stored in the registry. You may check the following key to find
the information.

HKEY_CURRENT_USER\Control Panel\International

So, I suggest you edit the ntuser.dat file to change the symbols or deploy a policy
to edit the registry key above to change the symbols.

Have a nice day!

Sincerely,
Jack Wang
Microsoft Online Support Professional

Get Secure! - www.microsoft.com/security

=====================================================
When responding to posts, please "Reply to Group" via
your newsreader so that others may learn and benefit
from your issue.
=====================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
|From: "Andy" <ko...@napma.nato.int>
|References: <01d801c2a0fd$b75b01c0$8df82ecf@TK2MSFTNGXA02>
<lYW0kyloCHA.2276@cpmsftngxa09> <026e01c2a4db$b9f3c930
$d7f82ecf@TK2MSFTNGXA14> <cuaVuebpCHA.1928@cpmsftngxa06>

<082801c2a5d0$0f19e0d0$d3f82ecf@TK2MSFTNGXA10> <yy$0#1mpCHA.2152
@cpmsftngxa09> <06a901c2a67f$c7f1df90$d4f82ecf@TK2MSFTNGXA11>
<08ad01c2a69c$a0efe320$d2f82ecf@TK2MSFTNGXA09> <wgd9nU2pCHA.3248
@cpmsftngxa06> <uvybpnb0CHA.2488@TK2MSFTNGP12> <OhOEK6c0CHA.1748
@TK2MSFTNGP12> <O2SO#Td0CHA.2344@TK2MSFTNGP10> <v0GcZGx0CHA.452
@cpmsftngxa08>

|Subject: Re: Sysprep changes permissions on Default User registry hive.

|Date: Mon, 17 Feb 2003 09:24:25 +0100
|Lines: 19


|X-Priority: 3
|X-MSMail-Priority: Normal
|X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
|X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

|Message-ID: <espyX3l1CHA.1752@TK2MSFTNGP10>
|Newsgroups: microsoft.public.windowsxp.setup_deployment
|NNTP-Posting-Host: 195.108.76.61
|Path: cpmsftngxa08!cpmsftngxa06!TK2MSFTNGP08!TK2MSFTNGP10
|Xref: cpmsftngxa08 microsoft.public.windowsxp.setup_deployment:59609
|X-Tomcat-NG: microsoft.public.windowsxp.setup_deployment

Andy

unread,
Feb 18, 2003, 3:49:53 AM2/18/03
to
Thanks Jack,

I think I know where the limitations are.
Just for the right order, I did change things on the NTUSER.DAT, however
SYSPREP restores the original settings.

Andy


Jack Wang [MS]

unread,
Feb 18, 2003, 4:32:42 AM2/18/03
to
Hi Andy,

Thank you for your efforts. Based on the current situation, I suggest you create a
group policy to change the following registry key and deploy it to the clent
computers after the installation.

HKEY_CURRENT_USER\Control Panel\International

318753 HOW TO: Create a System Policy Setting in Windows 2000
http://support.microsoft.com/?id=318753

323639 HOW TO: Create Custom Administrative Templates in Windows 2000
http://support.microsoft.com/?id=323639

Have a nice day!

Sincerely,
Jack Wang
Microsoft Online Support Professional

Get Secure! - www.microsoft.com/security

=====================================================
When responding to posts, please "Reply to Group" via
your newsreader so that others may learn and benefit
from your issue.
=====================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
|From: "Andy" <ko...@napma.nato.int>
|References: <01d801c2a0fd$b75b01c0$8df82ecf@TK2MSFTNGXA02>
<lYW0kyloCHA.2276@cpmsftngxa09> <026e01c2a4db$b9f3c930
$d7f82ecf@TK2MSFTNGXA14> <cuaVuebpCHA.1928@cpmsftngxa06>
<082801c2a5d0$0f19e0d0$d3f82ecf@TK2MSFTNGXA10> <yy$0#1mpCHA.2152
@cpmsftngxa09> <06a901c2a67f$c7f1df90$d4f82ecf@TK2MSFTNGXA11>
<08ad01c2a69c$a0efe320$d2f82ecf@TK2MSFTNGXA09> <wgd9nU2pCHA.3248
@cpmsftngxa06> <uvybpnb0CHA.2488@TK2MSFTNGP12> <OhOEK6c0CHA.1748
@TK2MSFTNGP12> <O2SO#Td0CHA.2344@TK2MSFTNGP10> <v0GcZGx0CHA.452

@cpmsftngxa08> <espyX3l1CHA.1752@TK2MSFTNGP10> <INiJfex1CHA.2848
@cpmsftngxa06>


|Subject: Re: Sysprep changes permissions on Default User registry hive.

|Date: Tue, 18 Feb 2003 09:49:53 +0100
|Lines: 9


|X-Priority: 3
|X-MSMail-Priority: Normal
|X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
|X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

|Message-ID: <#F8#Oqy1CHA.2912@TK2MSFTNGP10>
|Newsgroups: microsoft.public.windowsxp.setup_deployment
|NNTP-Posting-Host: 195.108.76.61
|Path: cpmsftngxa06!TK2MSFTNGP08!TK2MSFTNGP10
|Xref: cpmsftngxa06 microsoft.public.windowsxp.setup_deployment:58689
|X-Tomcat-NG: microsoft.public.windowsxp.setup_deployment

0 new messages