When using the OOBE post-Install cmd I had the problem, that I had to acknowledge the UAC messages for all installations.
Here a simple solution to this
Now you only have to acknowledge teh UAC message once.
Done. Have Fun!
Here a simple solution to this
- Download elevate.exe from http://code.kliu.org/misc/elevate/
- Add elevate.exe to WinReducerPI folder
- Change the OOBE script to look like this
Code:
@ECHO OFF
for %%i in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do if exist %%i:\sources\install.wim set CDROM=%%i:
if not defined CDROM goto :eof
echo Detected Installfolder on drive %CDROM%
cd\
@echo Administrative permissions required. Detecting permissions...
net session >nul 2>&1
if %errorLevel% == 0 (
echo Success: Administrative permissions confirmed.
) else (
"%CDROM%\WinReducerPI\elevate.exe" -c "%~f0"
exit
)
Title WINREDUCER POST INSTALLATION
Color F0
Now you only have to acknowledge teh UAC message once.
Done. Have Fun!