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: Local accounts and custom profile

11 Aug 2012   #11
balubeto

Windows 7
 
 

Quote   Quote: Originally Posted by F5ing View Post
Apparently you've gotten some good advice there. Maybe the following can help you as well:

New Installation: How to Create a General System Image in Audit Mode
The generalize option of Sysprep does not remove the additional drivers installed in Audit mode. Right?

Is true that some drivers have difficulty to be installed and to work in Audit mode?

If I wanted download and install all updates of Windows 7 from Windows Update in Audit mode, when I should run its activation?

Thanks

Bye


My System SpecsSystem Spec
.
11 Aug 2012   #12
Kari

Microsoft Community Contributor Award Recipient

 

Quote   Quote: Originally Posted by balubeto View Post
Quote   Quote: Originally Posted by F5ing View Post
Apparently you've gotten some good advice there. Maybe the following can help you as well:

New Installation: How to Create a General System Image in Audit Mode
The generalize option of Sysprep does not remove the additional drivers installed in Audit mode. Right?
WRONG! The generalize option removes all hardware drivers replacing them with general hardware independent windows drivers!

Quote   Quote: Originally Posted by balubeto View Post
Is true that some drivers have difficulty to be installed and to work in Audit mode?
No.

Quote   Quote: Originally Posted by balubeto View Post
If I wanted download and install all updates of Windows 7 from Windows Update in Audit mode, when I should run its activation?
Audit Mode is to customize your Windows installation for further deployment. Activation should be done first after finalizing the setup, after first OOBE boot. Never when in Audit Mode.

Kari
My System SpecsSystem Spec
12 Aug 2012   #13
balubeto

Windows 7
 
 

Quote   Quote: Originally Posted by Kari View Post
Quote   Quote: Originally Posted by balubeto View Post
Quote   Quote: Originally Posted by F5ing View Post
Apparently you've gotten some good advice there. Maybe the following can help you as well:

New Installation: How to Create a General System Image in Audit Mode
The generalize option of Sysprep does not remove the additional drivers installed in Audit mode. Right?
WRONG! The generalize option removes all hardware drivers replacing them with general hardware independent windows drivers!
So, how do I remove the Administrator account, all system-specific information, any system restore points and the event logs and reset the SIDs without using the generalize option?

Thanks

Bye
My System SpecsSystem Spec
.

13 Aug 2012   #14
WinOutreach2

Windows 7 Enterprise 64bit
 
 

You can use the same Answer File which specifies to copy the default profile from administrator to specify to keep all device drivers intact through the generalize command, but you will have to generalize the machine in order to run OOBE which is required to use the unattend file and to remove the system from Audit Mode. Details on the PersistAllDevices setting can be found under the Sysprep Process section of the TechNet article How Sysprep Works under the header Persisting Plug and Play Device Drivers During Generalize.

In response to your question regarding your procedure, it is definitely correct; you have a good handle on things. Just beware that the answer file can be called during the setup procedure of Windows once the environment boots after Sysprep has been run. As such, if your USB stick is removed, your image may fail. The easiest way to avoid this is to place the Sysprep file in the image itself, on the C: drive, so that it is copied to each system as part of the image and is always accessible.
My System SpecsSystem Spec
13 Aug 2012   #15
balubeto

Windows 7
 
 

So, if I change my CopyProfile.xml file in:

Code:
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="generalize">
        <component name="Microsoft-Windows-Security-Licensing-SLC" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="Error" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <SkipRearm>1</SkipRearm>
        </component>
       <component name="Microsoft-Windows-PnpSysprep" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
          <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
       </component>
    </settings>
    <settings pass="specialize">
        <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="Error" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <CopyProfile>true</CopyProfile>
        </component>
    </settings>
    <cpi:offlineImage cpi:source="" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</Unattend>
the c:\windows\system32\sysprep\sysprep.exe /oobe /reboot /generalize /unattend:c:\CopyProfile.xml command, run in Audit mode, not remove the additional drivers installed in OOBE and Audit mode. True?

