[Main]
Title=Explorer Shell
Selected=True
Level=2
Author=JFX,Kare
Version=8.3
Description=A desktop and start menu as known from Windows
Translation_DE=MaineCoon
Disable=Shells\4-bsexplorer.srt,Shells\2-OwnShell.srt
Date=14.09.2025


[Interface]
pCheckBox1=True,Small icons in Taskbar,0,3,20,50,200,17
pCheckBox2=False,Remove Arrow from ShortCuts,0,3,255,70,180,17
pCheckBox3=True,No Grouping of similar buttons,0,3,20,70,200,17
pCheckBox4=True,Use Small Icons on Desktop,0,3,255,50,177,17
pFrame1=,707070,0,0,15,25,450,100

pCheckBox6=True,Show QuickLauch on Taskbar,0,3,20,90,180,17
pCheckBox7=True,Fix Taskbar Size,0,3,255,90,121,17
pCheckBox8=True,Benutzerbild hinzufügen,1:0,3,20,170,250,18
pTextLabel2=Path to User Account picture:,10,1:0,Default,20,195,180,20
pFileBox1=%InstallSRC%\ProgramData\Microsoft\User Account Pictures\user.bmp,Pic (*.bmp),1:0,FileDir,20,220,300,18
//pFileBox1=#$p%InstallSRC%#$p\ProgramData\Microsoft\User Account Pictures\user.bmp,C:\,1,FileDir,20,330,300,18
//
tEcho_1=Creating [Directories] ...
tEcho_2=Copying [needed files] ...
tEcho_3=Copying [System32 files] ...


Panel=1
[Interface.07]
Description=Desktop und Startmenü wie man es von Windows gewohnt ist
Panel=1
pCheckBox1=True,Kleine Symbole in der Taskleiste,0,3,20,50,200,17
pCheckBox2=True,Verknüpfungspfeil entfernen,0,3,255,70,180,17
pCheckBox3=True,Die Taskleiste nicht gruppieren,0,3,20,70,200,17
pCheckBox4=True,Kleine Desktopsymbole verwenden,0,3,255,50,190,17
pFrame1=,707070,0,0,15,25,450,100

pCheckBox6=True,Schnellstartleiste anzeigen,0,3,20,90,180,17
pCheckBox7=True,Taskleiste fixieren,0,3,255,90,121,17
pCheckBox8=True,Benutzerbild hinzufügen,1:0,3,20,170,250,18
pTextLabel2=Pfad zum Benutzerbild:,10,1:0,Default,20,195,180,20
pfilebox1=%BaseDir%\custom\User.bmp,Bild (*.bmp),1:0,FileDir,20,220,300,20
//
tEcho_1=Erstellt werden [Verzeichnisse] ...
tEcho_2=Kopiert werden [benötigte Dateien]...
tEcho_3=Kopiert werden [System32-Dateien] ...

[process]

IniWrite,%Target_sys%\PEinit.ini,init,15,Shell|explorer.exe||1
Retrieve,%Var%,ResStr,%Boot_sys%\winlogon.exe,,1008
IniWrite,%Target_sys%\PEinit.ini,Main,StartText,%var%

Echo,%tEcho_1%
If,Not,ExistDir,%TargetDir%\Users\Administrator,Then,DirMake,%TargetDir%\Users\Administrator
If,Not,ExistDir,%TargetDir%\ProgramData\Microsoft\Windows\DeviceMetadataStore,Then,DirMake,%TargetDir%\ProgramData\Microsoft\Windows\DeviceMetadataStore
If,Not,ExistDir,%target_win%\Branding\Basebrd\%DistLang%,Then,DirMake,%target_win%\Branding\Basebrd\%DistLang%
If,Not,ExistDir,%target_win%\Branding\Basebrd\en-US,Then,DirMake,%target_win%\Branding\Basebrd\en-US
If,Not,ExistDir,%target_win%\Branding\ShellBrd,Then,DirMake,%target_win%\Branding\ShellBrd
If,Not,ExistDir,%target_win%\AppPatch,Then,DirMake,%target_win%\AppPatch

