Rem ##### Do this for the reg hive of the default user template SET HKEY=HKU\Default REG LOAD "%HKEY%" c:\Users\Default\NTUSER.DAT >nul Call :Profile_Settings REG UNLOAD "%HKEY%" rem ##### Now set it to do the Current user and rerun the middle part Set HKEY=HKCU Call :Profile_Settings Goto exit Rem ############################################################### :Profile_Settings REM ##### Sound and end-application REG ADD "%HKEY%\Control Panel\Sound" /v Beep /t REG_SZ /d NO /f >nul REG ADD "%HKEY%\Control Panel\Sound" /v ExtendedSounds /t REG_SZ /d NO /f >nul REG ADD "%HKEY%\Control Panel\Desktop" /v HungAppTimeout /t REG_SZ /d 5000 /f >nul REG ADD "%HKEY%\Control Panel\Desktop" /v AutoEndTasks /t REG_SZ /d 1 /f >nul REG ADD "%HKEY%\Control Panel\Desktop" /v WaitToKillAppTimeout /t REG_SZ /d 4000 /f >nul REM Set Background REM reg add "%HKEY%\Control Panel\Colors" /v Background /t REG_SZ /d "120 120 120" /f >nul REM REG ADD "%HKEY%\Control Panel\Desktop" /v Wallpaper /t REG_SZ /d "C:\windows\company.jpg" /f >nul REM reg delete "%HKEY%\Software\Microsoft\Internet Explorer\Desktop\General" /v WallpaperStyle /f > nul 2>&1 REM reg add "%HKEY%\control panel\desktop" /v WallpaperStyle /t REG_SZ /d 10 /f >nul REM reg add "%HKEY%\Software\Microsoft\Windows\CurrentVersion\Explorer\Accent" /f /v "MotionAccentId_v1.00" /t REG_DWORD /d 219 >nul REM Command Prompt settings REG ADD "%HKEY%\Console" /v QuickEdit /t REG_DWORD /d 1 /f >nul REG ADD "%HKEY%\Console" /v ScreenBufferSize /t REG_DWORD /d 655294544 /f >nul REG ADD "%HKEY%\Software\Microsoft\Windows NT\CurrentVersion\Network\Persistent Connections" /v SaveConnections /d "no" /t REG_SZ /f >nul REM Show all in tray reg add "%HKEY%\Software\Microsoft\Windows\CurrentVersion\Explorer" /v EnableAutoTray /t REG_DWORD /d 0 /f >nul reg add "%HKEY%\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v HideSCAHealth /t REG_DWORD /d 1 /f >nul REM Language bar - only apply if using single regional settings REG ADD "%HKEY%\Software\Microsoft\CTF\LangBar" /v ShowStatus /t REG_DWORD /d 3 /f >nul REG ADD "%HKEY%\Software\Microsoft\CTF\LangBar" /v Label /t REG_DWORD /d 1 /f >nul REG ADD "%HKEY%\Software\Microsoft\CTF\LangBar" /v ExtraIconsOnMinimized /t REG_DWORD /d 0 /f >nul REM Windows Explorer rem REG ADD "%HKEY%\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v SeparateProcess /t REG_DWORD /d 1 /f >nul rem REG ADD "%HKEY%\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v TaskbarSizeMove /t REG_DWORD /d 0 /f >nul rem REG ADD "%HKEY%\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v TaskbarSmallIcons /t REG_DWORD /d 1 /f >nul REG ADD "%HKEY%\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v Start_ShowHelp /t REG_DWORD /d 0 /f >nul REG ADD "%HKEY%\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v Start_NotifyNewApps /t REG_DWORD /d 0 /f >nul Rem !not for all! REG ADD "%HKEY%\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v Start_LargeMFUIcons /t REG_DWORD /d 0 /f >nul Rem !not for all! REG ADD "%HKEY%\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v Hidden /t REG_DWORD /d 1 /f >nul Rem !not for all! REG ADD "%HKEY%\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v HideFileExt /t REG_DWORD /d 0 /f >nul Rem !not for all! REG ADD "%HKEY%\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v ShowSuperHidden /t REG_DWORD /d 1 /f >nul REG ADD "%HKEY%\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v HideDrivesWithNoMedia /t REG_DWORD /d 0 /f >nul REG ADD "%HKEY%\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v SharingWizardOn /t REG_DWORD /d 0 /f >nul REG ADD "%HKEY%\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v AlwaysShowMenus /t REG_DWORD /d 1 /f >nul REG ADD "%HKEY%\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoComplete" /v "Append Completion" /t REG_SZ /d YES /f >nul REG ADD "%HKEY%\AppEvents\Schemes\Apps\Explorer\Navigating\.Current" /ve /t REG_EXPAND_SZ /d "" /f >nul Rem Show desktop Items REG ADD "%HKEY%\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel" /v "{20D04FE0-3AEA-1069-A2D8-08002B30309D}" /t REG_DWORD /d 0 /f >nul REG ADD "%HKEY%\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel" /v "{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}" /t REG_DWORD /d 0 /f >nul REG ADD "%HKEY%\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel" /v "{5399E694-6CE5-4D6C-8FCE-1D8870FDCBA0}" /t REG_DWORD /d 0 /f >nul REG ADD "%HKEY%\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu" /v "{5399E694-6CE5-4D6C-8FCE-1D8870FDCBA0}" /t REG_DWORD /d 0 /f >nul REM Windows navigation settings REG ADD "%HKEY%\Software\Microsoft\Windows\CurrentVersion\Explorer\StartPage" /v OpenAtLogon /t REG_DWORD /d 0 /f >nul REG ADD "%HKEY%\Software\Microsoft\Windows\CurrentVersion\Explorer\StartPage" /v DesktopFirst /t REG_DWORD /d 0 /f >nul REG ADD "%HKEY%\Software\Microsoft\Windows\CurrentVersion\Explorer\StartPage" /v MakeAllAppsDefault /t REG_DWORD /d 0 /f >nul REG ADD "%HKEY%\Software\Microsoft\Windows\CurrentVersion\Explorer\StartPage" /v MonitorOverride /t REG_DWORD /d 0 /f >nul REM Internet Explorer options REG ADD "%HKEY%\Software\Microsoft\Internet Explorer\Main" /v StatusBarOther /t reg_dword /d 1 /f >nul reg add "%HKEY%\Software\Microsoft\Internet Explorer\Main" /v "Start Page" /d "about:blank" /f >nul REG ADD "%HKEY%\Software\Microsoft\Internet Explorer\PhishingFilter" /v Enabled /t REG_DWORD /d 2 /f >nul REG ADD "%HKEY%\Software\Microsoft\Internet Explorer\Main" /v "DisableFirstRunCustomize" /t REG_DWORD /d 1 /f >nul REG ADD "%HKEY%\Control Panel\International User Profile" /v "HttpAcceptLanguageOptOut" /t REG_DWORD /d 1 /f >nul REG ADD "%HKEY%\Control Panel\International\User Profile" /v "HttpAcceptLanguageOptOut" /t REG_DWORD /d 1 /f >nul REM Windows Media Player REG ADD "%HKEY%\Software\Microsoft\MediaPlayer\Setup\UserOptions" /v DesktopShortcut /d No /t REG_SZ /f >nul REG ADD "%HKEY%\Software\Microsoft\MediaPlayer\Setup\UserOptions" /v QuickLaunchShortcut /d 0 /t REG_DWORD /f >nul REG ADD "%HKEY%\Software\Microsoft\MediaPlayer\Preferences" /v AcceptedPrivacyStatement /d 1 /t REG_DWORD /f >nul REG ADD "%HKEY%\Software\Microsoft\MediaPlayer\Preferences" /v FirstRun /d 0 /t REG_DWORD /f >nul REG ADD "%HKEY%\Software\Microsoft\MediaPlayer\Preferences" /v DisableMRU /d 1 /t REG_DWORD /f >nul REG ADD "%HKEY%\Software\Microsoft\MediaPlayer\Preferences" /v AutoCopyCD /d 0 /t REG_DWORD /f >nul REM Other Applications Reg Add "%HKEY%\Software\Sysinternals\Process Explorer" /f /v EulaAccepted /t Reg_DWORD /d 1 >nul Reg Add "%HKEY%\Software\Sysinternals\Process Monitor" /f /v EulaAccepted /t Reg_DWORD /d 1 >nul REM Disable Spying reg add "%HKEY%\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo" /v Enabled /t REG_DWORD /d 0 /f >nul reg add "%HKEY%\SOFTWARE\Microsoft\Windows\CurrentVersion\DeviceAccess\Global\{C1D23ACC-752B-43E5-8448-8D0E519CD6D6}" /v Value /d Deny /f >nul rem !not sure! reg add "%HKEY%\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "Start_TrackProgs" /f /t REG_DWORD /d 0 >nul reg add "%HKEY%\SOFTWARE\Microsoft\Personalization\Settings" /v "AcceptedPrivacyPolicy" /f /t REG_DWORD /d 0 >nul reg add "%HKEY%\SOFTWARE\Microsoft\InputPersonalization\TrainedDataStore" /v "HarvestContacts" /f /t REG_DWORD /d 0 >nul reg add "%HKEY%\SOFTWARE\Microsoft\Siuf\Rules" /v "PeriodInNanoSeconds" /f /t REG_DWORD /d 0 >nul reg add "%HKEY%\SOFTWARE\Microsoft\Siuf\Rules" /v "NumberOfSIUFInPeriod" /f /t REG_DWORD /d 0 >nul reg add "%HKEY%\SOFTWARE\Microsoft\Messaging" /v "CloudServiceSyncEnabled" /f /t REG_DWORD /d 0 >nul REM Hide Search box reg add "%HKEY%\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v SearchboxTaskbarMode /t REG_DWORD /d 0 /f >nul REM Hide One Drive rem !not sure! reg delete "%HKEY%\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v onedrive /f > nul 2>&1 rem !not sure! reg delete "%HKEY%\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v onedrivesetup /f > nul 2>&1 Rem disable shared experiance - share accross devices reg add "%HKEY%\Software\Microsoft\Windows\CurrentVersion\CDP" /v "RomeSdkChannelUserAuthzPolicy" /f /t REG_DWORD /d 0 >nul reg add "%HKEY%\Software\Microsoft\Windows\CurrentVersion\CDP" /v "CdpSessionUserAuthzPolicy" /f /t REG_DWORD /d 0 >nul reg add "%HKEY%\Software\Microsoft\Windows\CurrentVersion\CDP" /v "NearShareChannelUserAuthzPolicy" /f /t REG_DWORD /d 0 >nul Rem turn off auto play reg add "%HKEY%\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers" /v "DisableAutoplay" /f /t REG_DWORD /d 1 >nul Rem turn off show contacts reg add "%HKEY%\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People" /v "PeopleBand" /f /t REG_DWORD /d 0 >nul goto exit :exit