Thanks

Bye
My System SpecsSystem Spec
13 Aug 2012   #16
WinOutreach2

Windows 7 Enterprise 64bit
 
 

Running Sysprep with those settings in the answer file will cause the Administrator profile which had been configured in Audit Mode to be copied to the default profile and all drivers to be preserved. The environment will boot to the Out of Box Experience (OOBE) or Windows Welcome where you will be prompted for computer name, user name, etc.

Bear in mind your linked answer file is for a 32 bit environment. It also will not reset the activation information as specified with SkipRearm.
My System SpecsSystem Spec
14 Aug 2012   #17
balubeto

Windows 7
 
 

Quote   Quote: Originally Posted by WinOutreach2 View Post
Running Sysprep with those settings in the answer file will cause the Administrator profile which had been configured in Audit Mode to be copied to the default profile and all drivers to be preserved. The environment will boot to the Out of Box Experience (OOBE) or Windows Welcome where you will be prompted for computer name, user name, etc.

Bear in mind your linked answer file is for a 32 bit environment. It also will not reset the activation information as specified with SkipRearm.
Why the SkipRearm=1 statement does not reset the activation?

Thanks

Bye
My System SpecsSystem Spec
14 Aug 2012   #18
WinOutreach2

Windows 7 Enterprise 64bit
 
 

The purpose of the SkipRearm setting is to control whether activation is reset or not. A setting of 1 skips the activation reset, a setting of 0 allows the /generalize command to reset activation information in preparation for receiving new licensing. The details can be found here on TechNet.
My System SpecsSystem Spec
11 Sep 2012   #19
balubeto

Windows 7
 
 

Before executing the sysprep /generalize /oobe /reboot /unattend:c:\CopyProfile.xml command, I have to run the "disk cleanup" utility of Windows to delete any unnecessary files or the generalize option already performs ​​this work?

If I copy the CopyProfile.xml file to the c:\windows\panther directory and I renamed it in Unattend.xml, I could remove the unattend option from the sysprep command?

Thanks

Bye
My System SpecsSystem Spec
Reply

 Local accounts and custom profile




Thread Tools




Similar help and support threads
Thread Forum
Network Drive Credentials without local accounts
Hey guys, im looking for some help with network drives. I am currently running win7 ultimate and am trying to share 2 drives: One HDD for movies and the other is a virtual BD-ROM drive. Problem is, i want to set it up so that the users on the network can have their own username and password to log...
Network & Sharing
Why I use Outlook.com for my custom email accounts
Read more : Why I use Outlook.com for my custom email accounts (and how you can too) | ZDNet
News
Un-redirecting AppData from network share back to local user profile
Hi everyone! I have quite a dilemma at work. Let me explain... Last year we rolled out all new Windows 7 systems and new domain controllers with Server 2008 R2 and redid some of our group policies. For reasons unknown, at that time I decided it was a good idea to redirect the AppData folder to...
Network & Sharing
Use same Local profile for all AD users
Hello: I have a group of computers joined to an AD domain that are running windows 7 Enterprice and the DCs are windows 2008 R2. My objective is to get all of these computers (about 50 of them) so that when any AD user logs in they all use the same profile folder under C:\Users. This means that...
Network & Sharing
Delete copy of local profile not working
We have the GPO setup at our company which deletes a copy of local profile after 1 day. All our PC are XP Win7 What we are finding is for some reason on log off or on startup it is trying to delete a profile but cant and event viewer show errors either with event code 1533 or 1530 ...
Network & Sharing
more workgroups at local accounts
Hi people I use my laptop at home and also in my work. But I have got a problem with diference in workgroups. In work we use workgroup A and at home I use workgroup B. I also use two accounts. One in work and second at home. I need to set up one workgroup in home account and another workgroup...
Network & Sharing


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 22:35.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App