Echo,%tEcho_2%
If,ExistFile,%InstallSRC%\Program Files\Internet Explorer\ieshims.dll,Then,FileCopy,%InstallSRC%\Program Files\Internet Explorer\ieshims.dll,%TargetDir%\Program Files\Internet Explorer\ieshims.dll
If,ExistDir,%InstallSRC%\ProgramData\Microsoft\Windows\DeviceMetadataStore,Then,DirCopy,%InstallSRC%\ProgramData\Microsoft\Windows\DeviceMetadataStore,%TargetDir%\ProgramData\Microsoft\Windows\DeviceMetadataStore\
If,ExistFile,%Install_win%\appPatch\sysmain.sdb,Then,FileCopy,%Install_win%\AppPatch\sysmain.sdb,%target_win%\AppPatch
If,ExistFile,%Install_win%\Branding\Basebrd\basebrd.dll,Then,FileCopy,%Install_win%\Branding\Basebrd\basebrd.dll,%target_win%\Branding\Basebrd
If,ExistFile,%Install_win%\Branding\Basebrd\%DistLang%\basebrd.dll.mui,Then,FileCopy,%Install_win%\Branding\Basebrd\%DistLang%\basebrd.dll.mui,%TargetDir%\Windows\Branding\Basebrd\%DistLang%
If,ExistFile,%Install_win%\Branding\ShellBrd\shellbrd.dll,Then,FileCopy,%Install_win%\Branding\ShellBrd\shellbrd.dll,%target_win%\Branding\ShellBrd
If,ExistDir,%BaseDir%\Administrator,Then,DirCopy,%BaseDir%\Administrator\*,%TargetDir%\Users\Administrator

Echo,%tEcho_3%
SetReqFile,%Install_win%,%Distlang%,%FallBack%,%target_win%
ReqFile,explorer.exe,1

SetReqFile,%Install_sys%,%Distlang%,%FallBack%,%target_sys%
ReqFile,actxprxy.dll
ReqFile,apphelp.dll,1
ReqFile,browseui.dll
ReqFile,diskcopy.dll,1
ReqFile,msxml3.dll
ReqFile,msxml3r.dll
ReqFile,msxml6.dll
ReqFile,msxml6r.dll
ReqFile,query.dll,1
ReqFile,rshx32.dll,1
ReqFile,shsvcs.dll,1
ReqFile,winrnr.dll
ReqFile,explorerframe.dll
ReqFile,oleacc.dll
ReqFile,oleaccrc.dll
ReqFile,osbaseln.dll,1
ReqFile,appwiz.cpl,1

If,ExistFile,%Install_sys%\devicecenter.dll,Then,ReqFile,devicecenter.dll,1

If,EXISTFILE,%InstallSRC%\Program Files\Internet Explorer\ieproxy.dll,Then,FileCopy,%InstallSRC%\Program Files\Internet Explorer\ieproxy.dll,%TargetDir%\Program Files\Internet Explorer

// neu 1051 von Win7PE_SE
FileCopy,%Install_sys%\*.cpl,%target_sys%
FileCopy,%Install_sys%\%Distlang%\*.cpl.mui,%target_sys%\%Distlang%

ReqFile,adsldp.dll,1
ReqFile,AuxiliaryDisplayApi.dll
if,%arch%,=,x86,then,ReqFile,avicap.dll
ReqFile,avrt.dll
ReqFile,catsrv.dll
ReqFile,catsrvps.dll
ReqFile,catsrvut.dll
ReqFile,certEnroll.dll
ReqFile,clbcatq.dll
ReqFile,colbact.dll
ReqFile,comctl32.dll,1
if,%arch%,=,x86,then,ReqFile,comm.drv
ReqFile,comrepl.dll
ReqFile,comsnap.dll
ReqFile,comsvcs.dll
ReqFile,comuid.dll
ReqFile,control.exe
ReqFile,corpol.dll
ReqFile,cscapi.dll
ReqFile,d3d9.dll
ReqFile,dcomcnfg.exe
ReqFile,devmgr.dll
FileCopy,%Install_sys%\des*.*,%target_sys%
FileCopy,%Install_sys%\%Distlang%\des*.*.mui,%target_sys%\%Distlang%
ReqFile,dhcpsapi.dll,1
FileCopy,%Install_sys%\dm*.*,%target_sys%
ReqFile,dsound.dll
ReqFile,dwm.exe
ReqFile,dwmapi.dll,1
ReqFile,Dwmredir.dll,1
ReqFile,efsadu.dll
ReqFile,es.dll
ReqFile,eventcreate.exe
ReqFile,eventvwr.exe
ReqFile,hlink.dll
FileCopy,%Install_sys%\ie*.*,%target_sys%
//FileCopy,%Install_sys%\%Distlang%\ie*.*.mui,%target_sys%\%Distlang%
ReqFile,imgutil.dll
ReqFile,inetcomm.dll
ReqFile,IoLogMsg.dll
ReqFile,IPHLPAPI.DLL
ReqFile,jscript.dll,1
ReqFile,jsproxy.dll
ReqFile,lpksetup.exe
If,ExistFile,%Install_sys%\mfcsubs.dll,then,ReqFile,mfcsubs.dll
ReqFile,mmdevapi.dll
ReqFile,mscories.dll
ReqFile,msfeeds.dll
ReqFile,mshtml.dll
ReqFile,mstime.dll
ReqFile,msoert2.dll
ReqFile,msrating.dll
FileCopy,%Install_sys%\msv*.dll,%target_sys%

