@@ -43,8 +43,10 @@ goto comment_end
4343
4444 Windows Packages / Apps
4545 Powershell:
46- Install Calculator: Get-AppxPackage -allusers *windowscalculator* | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}
47- Remove Calculator: Get-AppxPackage *calculator* | Remove-AppxPackage
46+ Install Calculator: Get-AppxPackage -AllUsers *windowscalculator* | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}
47+ Remove Calculator: Get-AppxPackage *calculator* | Remove-AppxPackage
48+ Install Alternative: Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -like " *3dbuilder*" } | Remove-AppxProvisionedPackage -Online
49+ Uninstall All But MSStore Get-AppxPackage -AllUsers | Where-Object {$_.name –notlike " *store*" } | Remove-AppxPackage
4850
4951:comment_end
5052
@@ -1619,7 +1621,7 @@ goto :EOF
16191621
16201622 :: windows update dist folder found
16211623 if exist %folder_distrb% \ (
1622- echo %red% Error %u% Something went wrong, folder still exists: %grayd%%folder_distrb%%u%
1624+ echo %red% Error %u% Something went wrong, folder still exists: %grayd%%folder_distrb%%u%
16231625
16241626 set cnt_files = 0
16251627 set cnt_dirs = 0
@@ -1628,9 +1630,11 @@ goto :EOF
16281630 )
16291631
16301632 If not " !cnt_files! " == " 0" (
1631- echo %red% Error %u% Something went wrong, files still exist in %grayd%%folder_distrb%%u%
1632- echo %yellowd% Try navigating to the folder and manually deleting all files and folders.
1633- goto sessError
1633+ echo %red% Error %u% Something went wrong, files still exist in %grayd%%folder_distrb%%u%
1634+ echo %yellowd% Try navigating to the folder and manually deleting all files and folders.
1635+
1636+ pause > nul
1637+ goto :main
16341638 )
16351639
16361640 for /f %%a in ('dir /s /B /ad " %folder_distrb% " ') do (
@@ -1640,16 +1644,14 @@ goto :EOF
16401644 If not " !cnt_dirs! " == " 0" (
16411645 echo %red% Error %u% Something went wrong, folders still exist in %grayd%%folder_distrb%%u%
16421646 echo %yellowd% Try navigating to the folder and manually deleting all files and folders.
1643- goto sessError
16441647 )
1645-
1646- :: just here as a catch-all for issues
1647- goto sessError
16481648 ) else (
16491649 echo %cyand% Notice %u% Validated that all files and folders have been deleted in %grayd% %folder_distrb%%u%
1650- goto sessFinish
16511650 )
16521651
1652+ pause > nul
1653+ goto :main
1654+
16531655 endlocal
16541656goto :EOF
16551657
0 commit comments