Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Here's how to create a Default Profile without using SysPrep

10 May 2014   #11
VikingKen

Windows 7
 
 

Working on it Now! Let you know how it works!


My System SpecsSystem Spec
.
08 Aug 2014   #12
AJP2

Windows 7 Pro, 64 bit
 
 

Thanks so much for this nice work.

Swapping steps 16 and 17 help a lot in the clean up process. Also searching just for "44BBA840" found the other items that needed be changed.

This process works sweet. Thanks for sharing it.
My System SpecsSystem Spec
17 Dec 2014   #13
drift3r

windows 7 Enterprise SP1 x64
 
 

I know this is a super old thread but I was testing this out since some of the guys at work was trying to implement it. Works alright but I think I may be missing something. When you bulk find and replace all instances of c:\\users\\{username} with the %userprofile% variable and then try to install any apps that would normally drop a configuration/preference folder under the c:\users\{username} directory, it just creates a user folder named %userprofile% and drops the config folder in there.

I did a bunch of research and it appears the registry cannot expand the %userprofile% variable since it is a regular string type in the registry. Only way that seems to work is if you change it to a REG_EXPAND_SZ type but that's where it gets crazy. Did more research on this as well and seems the only way to change it to a REG_EXPAND_SZ type is to manually input the ASCII values as hex values.. so instead of using something like %USERPROFILE%\\appdata\\local\\Microsoft\\Windows Media\\{filename}, I would have to set the value as hex(2):{crazy long hex values}. I have not tested this fully since there are about 15-20 places where I would have to manually convert each string over to hexadecimal and copy it back into the reg file....

Like I said I know it's an old thread but does anyone know what I'm missing or what Im doing wrong? I can't use system/environment variables in the reg edits...
My System SpecsSystem Spec
.

11 Feb 2015   #14
Heinz98366

Win 7 x64
 
 
All users writing to C:\Users\Default

I have a few applications that need to write data to the "Users" profile and instead I am noticing that it's writing to c:\Users\Default\...

Is there a way around this?
My System SpecsSystem Spec
09 Jul 2015   #15
FixitMad

Windows 7 Pro x64
 
 

I think it is important to re-read steps #16 and #17. The only thing I changed was under Step #17. It was indicated to use %USERPROFILE% but instead I used %USERNAME% and all new users logging in under that system with the updated "default" profile are having their information point to their folders now.

When using the %USERPROFILE% under Step 17, I noticed that new users would not have their username automatically populate with software that wanted to save settings to.

Under Step #16 it is important to remember to to change the Username of "to_be_default" to "Default" instead of the %USERPROFILE%.

Recap:

Step 16: Change the Username of "to_be_default" to "Default" under that one specific registry section

Step 17: Change all "to_be_default" to "%USERNAME%" for all remaining items

Step 19: After you have re-imported the updated registry information, remember to click File | select Unload Hive in the registry. That step was missing from the original steps listed above on Page 1.


Hope this helps. and a Big Thanks to badshah for posting this thread in the first place!
My System SpecsSystem Spec
31 Aug 2015   #16
Michael33

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

My System SpecsSystem Spec
24 Dec 2015   #17
Howardd

Windows 7 64bit
 
 

Although I haven't tested the %username% theory yet, I can say that this method comes very close to actually working. The main issue I have discovered is that when attempting to run the windows 7 backup using a newly created user, the backup will fail. I suspect it has to do with the %userprofile% issue as mentioned above. I exported/edited/imported the entries in the registry: "HKEY_CURRENT_USER\Sofware\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" I simply did a replace all on %userprofile% with the current user profile name eg. c:\\user, and the backup started working again. Problem is I don't want to edit 200 shell folders.. Hopefully the %username% fix above will fix this too. Cheers
My System SpecsSystem Spec
25 Jan 2016   #18
romulocarlos

Windows 7 32bits
 
 

So, it's an old thread, but I need to tell you something...

When we copy the to_be_default folder, we end up with a folder with lots of files and folders useless to default user. Sometimes, the new user don't 'get' all modifications: it misses some icons, some folders poits to 'to_be_default', and other things.

I think is because the NTFS permissions, or the junctions inside 'default' folder. Maybe the %userprofile% or %username% variable. Maybe all of this.

