|
; ----------------------------------------------------------------------------- ; Set windows explorer view to details by default. ; ; In order to write the registry values succesfully before explorer.exe starts, the following 3 settings must be enabled in the GPO ; 1) Computer Configuration/Administrative Templates/System/Logon/Always wait for the network at computer startup and logon ; 2) Computer Configuration/Administrative Templates/System/Scripts/Run logon scripts synchronously ; 3) User Configuration/Administrative Templates/System/Scripts/Run logon scripts synchronously ; ; This has been testing using Windows XP Pro SP2 ; -----------------------------------------------------------------------------
$explorerkey = "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\" $listviewkey1 = "08000000040000000100000000777e137335cf11ae6908002b2e1262040000001b00000043000000" $listviewkey2 = "1c0000000400000000000000000090000000000001000000fffffffff0f0f0f014000300900000000000000030000000fddfdffd0f0004002000100028003c0000000000010000000200000003000000b40060007800780000000000010000000200000003000000ffffffff000000000000000000000000000000000000000000000000000000000000000000000000"
; Set windows explorer view settings $ = WriteValue($explorerkey + "Advanced", "Hidden", "00000001", "REG_DWORD") $ = WriteValue($explorerkey + "Advanced", "HideFileExt", "00000000", "REG_DWORD") $ = WriteValue($explorerkey + "Advanced", "ShowInfoTip", "00000000", "REG_DWORD") $ = WriteValue($explorerkey + "Advanced", "NoNetCrawling", "00000001", "REG_DWORD") $ = WriteValue($explorerkey + "Advanced", "FolderContentsInfoTip", "00000000", "REG_DWORD") $ = WriteValue($explorerkey + "Advanced", "WebViewBarricade", "00000001", "REG_DWORD") $ = WriteValue($explorerkey + "Advanced", "ClassicViewState", "00000001", "REG_DWORD") $ = WriteValue($explorerkey + "Streams", "Settings", $listviewkey1, "REG_BINARY") $ = WriteValue($explorerkey + "Streams\Defaults", "{F3364BA0-65B9-11CE-A9BA-00AA004AE837}", $listviewkey2, "REG_BINARY") $ = Delkey("HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\Bags")
|