Jump to content

Access default profile from cmdlines.txt


SoerenDahl

Recommended Posts

Im working on a new design where I install a image using Microsoft ImageX tool. The image got sysprepped so it runs the minisetup.

I want to access the default user profile, so if I add something to HCKU then it shows in all new profiles. But when Im trying to use HCKU or HKEY_USERS\.DEFAULT then it doesnt show up in the new accounts.

I got told its possible to load the hive so you can use HKEY_USERS\.DEFAULT to access the default user profile.

Anyone who can help?

Link to comment
Share on other sites


We do something similar on our XP builds.

You can use REG LOAD to load the Default User's profile and then modify it.

Kind of like this:

REG LOAD HKU\TEMP "C:\Documents and Settings\Default User\ntuser.dat" (Use the matching path for Vista)

You can then make any modifications to the profile. Then unload it and your changes will be kept.

REG UNLOAD HKU\TEMP

The ".Default" hive in the Registry (KCU\.Default) is not the default user, but the user settings when the system is sitting at the login screen.

Edited by mmarable
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...