ws2000
Established Members-
Posts
5 -
Joined
-
Last visited
Everything posted by ws2000
-
Is there a wild card that can replace the version number in file names in my custom start menu xml? Example: DesktopApplicationID="{7C5A40EF-A0FB-4BFC-874A-C0F2E0B9FA8E}\GPS Utility\gpsu525.exe" /> Something like a gpsu*.exe so I don't have to update it everytime the software version changes? Thanks
-
How can I change a HKCU setting within Windows during an OSD deployment
ws2000 replied to roshanbhavsar04's question in How do I ?
Hello A bit more background. I'm trying to get this working in MDT 2013 UD1 deploying Windows 10 Pro x64 1511. I originally found your site when I was trying to deploy a customized Start menu. In that thread you advised me to stop using CopyProfile which brought me here as i was looking for an alternative. I have not tried the pause script you referenced above but I'm not sure that it would help me. I have created a .bat file with about 20 to 30 lines of HCKU settings in the following format. REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\DeviceAccess\Global\{C1D23ACC-752B-43E5-8448-8D0E519CD6D6}" /v "Value" /t REG_SZ /d "Deny" /f I copy my .bat file to the Admin desktop and pause it right after running (As Admin) REG.EXE LOAD HKEY_LOCAL_MACHINE\Default C:\Users\Default\ntuser.dat. I open the registry and I can see the Default key and I then close registry. I let the .bat run and pause it again prior to REG.EXE UNLOAD HKEY_LOCAL_MACHINE\Default. Open the registry and expand Default. All my imported settings are present. So I finish the script, restart the PC and sign in with a new profile. Many of my new HKCU settings are there but about 1/4 are missing. Examples of missing REG ADD "HKEY_LOCAL_MACHINE\Control Panel\Desktop" /v "Wallpaper" /t REG_SZ /d "C:\Windows\Web\Wallpaper\MyWallpaper10\IMG_6900.jpg" /f (Still default Windows image) Most all of the Privacy Keys REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\DeviceAccess\Global\{C1D23ACC-752B-43E5-8448-8D0E519CD6D6}" /v "Value" /t REG_SZ /d "Deny" /f (Still Allow) REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\DeviceAccess\Global\LooselyCoupled" /v "Value" /t REG_SZ /d "Deny" /f (Still Allow) I'm stumped. CopyProfile was very handy but this would be ok if it worked. By the way... my custom start menu is now working as advertised. Thanks -
How can I change a HKCU setting within Windows during an OSD deployment
ws2000 replied to roshanbhavsar04's question in How do I ?
I did verify that the keys are being created correctly. I ran cmd.exe /c reg.exe load HKEY_LOCAL_MACHINE\defuser c:\users\default\ntuser.dat and opened defuser in the registry. The just didn't copy to the new profiles for some reason. Thanks in advance! -
How can I change a HKCU setting within Windows during an OSD deployment
ws2000 replied to roshanbhavsar04's question in How do I ?
Hello I am trying to use the process you documented in MDT 2013 Update 1 on Windows 10 1511. I am finding that not all the keys in my import file are being applied to the new profiles. Below are some examples. Privacy ;AccountInfo [HKEY_LOCAL_MACHINE\Defuser\SOFTWARE\Microsoft\Windows\CurrentVersion\DeviceAccess\Global\{C1D23ACC-752B-43E5-8448-8D0E519CD6D6}] "Value"="Deny" ;Calendar [HKEY_LOCAL_MACHINE\Defuser\SOFTWARE\Microsoft\Windows\CurrentVersion\DeviceAccess\Global\{D89823BA-7180-4B81-B50C-7E471E6121A3}] "Value"="Deny" ;CallHistory [HKEY_LOCAL_MACHINE\Defuser\SOFTWARE\Microsoft\Windows\CurrentVersion\DeviceAccess\Global\{8BC668CF-7728-45BD-93F8-CF2B3B41D7AB}] "Value"="Deny" ;Camera [HKEY_LOCAL_MACHINE\Defuser\SOFTWARE\Microsoft\Windows\CurrentVersion\DeviceAccess\Global\{E5323777-F976-4f5b-9B55-B94699C46E44}] "Value"="Deny" ;Email [HKEY_LOCAL_MACHINE\Defuser\SOFTWARE\Microsoft\Windows\CurrentVersion\DeviceAccess\Global\{9231CB4C-BF57-4AF3-8C55-FDA7BFCC04C5}] "Value"="Deny" ;Location [HKEY_LOCAL_MACHINE\Defuser\SOFTWARE\Microsoft\Windows\CurrentVersion\DeviceAccess\Global\{BFA794E4-F964-4FDB-90F6-51056BFE4B44}] "Value"="Deny" ;Messages [HKEY_LOCAL_MACHINE\Defuser\SOFTWARE\Microsoft\Windows\CurrentVersion\DeviceAccess\Global\{992AFA70-6F47-4148-B3E9-3003349C1548}] "Value"="Deny" ;Microphone [HKEY_LOCAL_MACHINE\Defuser\SOFTWARE\Microsoft\Windows\CurrentVersion\DeviceAccess\Global\{2EEF81BE-33FA-4800-9670-1CD474972C3F}] "Value"="Deny" ;Names [HKEY_LOCAL_MACHINE\Defuser\SOFTWARE\Microsoft\Windows\CurrentVersion\DeviceAccess\Global\{C1D23ACC-752B-43E5-8448-8D0E519CD6D6}] "Value"="Deny" ;SyncWithDevices [HKEY_LOCAL_MACHINE\Defuser\SOFTWARE\Microsoft\Windows\CurrentVersion\DeviceAccess\Global\LooselyCoupled] "Value"="Deny" Edge ;Edge Main Settings [HKEY_LOCAL_MACHINE\Defuser\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppContainer\Storage\microsoft.microsoftedge_8wekyb3d8bbwe\MicrosoftEdge\Main] "DoNotTrack"=dword:00000001 "HomeButtonEnabled"=dword:00000001 "FormSuggest Passwords"="no" "HomeButtonPage"="http:XXXXXXXXX" ;Edge New Tab [HKEY_LOCAL_MACHINE\Defuser\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppContainer\Storage\microsoft.microsoftedge_8wekyb3d8bbwe\MicrosoftEdge\ServiceUI] "NewTabPageDisplayOption"=dword:00000002 ;Edge No First Run Page [HKEY_LOCAL_MACHINE\Defuser\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppContainer\Storage\microsoft.microsoftedge_8wekyb3d8bbwe\MicrosoftEdge\TabbedBrowsing] "NTPFirstRun"=dword:00000001 ;Edge Page Prediction [HKEY_LOCAL_MACHINE\Defuser\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppContainer\Storage\microsoft.microsoftedge_8wekyb3d8bbwe\MicrosoftEdge\FlipAhead] "FPEnabled"=dword:00000000 Any ideas why these would not get applied while others are successful?