ReqFile,mtstocom.exe
ReqFile,mtxdm.dll
ReqFile,mtxex.dll
if,%arch%,=,x86,then,ReqFile,mtxlegih.dll
ReqFile,ndfapi.dll
FileCopy,%Install_sys%\net*.dll,%target_sys%
FileCopy,%Install_sys%\%Distlang%\net*.*.mui,%target_sys%\%Distlang%
ReqFile,occache.dll
FileCopy,%Install_sys%\ole*.dll,%target_sys%
FileCopy,%Install_sys%\%Distlang%\ole*.*.mui,%target_sys%\%Distlang%

ReqFile,pdh.dll
FileCopy,%Install_sys%\PnP*.exe,%target_sys%
FileCopy,%Install_sys%\PnP*.dll,%target_sys%
ReqFile,puiapi.dll
ReqFile,rstrtmgr.dll

ReqFile,sens.dll,1
ReqFile,shimgvw.dll
ReqFile,shunimpl.dll
ReqFile,stclient.dll
FileCopy,%Install_sys%\SystemProperties*.exe,%target_sys%
FileCopy,%Install_sys%\%Distlang%\SystemProperties*.exe.mui,%target_sys%\%Distlang%
ReqFile,thumbcache.dll
ReqFile,tracerpt.exe
//ReqFile,TSTheme.exe,1
	
ReqFile,txflog.dll

ReqFile,UIAutomationCore.dll
ReqFile,urlmon.dll
if,%arch%,=,x86,then,ReqFile,user.exe

ReqFile,uxsms.dll
ReqFile,van.dll,1
ReqFile,vbscript.dll,1
ReqFile,verclsid.exe
ReqFile,WcsPlugInService.dll
ReqFile,wecapi.dll
ReqFile,wecsvc.dll
ReqFile,wecutil.exe
ReqFile,WindowsCodecs.dll
ReqFile,WindowsCodecsExt.dll
FileCopy,%Install_sys%\wmd*.dll,%target_sys%
if,%os%,=,win7,then
	ReqFile,AxInstSv.dll
	ReqFile,cttune.exe,1
	ReqFile,display.dll
	ReqFile,DisplaySwitch.exe
	ReqFile,lpksetupproxyserv.dll
	ReqFile,vaultcli.dll
	ReqFile,twext.dll,1
end

RegLoad,%RegUser%,PE-USER
RegLoad,%RegSoftware%,PE-Software

System,FILEREDIRECT,off
ShellExecute,hide,%WindowsDir%\system32\reg.exe, import #$q%ScriptDir%\explorer\%OS%%Arch%_Explorer.reg#$q
ShellExecute,hide,%WindowsDir%\system32\reg.exe, import #$q%ScriptDir%\explorer\winlogon.reg#$q

IF,%pCheckBox1%,=,True,Then,RegWrite,HKLM,0x4,PE-USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced,TaskbarSmallIcons,1

RegWrite,HKLM,0x4,PE-SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer,NoRecentDocsMenu,1
RegWrite,HKLM,0x4,PE-SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer,NoRecentDocsHistory,1
RegWrite,HKLM,0x4,PE-SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer,NoSMHelp,1
RegWrite,HKLM,0x4,PE-SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer,NoFind,1
RegWrite,HKLM,0x4,PE-SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced,SeparateProcess,0
//
RegWrite,HKLM,0x4,PE-USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced,TaskbarSizeMove,1
RegWrite,HKLM,0x4,PE-USER\Software\Microsoft\Windows\CurrentVersion\Explorer,EnableAutoTray,0

