Audit Mode - No changes get applied to default profile



  • Server
    • FOG Version: 1.3.4 SVN 6064
    • OS: Ubuntu (13?)
    Client
    • Service Version:
    • OS: Windows 10
    Description

    I’ve read that making Default Profile modifications in Windows 10 is more difficult than in earlier versions. However, I think I’m going about it the right way, but am not seeing the fruits of my efforts.

    First I run SysPrep.exe and choose these options:

    alt text

    Then I make the changes I want applied to the Default Profile. These are the changes I attempted to make in the Administrator account in Audit mode:

    • Change Windows color scheme
    • Change Settings app theme to dark
    • Change profile picture (it wouldn’t let me. Had to manually copy over bmp’s and jpg’s within system files. Even then, the old default picture showed in the middle of the login screen, though all other instances of the profile picture were my modified version)
    • Change lock screen (it wouldn’t let me. Had to copy over jpg’s within system files)
    • Change wallpaper
    • Change desktop icons
    • Change default apps in Settings

    Then I used these options in SysPrep.exe:
    alt text
    …Network Booted into FOG, captured the image, then booted into Windows. Absolutely none of the profile changes I listed carried over (besides the ones where I hacked into the system’s files [profile picture/lock screen]).

    So,

    • How do you make changes to the Default Profile in Win10
    • Is there a way to change the taskbar icons of the Default Profile in Win10 (I read that Win10 only supports carrying over 5 custom taskbar icons through unattend.xml…But how?)

    XML File


  • Moderator

    Try using defprof. It can transfer a lot of the settings to default profile.

    https://www.forensit.com/support-downloads.html



  • If you install windows 10 but at the Blue express setting screen switch to audit mode, you should find you can produce a lot of customizations that will persist through a sysyprep step.
    Bear in mind that anything that maps to the HKCU will not persist as part of sysprep is clearing this location. So changes that you want to persist should be on the HKLM branch.
    Then its a matter of ensuring your sysprep answer file sets everything else up via scripts, powershell cmdlets or such.



  • I have custom slideshow backgrounds, screensaver, theme settings, specific programs installed, visual effects ‘adjusted to best performance’, specific services disabled, etc on my images and they apply to all future users.

    Here is the process by which I do it:

    1. Fresh install of Windows 10 (we use enterprise) I do this the very first time with the computer offline.
    2. Once I am logged into windows as the default admin I then go to gpedit.msc and prevent the store from running so that no apps can update. (updating apps and the provisioning consequences were a massive pain for me so I just don’t mess with them)
    3. Start customizing the profile how I want. Reconnect network.
    4. Completely exhaust updates and install MAK key. Reboot a few times for good measure. Run chkdsk c: /f and then optimize the drive. Reboot a few more times. Also make sure that I’ve set power options like I want them.
    5. Navigate to system32/sysprep, shift right click open elevated powershell
    6. .\sysprep /generalize /oobe /unattend:<insert full path name to your unattend.xlm file here> /shutdown
    7. Go queue a capture task up in FOG


  • Hi,

    you need to add copyprofile to your unattend.xml to get changes to default profile that you are doing in auditmode.

    <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    ...
    <CopyProfile>true</CopyProfile>
    ...
    </component>
    

    For Taskbar Customisations you can use powershell:

    Export-StartLayout -Path "C:\Layout.xml"
    Import-StartLayout -LayoutPath "C:\Layout.xml" -MountPath "C:\"
    

    Afai remember Taskbar Icons defined by import-startlayout cannot be removed by the user, but i am not 100% sure about that fact.

    @wad11656 said in Audit Mode - No changes get applied to default profile:

    • Change Windows color scheme
    • Change Settings app theme to dark
    • Change profile picture (it wouldn’t let me. Had to manually copy over bmp’s and jpg’s within system files. Even then, the old default picture showed in the middle of the login screen, though all other instances of the profile picture were my modified version)
    • Change lock screen (it wouldn’t let me. Had to copy over jpg’s within system files)
    • Change wallpaper
    • Change desktop icons
    • Change default apps in Settings
    • Profile Picture Change isn’t possible in Audit Mode without tricks ;)
    • Lockscreen picture change is also not possible in Auditmode without tricks ;)
    • Default Apps will be resetted if a new user log’s in so forget about that ;)

    For Default Apps you can try the following with dism:
    https://www.tenforums.com/tutorials/8744-export-import-default-app-associations-new-users-windows.html

    But afai remember it won’t work, but i forgot about my tests ;)

    Also, read this: https://forums.fogproject.org/topic/9877/windows-10-pro-oem-sysprep-imaging

    Regards X23


  • Moderator

    I had to do some of this about a year ago, I don’t miss it. Win10 makes working with profiles difficult. What I ended up doing if I recall is setting everything via win 2012r2 (domain functionality level) group policy and called it done. I had more important things to worry about at the time.


Log in to reply
 

490
Online

39005
Users

10720
Topics

101776
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.