1
1
@ echo off
2
- @ title " OwlOS 11 (24H2) v0.2 "
2
+ @ title " OwlOS 11 (24H2) v0.3 "
3
3
SETLOCAL EnableDelayedExpansion
4
4
taskkill /f /im explorer.exe > nul 2 >& 1
5
- :: Setting fullscreen mode for post-installation script
6
- SET TempVBSFile = %temp% \~tmpSendKeysTemp.vbs
7
- IF EXIST " %TempVBSFile% " DEL /F /Q " %TempVBSFile% "
8
- ECHO Set WshShell = WScript.CreateObject(" WScript.Shell" ) >> " %TempVBSFile% "
9
- ECHO Wscript.Sleep 900 >> " %TempVBSFile% "
10
- ECHO WshShell.SendKeys " {F11}" >> " %TempVBSFile%
11
- ECHO Wscript.Sleep 900 >> " %TempVBSFile% "
12
- CSCRIPT //nologo " %TempVBSFile% "
13
-
14
5
:: Running script as administrator
15
6
> nul 2 >& 1 reg.exe query " HKU\S-1-5-19" || (
16
7
echo set UAC = CreateObject^ (" Shell.Application" ^ ) > " %temp% \Getadmin.vbs"
@@ -20,7 +11,7 @@ CSCRIPT //nologo "%TempVBSFile%"
20
11
exit /b
21
12
)
22
13
23
- echo INSTALLING VCRedist
14
+ echo INSTALLING VCRedist x64, x86 (It can take a while)
24
15
start /b /wait C:\ProgramData\OwlOS\VCRedist\VC_redist.x64.exe /q /norestart > nul 2 >& 1
25
16
start /b /wait C:\ProgramData\OwlOS\VCRedist\VC_redist.x86.exe /q /norestart > nul 2 >& 1
26
17
cls
@@ -290,8 +281,8 @@ Reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager" /v "FeatureS
290
281
Reg.exe add " HKCU\Software\Microsoft\Windows\CurrentVersion\SystemSettings\AccountNotifications" /v " EnableAccountNotifications" /t REG_DWORD /d " 0" /f > nul 2 >& 1
291
282
Reg.exe add " HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}" /ve /t REG_SZ /d " " /f > nul 2 >& 1
292
283
Reg.exe add " HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /ve /t REG_SZ /d " " /f > nul 2 >& 1
293
- Reg.exe add " HKCU\Control Panel\Desktop " /v Wallpaper /t REG_SZ /d " C:\Program Files\OwlOS\wallpaper.jpg " /f > nul 2 >& 1
294
- RUNDLL32.EXE user32.dll,UpdatePerUserSystemParameters > nul 2 >& 1
284
+ powershell -command " (New-Object -ComObject Shell.Application).MinimizeAll() " > nul 2 >& 1
285
+ powershell -ExecutionPolicy Bypass -File C:\ProgramData\OwlOS\PowerShell_Scripts\wallpaper.ps1 > nul 2 >& 1
295
286
rmdir /S /Q C:\ProgramData\OwlOS > nul 2 >& 1
296
287
rmdir /S /Q C:\Windows.old > nul 2 >& 1
297
288
del /q/f/s %TEMP% \* > nul 2 >& 1
0 commit comments