////________/ Folderoptions \__________________________________
RegWrite,HKLM,0x4,PE-USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced,ShowSuperHidden,1
RegWrite,HKLM,0x4,PE-USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced,SuperHidden,1
RegWrite,HKLM,0x4,PE-USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced,Hidden,1
RegWrite,HKLM,0x4,PE-USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced,HideFileExt,0
RegWrite,HKLM,0x2,PE-USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced,CascadeControlPanel,YES
RegWrite,HKLM,0x2,PE-USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced,CascadeMyDocuments,NO
RegWrite,HKLM,0x2,PE-USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced,IntelliMenus,NO
RegWrite,HKLM,0x2,PE-USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced,StartMenuAdminTools,NO
RegWrite,HKLM,0x4,PE-USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced,DontPrettyPath,0
RegWrite,HKLM,0x4,PE-USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced,WebView,0
RegWrite,HKLM,0x4,PE-USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced,StartMenuInit,3
RegWrite,HKLM,0x4,PE-USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced,TaskbarAnimations,0
RegWrite,HKLM,0x4,PE-USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced,StartButtonBalloonTip,2
RegWrite,HKLM,0x4,PE-USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced,DisableThumbnailCache,1
RegWrite,HKLM,0x4,PE-USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced,StartMenuChange,1
RegWrite,HKLM,0x4,PE-USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced,Start_EnableDragDrop,1
RegWrite,HKLM,0x4,PE-USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced,Start_ShowHelp,0
RegWrite,HKLM,0x4,PE-USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced,ClassicViewState,1
RegWrite,HKLM,0x4,PE-USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer,NoSaveSettings,0
RegWrite,HKLM,0x3,PE-USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CabinetState,Settings,0c,00,02,00,1b,01,e7,77,60,00,00,00
RegWrite,HKLM,0x4,PE-USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CabinetState,FullPath,1
////________/ for new PE Startmenu \________________________
RegWrite,HKLM,0x4,PE-USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer,NoSimpleStartMenu,1
RegWrite,HKLM,0x4,PE-USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced,Start_ShowRun,1
RegWrite,HKLM,0x4,PE-USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced,Start_ShowUser,0
RegWrite,HKLM,0x4,PE-USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced,Start_ShowSetProgramAccessAndDefaults,0
RegWrite,HKLM,0x4,PE-USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced,Start_TrackProgs,1
RegWrite,HKLM,0x4,PE-USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced,Start_ShowNetPlaces,0
RegWrite,HKLM,0x4,PE-USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced,Start_MinMFU,9
RegWrite,HKLM,0x4,PE-USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced,SeparateProcess,1
// default power off
RegWrite,HKLM,0x4,PE-USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced,Start_PowerButtonAction,2

////________/ Favorites in new PE Startmenu \_______________
RegWrite,HKLM,0x3,PE-USER\Software\Microsoft\Windows\CurrentVersion\Explorer\StartPage,Favorites,
////________/ Explorer-View \__________________________________
RegWrite,HKLM,0x3,PE-USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Modules\GlobalSettings\ProperTreeModuleInner,ProperTreeModuleInner,78,00,00,00
RegWrite,HKLM,0x3,PE-USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Modules\GlobalSettings\Sizer,ProperTreeExpandoSizer,00,00,00,00,01,00,00,00,00,00,00,00
RegWrite,HKLM,0x3,PE-USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Modules\GlobalSettings\Sizer,PageSpaceControlSizer,d0,00,00,00,01,00,00,00,00,00,00,00
////
////________/ StatusBar \______________________________________
RegWrite,HKLM,0x4,PE-USER\Software\Microsoft\Internet Explorer\Main,StatusBarOther,1
RegWrite,HKLM,0x4,PE-USER\Software\Microsoft\Internet Explorer\Main,StatusBarWeb,1
////
RegWrite,HKLM,0x4,PE-USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu,{59031a47-3f72-44a7-89c5-5595fe6b30ee},1
RegWrite,HKLM,0x4,PE-USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu,{F02C1A0D-BE21-4350-88B0-7367FC96EF3C},1
RegWrite,HKLM,0x4,PE-USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu,{5399E694-6CE5-4D6C-8FCE-1D8870FDCBA0},1
RegWrite,HKLM,0x4,PE-USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu,{871C5380-42A0-1069-A2EA-08002B30309D},1
RegWrite,HKLM,0x4,PE-USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel,{20D04FE0-3AEA-1069-A2D8-08002B30309D},0
RegWrite,HKLM,0x4,PE-USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel,{871C5380-42A0-1069-A2EA-08002B30309D},1
If,%OS%,=,Win7,Then
  RegWrite,HKLM,0x4,PE-USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu,{031E4825-7B94-4dc3-B131-E946B44C8DD5},1
  RegWrite,HKLM,0x4,PE-USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel,{031E4825-7B94-4dc3-B131-E946B44C8DD5},1
