If I were to to use Win10lite on Enterprise 2016 LTSB, do I need to make any modifications to the scripts since Store, Edge and Cortana, among others, are not included in the OS? Thanks
I went ahead and just deleted the following lines from rmApps.cmd.
echo.
echo.
echo.Following Windows Apps can be deleted...
echo.Press "y" and enter to disable this service.
echo.Press enter to do nothing.
echo.Running DISM.EXE
echo.Please wait...
setlocal
for /f "tokens=1,2 delims=:" %%i in ('dism /online /Get-ProvisionedAppxPackages') do (call:setupWindowsApps %%i %%j)
endlocal
:setupWindowsApps
if /i not %1==PackageName goto:eof
call:formatPkgName result %2
find /i "%result%" WindowsApps.inf >nul
if errorlevel 1 goto:rmWindowsApp
goto:eof
:rmWindowsApp
set /p ask=Do you want to delete this app "%result%" (y/N)? || set ask=n
if /i not %ask%==y goto:eof
dism /Online /Remove-ProvisionedAppxPackage /PackageName:%2
goto:eof
and deleted "WindowsApps.inf" file.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I went ahead and just deleted the following lines from rmApps.cmd.
echo.
echo.
echo.Following Windows Apps can be deleted...
echo.Press "y" and enter to disable this service.
echo.Press enter to do nothing.
echo.Running DISM.EXE
echo.Please wait...
setlocal
for /f "tokens=1,2 delims=:" %%i in ('dism /online /Get-ProvisionedAppxPackages') do (call:setupWindowsApps %%i %%j)
endlocal
:setupWindowsApps
if /i not %1==PackageName goto:eof
call:formatPkgName result %2
find /i "%result%" WindowsApps.inf >nul
if errorlevel 1 goto:rmWindowsApp
goto:eof
:rmWindowsApp
set /p ask=Do you want to delete this app "%result%" (y/N)? || set ask=n
if /i not %ask%==y goto:eof
dism /Online /Remove-ProvisionedAppxPackage /PackageName:%2
goto:eof
and deleted "WindowsApps.inf" file.