Jump to content


Jeff May-Stahl

Established Members
  • Posts

    27
  • Joined

  • Last visited

Everything posted by Jeff May-Stahl

  1. I changed the reg file to [HKEY_USERS instead of [HKU and it works perfectly
  2. 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 @ECHO OFF REM ***************************************************** REM Script configures the Default User Profile REM ***************************************************** echo. echo. Load default profile HIVE and apply registry settings. echo. REM Load the default profile hive REG LOAD HKU\TEMP C:\Users\Default\NTUSER.DAT REM Configure the default user profile REG IMPORT HKCU.reg REM Unload the default profile hive REG UNLOAD HKU\TEMP This is the reg file: Windows Registry Editor Version 5.00 ; Disable let apps use my advertising ID. [hku\temp\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo] "Enabled"=dword:0 ; Change explorer default view to Thic PC. [hku\temp\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] "LaunchTo"=dword:1 ; Disable Feedback. [hku\temp\SOFTWARE\Microsoft\Siuf\Rules] "NumberOfSIUFInPeriod"=dword:0 ; Disable menu show delay. [hku\temp\Control Panel\Desktop] "MenuShowDelay"=dword:0 ; Disable Bing Search. [hku\temp\SOFTWARE\Microsoft\Windows\CurrentVersion\Search] "BingSearchEnabled"=dword:0 ; Turn off show me tips about windows. [hku\temp\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager] "SoftLandingEnabled"="" ; Turn off start menu app suggestions. [hku\temp\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager] "SystemPaneSuggestionsEnabled"=dword:0 ; Hiden taskbar search box. [hku\temp\Software\Microsoft\Windows\CurrentVersion\Search] "SearchboxTaskbarMode"=dword:1 ; Purge cache for IE on every close of IE. Non persistence [hku\temp\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Cache] "Persistent"=dword:0
×
×
  • 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.