End
// disable Trash
RegWrite,HKLM,0x4,PE-USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer,NoRecycleFiles,1
RegWrite,HKLM,0x4,PE-USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu,{645FF040-5081-101B-9F08-00AA002F954E},1
RegWrite,HKLM,0x4,PE-USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel,{645FF040-5081-101B-9F08-00AA002F954E},1
////
If,%pCheckBox4%,=,True,Then
  RegWrite,HKLM,0x3,PE-USER\Software\Microsoft\Windows\Shell\BagMRU,NodeSlots,02
  RegWrite,HKLM,0x4,PE-USER\Software\Microsoft\Windows\Shell\BagMRU,NodeSlot,1
  RegWrite,HKLM,0x4,PE-USER\Software\Microsoft\Windows\Shell\Bags\1\Desktop,IconSize,32
  RegWrite,HKLM,0x4,PE-USER\Software\Microsoft\Windows\Shell\Bags\1\Desktop,Mode,1
  RegWrite,HKLM,0x4,PE-USER\Software\Microsoft\Windows\Shell\Bags\1\Desktop,LogicalViewMode,3
End
If,%pCheckBox2%,=,True,Then
  RegWrite,HKLM,0x1,PE-SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons,29,noarrow.ico
  FileCopy,%ScriptDir%\explorer\noarrow.ico,%target_sys%
End
If,%pCheckBox3%,=,True,Then,RegWrite,HKLM,0x4,PE-USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced,TaskbarGlomLevel,2


If,%pCheckBox6%,=,True,Then,RegWrite,HKLM,0x3,PE-USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams\Desktop,TaskbarWinXP,0c,00,00,00,08,00,00,00,02,00,00,00,00,00,00,00,b0,e2,2b,d8,64,57,d0,11,a9,6e,00,c0,4f,d7,05,a2,22,00,1c,00,0a,10,00,00,01,00,00,00,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,4c,00,00,00,01,14,02,00,00,00,00,00,c0,00,00,00,00,00,00,46,81,01,00,00,11,00,00,00,64,54,7a,06,bd,b2,cb,01,ea,2f,16,74,ca,b8,cb,01,ea,2f,16,74,ca,b8,cb,01,00,10,00,00,00,00,00,00,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,04,02,14,00,1f,44,47,1a,03,59,72,3f,a7,44,89,c5,55,95,fe,6b,30,ee,7e,00,74,00,1c,00,43,46,53,46,16,00,31,00,00,00,00,00,2d,3e,57,07,12,20,41,70,70,44,61,74,61,00,00,00,74,1a,59,5e,96,df,d3,48,8d,67,17,33,bc,ee,28,ba,c5,cd,fa,df,9f,67,56,41,89,47,c5,c7,6b,c0,b6,7f,3c,00,08,00,04,00,ef,be,2d,3e,56,07,2d,3e,57,07,2a,00,00,00,e4,01,00,00,00,00,02,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,41,00,70,00,70,00,44,00,61,00,74,00,61,00,00,00,42,00,52,00,31,00,00,00,00,00,32,3e,d3,7c,10,20,52,6f,61,6d,69,6e,67,00,3c,00,08,00,04,00,ef,be,2d,3e,56,07,32,3e,d3,7c,2a,00,00,00,e5,01,00,00,00,00,02,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,52,00,6f,00,61,00,6d,00,69,00,6e,00,67,00,00,00,16,00,58,00,31,00,00,00,00,00,32,3e,da,90,14,20,4d,49,43,52,4f,53,7e,31,00,00,40,00,08,00,04,00,ef,be,2d,3e,56,07,32,3e,da,90,2a,00,00,00,e6,01,00,00,00,00,02,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,4d,00,69,00,63,00,72,00,6f,00,73,00,6f,00,66,00,74,00,00,00,18,00,68,00,31,00,00,00,00,00,ee,3a,85,1a,10,00,49,4e,54,45,52,4e,7e,31,00,00,50,00,08,00,04,00,ef,be,2d,3e,56,07,2d,3e,56,07,2a,00,00,00,f4,01,00,00,00,00,02,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,49,00,6e,00,74,00,65,00,72,00,6e,00,65,00,74,00,20,00,45,00,78,00,70,00,6c,00,6f,00,72,00,65,00,72,00,00,00,18,00,5e,00,31,00,00,00,00,00,34,3e,40,8e,11,00,51,55,49,43,4b,4c,7e,31,00,00,46,00,08,00,04,00,ef,be,2d,3e,56,07,34,3e,40,8e,2a,00,00,00,f5,01,00,00,00,00,02,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,51,00,75,00,69,00,63,00,6b,00,20,00,4c,00,61,00,75,00,6e,00,63,00,68,00,00,00,18,00,00,00,60,00,00,00,03,00,00,a0,58,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,52,cb,74,30,40,c1,22,45,81,05,c7,54,dd,94,b1,ad,9f,09,e0,19,75,24,e0,11,89,f4,00,50,56,c0,00,08,52,cb,74,30,40,c1,22,45,81,05,c7,54,dd,94,b1,ad,9f,09,e0,19,75,24,e0,11,89,f4,00,50,56,c0,00,08,00,00,00,00,8d,00,00,00,40,07,00,00,00,00,00,00,1e,00,00,00,00,00,00,00,00,00,00,00,1e,00,00,00,00,00,00,00,01,00,00,00,01,00,00,00,aa,4f,28,68,48,6a,d0,11,8c,78,00,c0,4f,d9,18,b4,a9,04,00,00,40,0d,00,00,00,00,00,00,1e,00,00,00,00,00,00,00,00,00,00,00,1e,00,00,00,00,00,00,00,01,00,00,00