So, here is how I'm doing for now:
  1. Activate the administrator account and create a new account for testing (let's call new_account);
  2. Log with an existing account (let's call my_account), and make all modifications I need (desktop, icons, homepages, energy, etc);
  3. Login as administrator, run command prompt, and type these commands:
    1. reg load hklm\default_account c:\users\default\ntuser.dat
    2. reg load hklm\my_account c:\users\my_account\ntuser.dat
  4. Now we have both profiles loaded in the registry. Now, we will copy all keys and values we changed with my_account to default_account. Let's take 'folder options' as example:
    1. reg copy hklm\my_account\software\microsoft\widnows\currentversion\explorer\advanced hklm\default_account\software\microsoft\widnows\currentversion\explorer\advanced /f /s
  5. Use the above command to all changes you made. Maybe you need to know wich keys was modified, but this forum have a lot of information about this;
  6. A note: if a key or value uses spaces, type the key with ". For example: "hklm\default_account\software\microsoft\internet explorer";
  7. When you finish copying, unload all hives with:
    1. reg unload hklm\default_account
    2. reg unload hklm\my_account
Thats it. When you log with new_account, it 'pushes' the newly modified NTUSER.DAT from c:\users\default. If you want, you only need to copy c:\users\default\ntuser.dat to another place, for backup or to use in another machine. Don't need to copy the entire Default or new_account folder.


For now, the only thing I can't do with this method is install Microsoft Update. Yes, there is a difference between Windows Update and Microsoft Update. Windows Update install updates for Windows itself, and Microsoft Update install updates to a lot of Microsoft programs, like Office, NET Framework, and others. If you know how install Microsoft Update, or the files and keys it uses, let me know.
My System SpecsSystem Spec
25 Feb 2016   #19
thecamba

Windows 7 Ultimate x64
 
 
Wonderful

I have been sitting on this article for about 2 years now and finally decided to implement it. Granted, I haven't seen all the updates everyone has been posting. I will implement them on my next test around. I will say that this method did work for my Windows 10 Pro default profile. Everything worked well. Only issue was Start Menu wouldn't come up. Did a restart, and bam, its working. Still testing it, but just want to let everyone know that this method will work on Win 10.

My next build I will do %username% as opposed to %userprofile%. I hadn't seen those posts yet.

Still testing and will let you all know if anything else is broken.
My System SpecsSystem Spec
14 Sep 2016   #20
FixitMad

Windows 7 Pro x64
 
 
Process does not seem to be fully working under Windows 10

I tried to use the same procedure that I have been using Successfully with Windows 7 Pro with Windows 10 and I am getting strange issues the Default profile copy having AppData copies containing not all the files in them.

Normally under my "Original" default profile I have something called AppData and then another folder called Application Data

When I follow the process from before, the new "Default" gets AppData and then Appdata - Copy and AppData - Copy (2)

I am not sure what is causing this but I"m sure it has to do with some setting under Windows 10 that I cannot figure out how to change.

Has anyone else had similar issues following this Windows 7 process under a new Windows 10 system?
My System SpecsSystem Spec
Reply

 Here's how to create a Default Profile without using SysPrep




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
IE 11 Default Search Provider Resets After Sysprep
I'm trying to make a Windows 7 Ent. x64 image for deployment but for the life of me I can't get the default search provider to stick after the workstation syspreps. I've followed Microsoft's instructions and added a section in my answer file that adds Google as a search provider, but when I try to...
Installation & Setup
User Profile Service - default profile
Has anyone come across this issue happening frequently lately .... In the past 3 weeks I must have had 20+ PC's / Laptops that have had the same problem (see image below) Although I know how to fix it and I have had it crop up before, I've never had it hit so many units in such a short space...
General Discussion
Sysprep - Windows 7 - unable to sysprep image that joins domain
Good morning all: Below is my unattend.xml. I am using the sysprep + win7 for creating virtual machines in Red Hat Enterprise Virtualization 3.0 but having difficulty getting them to auto-join the domain. My sysprep progression proceeds normally and completes. The initial boot of the image...
Virtualization
Does Sysprep Copy profile work or not?
I am trying to sysprep a test machine since we will have to be switching to windows 7. I have done a clean install of windows 7 and the only thing I am putting into the WAIK answer file is copy profile=true in specialize pass. However I cannot get it to work at all. I get an error about not...
Installation & Setup
problem with Sysprep changing the default program for .mov files
I have a problem with Sysprep changing the default program for .mov files (and other Apple files) from Quicktime or VLC to Windows Media Player. I'm looking for a way to change these settings back after Sysprep is complete using either a .reg file or a VBS script. (I've tried using an AutoIT...
General Discussion
How to change default profile/computer name?
Hi. i'm sorry if i ask something dumb coz i am! i'm new in using windows 7 and dont know how to cook the system. all i can operate is the one and only microsoft word. so here's my problem: my laptop was reinstalled. and when i checked it, i found the default profile (or computer?) name changed to...
Customization


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 07:08.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App