diff --git a/Fix prompt for password change.cmd b/Disable prompt for password change.cmd similarity index 100% rename from Fix prompt for password change.cmd rename to Disable prompt for password change.cmd diff --git a/README.md b/README.md index 9198592eba02c10275a4591b8c98d18207fffb19..6261bf4a11e900bf6fd2e5b0dc39d311d93b36f8 100644 --- a/README.md +++ b/README.md @@ -8,13 +8,13 @@ These are made for running via double-clicking the scripts in file explorer. * `Disable Network folder.reg` disables the Network folder. * `Disable News & Meet.reg` disables the "Meet now" button for all users and hides the News & Interests feed for the current one. * `Disable OneDrive folder.reg` disables the OneDrive folder in Quicklinks, This PC and in the navigation menu. +* `Disable prompt for password change.cmd` disables the prompting for a password change when using a Microsoft account to log into Windows. * `Fix Outlook Temp folder.cmd` empties the Temp folder of MS Office Outlook to fix it filling up the main harddrive. * `Fix blank icons.cmd` fixes desktop icons appearing as blank white rectangles instead of their usual icon. Adapted from the [ElevenForums](https://www.elevenforum.com/t/rebuild-icon-cache-in-windows-11.2049/) [[Archived link](https://web.archive.org/web/20211017173532/https://www.elevenforum.com/t/rebuild-icon-cache-in-windows-11.2049/)] * `Fix edgegdi.dll.cmd` fixes the `edgegdi.dll` not being available for certain tasks, leading to errors thrown. * `Fix long login times.cmd` deletes `WebCache`and `WebCacheLock.dat` on all normal users to fix unbearable login times after installing windows through a custom made image. * `Fix printer installation error 0x00000bcb.cmd` adds a temporary registry hack to fix error 0x00000bcb during printer install, then removes it again afterwards. * `Fix printer not install- and selectable.cmd` fixes a problem where no printer can be selected or even installed, caused by corrupted files. -* `Fix prompt for password change.cmd` disables the prompting for a password change when using a Microsoft account. * `Fix search and settings.cmd` fixes the windows search and the settings app not starting up correctly and freezing. * `Fix winmail.dat - Disable RTF & TNEF.reg` fixes the receiver of an email getting a `winmail.dat` file as attachment instead of a normal file by introducing a registry fix to keep Outlook from ever sending emails in RTF format or TNEF encryption. * `Fix work file not createable.cmd` fixes the "Could not create the work file" error in Office. diff --git a/Remove Java remains.cmd b/Remove Java remains.cmd index 479270ae675ed899afcafdc10dc18ff6b9c8847d..8be2bb5ddd0ae9238158f25d7a58fa0eed1e8ca4 100644 --- a/Remove Java remains.cmd +++ b/Remove Java remains.cmd @@ -30,7 +30,7 @@ if '%1'=='ELEV' (del "%vbsGetPrivileges%" 1>nul 2>nul & shift /1) REM Functional part rd /s /q "C:\Program Files (x86)\Common Files\Java\" rd /s /q "C:\Program Files\Common Files\Java\" -reg query hklm\software\classes\installer\products /f "java(tm) 7" /s | find "HKEY_LOCAL_MACHINE" > deljava.txt +reg query hklm\software\classes\installer\products /f "java(tm) 8" /s | find "HKEY_LOCAL_MACHINE" > deljava.txt for /f "tokens=* delims= " %%a in (deljava.txt) do reg delete %%a /f del deljava.txt reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment" /f