If,%pCheckBox7%,=,True,Then,RegWrite,HKLM,0x4,PE-USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced,TaskbarSizeMove,0


FileCopy,%tools%\%Arch%\ReBoot.dll,%target_sys%\
RegWrite,HKLM,0x1,PE-SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows,AppInit_DLLs,ReBoot.dll
RegWrite,HKLM,0x4,PE-SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows,LoadAppInit_DLLs,1
RegWrite,HKLM,0x4,PE-SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows,RequireSignedAppInit_DLLs,0

System,FILEREDIRECT,on

RegWrite,HKLM,0x2,PE-Software\Classes\DesktopBackground\Shell\Display\Command,"","PEInit.exe -DisplayGui"
RegWrite,HKLM,0x1,PE-SOFTWARE\Classes\DesktopBackground\Shell\Display,Icon,#$pSystemRoot#$p\system32\Display.dll#$c-1

//madmax
RegWrite,HKLM,0x2,PE-SOFTWARE\Classes\CLSID\{031E4825-7B94-4dc3-B131-E946B44C8DD5}\DefaultIcon,(Standard),"x:\windows\system32\imageres.dll,-1023"
RegWrite,HKLM,0x1,PE-SOFTWARE\Classes\CLSID\{031E4825-7B94-4dc3-B131-E946B44C8DD5}\ShellFolder,QueryForOverlay,""
RegWrite,HKLM,0x1,PE-SOFTWARE\Classes\CLSID\{031E4825-7B94-4dc3-B131-E946B44C8DD5}\ShellFolder,HideOnDesktopPerUser,""
RegWrite,HKLM,0x1,PE-SOFTWARE\Classes\CLSID\{031E4825-7B94-4dc3-B131-E946B44C8DD5}\ShellFolder,PinToNameSpaceTree,""
RegWrite,HKLM,0x4,PE-SOFTWARE\Classes\CLSID\{031E4825-7B94-4dc3-B131-E946B44C8DD5}\ShellFolder,Attributes,"0xb080010d"

RegUnLoad,PE-SOFTWARE
RegUnLoad,PE-USER

//RegWrite,HKLM,0x1,PE-Software\Microsoft\Windows\CurrentVersion\OEMInformation,Logo,X:\Windows\System32\oobe\Logo\Logo.bmp
//RegWrite,HKLM,0x1,PE-Software\Microsoft\Windows\CurrentVersion\OEMInformation,Manufacturer,"Win10PE SE"
//RegWrite,HKLM,0x1,PE-Software\Microsoft\Windows\CurrentVersion\OEMInformation,SupportURL,http://win10se.cwcodes.net

