Jump to content

  • 0
Jeff May-Stahl

Script to modify Default User Profile


I have a short script to modify some HKCU reg entries for the Default user. I want to apply this to the reference image so it gets applied to new users. I know this can be done with GPO. I am using MDT and have it pause after the script runs so I can test it. It is says completed successfully but it doesnt do anything. Even when I run it from a cmd prompt manually during the pause. This does not work when running it manually on a machine either.

This is the script

REM *****************************************************
REM  Script configures the Default User Profile
REM *****************************************************
echo. Load default profile HIVE and apply registry settings.
REM Load the default profile hive

REM Configure the default user profile


REM Unload the default profile hive


This is the reg file:

Windows Registry Editor Version 5.00

; Disable let apps use my advertising ID.


; Change explorer default view to Thic PC.


; Disable Feedback.


; Disable menu show delay.

[hku\temp\Control Panel\Desktop]

; Disable Bing Search.


; Turn off show me tips about windows.


; Turn off start menu app suggestions.


; Hiden taskbar search box.


; Purge cache for IE on every close of IE.  Non persistence

[hku\temp\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Cache]

Edited by Jeff May-Stahl

Share this post

Link to post
Share on other sites

1 answer to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.