If,%pCheckBox8%,=,True,Then
DirMake,%targetdir%\Users\All Users\Microsoft\User Account Pictures
DirMake,%targetdir%\ProgramData\Microsoft\User Account Pictures
If,ExistFile,%pFileBox1%,Then
	Filecopy,%pFileBox1%,%targetdir%\Users\All Users\Microsoft\User Account Pictures\user.bmp
	Filecopy,%pFileBox1%,%targetdir%\ProgramData\Microsoft\User Account Pictures\user.bmp
Else
	Filecopy,%InstallSRC%\ProgramData\Microsoft\User Account Pictures\user.bmp,%targetdir%\Users\All Users\Microsoft\User Account Pictures\user.bmp
	Filecopy,%InstallSRC%\ProgramData\Microsoft\User Account Pictures\user.bmp,%targetdir%\ProgramData\Microsoft\User Account Pictures\user.bmp
End

FileCreateBlank,%targetdir%\Users\All Users\Microsoft\User Account Pictures\Administrator.dat
FileCreateBlank,%targetdir%\Users\All Users\Microsoft\User Account Pictures\miniadmin.dat
FileCreateBlank,%targetdir%\Users\All Users\Microsoft\User Account Pictures\system.dat
FileCreateBlank,%targetdir%\ProgramData\Microsoft\User Account Pictures\Administrator.dat
FileCreateBlank,%targetdir%\ProgramData\Microsoft\User Account Pictures\miniadmin.dat
FileCreateBlank,%targetdir%\ProgramData\Microsoft\User Account Pictures\system.dat
End

System,SetPEInit,A,Startup,FileDelete|X:\Users\Default\Desktop\desktop.ini
//System,SetPEInit,B,Startup,FileDelete|X:\Users\Public\Desktop\desktop.ini
if,%NT%,=,6.0,then,System,Patch,%Target_sys%\%DistLang%\shdocvw.dll.mui,Res1,5,13120
if,%NT%,=,6.1,then,System,Patch,%Target_sys%\%DistLang%\Shell32.dll.mui,Res1,5,13120

[Script-Pic]
0=3196,4084,ZLB64
1=eNqlz2k4FOwaB/AZY4u8hZAlSyoa68ieSJrJ0hhbskteW0L2nYaMsg3GOqEke2OyzEQxKgyNLI1lGCZLUgzZd3G873XO+XK+nOuc//3lfq7/h/v3HI4cTgJOGsOMYADg0dw5GsDhAUDiJlT/uqSVm6unr999Pw8vt0BJI19XRUlriKIyBHA4BjAAsPyfObqixRXl6RLwp6vfg/AoFWUIRAmioqSsLgnR0IZoaitrcVm5BQYpmBlwXYdaQ28izBSUoSr6mjBVwGE78AUAAGQD/h3APwNkAbGysXNwHuPiBgJAwH/lP8qTABYgCMTCCmJjY2U9aqKPOgArLxufFESfnd/cheOs/ykVZEYxp/S12g8CFl+Wz126GxB3jEtQ6LSwyPkLMrIXwapq6hqaWtoG16GwG4ZGxpZWt6xv29jauf7p5u7h6XUvMCg4JDQsPCL+UQIq8fGTpExMVnZObl4+9kXJy9Ky8orKqrr6BgLxTWPT249t7R3kzq5PFOrA4NAwbWSUPjX9beb77I+fc/Mrq2vrG5tb2zu7vEdkFlZWECvHX2QgS+hf/+FlZZOCsPPpm3O4+POfVUFynrqWUVz74Zj0JYtlgbsBX7gEz6lOnV/5S/03+r8zx/1P6H+b/00+fA/g5QRoAjRBwCM9LwDECzikA46DgEePo10P8Hv/ObuYx/IhQCTfuXt0zNl5/sNAV59IaiLWZc+xMVs4o2StxFYgawqZQlzWn0xt+tE/W5+UFFIOg0dXrpIMdyjW3413HQnV/Jv+WzUYtAm+izArc/pcnArnzJ3INA5ixGZlcxbu9sjH3HD4DcRT1imlBHy6/BfkB50QwApmcWBCE9TiIyR+a6HJUa9uciDZmXFvjjmaS8n1a852iJDo3gcTFv3ew88TSAad07rP0VQk91Veo87XnU5tlRsCApabEbEqAz508YKayxI9+MWhlYFpjYTWewox3e+/aq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