Script Windows: Hapus, tampilan, dan update
Berikut ini adalah daftar script Windows yang sengaja saya simpan untuk keperluan cepat terhadap system operasi ataupun beberapa perbaikan yang akan dilakukan di kemudian hari.
Beberapa dokumen diataranya akan selalu di update dari waktu ke waktu sehingga mendapatkan perbaikan secara terus menerus.
Menghapus dan mencegah Microsoft Edge install ulang saat Update Windows
1. Buka Notepad atau editor lainnya.
2. Copy dan faste Script, dan simpan dengan nama stop.reg.
3. Klik kanan pada Script, lalu pilih Run as Administrator.
C:\Program Files (x86)\Microsoft\Edge\Application\92.0.902.62\Installer\setup.exe --uninstall --system-level --verbose-logging --force-uninstall
Mencegah Microsoft Edge update dengan Registry Editor
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\EdgeUpdate]
"DoNotUpdateToEdgeWithChromium"=dword:00000001
Script untuk mulai layanan pembaruan Windows atau masalah pada Windows Update
1. Buka Notepad atau editor lainnya.
2. Copy dan faste Script, dan simpan dengan nama WUReset.bat.
3. Klik kanan pada Script, lalu pilih Run as Administrator.
@ECHO OFF
echo Simple Script to Reset / Clear Windows Update
echo.
PAUSE
echo.
attrib -h -r -s %windir%system32catroot2
attrib -h -r -s %windir%system32catroot2*.*
net stop wuauserv
net stop CryptSvc
net stop BITS
ren %windir%system32catroot2 catroot2.old
ren %windir%SoftwareDistribution sold.old
ren "%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader" downloader.old
net Start BITS
net start CryptSvc
net start wuauserv
echo.
echo Task completed successfully...
echo.
PAUSE
Full Packages name apps Windows 11/10
Anda dapat menggunakan Windows PowerShell untuk menghapus aplikasi Sistem apa pun di Windows 11.
1. Buka PowerShell sebagai Administrator.
2. Ketik Get-AppxPackage untuk melihat semua Package Name, atau Anda bisa menggunakan rekomendasi di bawah untuk segera menghapus atau bloatware pada Windows.
Aplikasi | Perintah Penghapusan |
---|---|
3D Builder | Get-AppxPackage *3dbuilder* | Remove-AppxPackage |
Sway | Get-AppxPackage *sway* | remove-AppxPackage |
Alarms & Clock | Get-AppxPackage *alarms* | Remove-AppxPackage |
Calculator | Get-AppxPackage *calculator* | Remove-AppxPackage |
Calendar and Mail | Get-AppxPackage *communicationsapps* | Remove-AppxPackage |
Get Office | Get-AppxPackage *officehub* | Remove-AppxPackage |
AV1 Codec | Get-AppxPackage *AV1VideoExtension* | Remove-AppxPackage |
VP9 Video Extensions | Get-AppxPackage *VP9VideoExtensions* | Remove-AppxPackage |
News app | Get-AppxPackage *BingNews* | Remove-AppxPackage |
Weather | Get-AppxPackage *BingWeather* | Remove-AppxPackage |
Sports | Get-AppxPackage *bingsports* | Remove-AppxPackage |
News, Sports, and Weather apps | Get-AppxPackage *bing* | Remove-AppxPackage |
WebP image support | Get-AppxPackage *WebpImageExtension* | Remove-AppxPackage |
HEIF image support | Get-AppxPackage *HEIFImageExtension* | Remove-AppxPackage |
Music app | Get-AppxPackage *ZuneMusic* | Remove-AppxPackage |
Movies and TV | Get-AppxPackage *ZuneVideo* | Remove-AppxPackage |
Get Help app | Get-AppxPackage *GetHelp* | Remove-AppxPackage |
Voice Recorder | Get-AppxPackage *WindowsSoundRecorder* | Remove-AppxPackage |
Photos | Get-AppxPackage *photos* | Remove-AppxPackage |
MS Office | Get-AppxPackage *MicrosoftOfficeHub* | Remove-AppxPackage |
Windows Camera | Get-AppxPackage *camera* | Remove-AppxPackage |
Skype | Get-AppxPackage *skype* | Remove-AppxPackage |
Maps | Get-AppxPackage *maps* | Remove-AppxPackage |
Microsoft Solitaire Collection | Get-AppxPackage *solitaire* | Remove-AppxPackage |
Get Started | Get-AppxPackage *getstarted* | Remove-AppxPackage |
OneNote | Get-AppxPackage *onenote* | Remove-AppxPackage |
People | Get-AppxPackage *people* | Remove-AppxPackage |
Your Phone Companion | Get-AppxPackage *yourphone* | Remove-AppxPackage |
Microsoft Store (Tidak direkomendasi) | Get-AppxPackage *windowsstore* | Remove-AppxPackage |
Voice Recorder | Get-AppxPackage *soundrecorder* | Remove-AppxPackage |
Screen & Sketch/Snipping tool | Get-AppxPackage *ScreenSketch* | Remove-AppxPackage |
Spotify | Get-AppxPackage *SpotifyAB.SpotifyMusic* | Remove-AppxPackage |
Microsoft Edge | Get-AppxPackage *MicrosoftEdge* | Remove-AppxPackage |
Teams/Chat | Get-AppxPackage *Teams* | Remove-AppxPackage |
Microsoft To-Do | Get-AppxPackage *Todos* | Remove-AppxPackage |
Sticky Notes | Get-AppxPackage *MicrosoftStickyNotes* | Remove-AppxPackage |
Feedback Hub | Get-AppxPackage *WindowsFeedbackHub* | Remove-AppxPackage |
PowerAutomate | Get-AppxPackage *PowerAutomateDesktop* | Remove-AppxPackage |
Xbox Game Callable | Get-AppxPackage *XboxGameCallable* | Remove-AppxPackage |
Xbox Gaming Overlay | Get-AppxPackage *XboxGamingOverlay* | Remove-AppxPackage |
Xbox TCUI | Get-AppxPackage *Xbox.TCUI* | Remove-AppxPackage |
Windows Terminal | Get-AppxPackage *WindowsTerminal* | Remove-AppxPackage |
Xbox Speech To Text Overlay | Get-AppxPackage *XboxSpeechToTextOverlay* | Remove-AppxPackage |
Xbox and all related apps | Get-AppxPackage *Xbox* | Remove-AppxPackage |
MS Paint | Get-AppxPackage *Paint* | Remove-AppxPackage |
Notepad | Get-AppxPackage *WindowsNotepad* | Remove-AppxPackage |
ECApp | Get-AppxPackage *ECApp* | Remove-AppxPackage |
Mixed Reality Portal | Get-AppxPackage *MixedReality* | Remove-AppxPackage |
Screen Sketch | Get-AppxPackage *ScreenSketch* | Remove-AppxPackage |
Clip Champ | Get-AppxPackage *Clipchamp* | Remove-AppxPackage |
Capture Picker | Get-AppxPackage *CapturePicker* | Remove-AppxPackage |
Jika anda ingin mengembalikan aplikasi secara menyeluruh gunakan perintah dibawah:
Get-AppXPackage | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
Atau:
Get-AppxPackage -AllUsers| Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}
Anda restart komputer terlebih dahulu jika sebelumnya sudah melakukan penghapusan aplikasi.
Menambah Add Take Ownership pada klik kanan Windows 10
1. Buka Notepad atau editor lainnya.
2. Copy dan faste Script, dan simpan dengan format .reg.
3. Jalankan script dibawah dengan klik kanan Merge, tekan Run, pilih Yes, terakhir OK.
Windows Registry Editor Version 5.00
; created by Walter Glenn
; for How-To Geek
; article: https://www.howtogeek.com/howto/windows-vista/add-take-ownership-to-explorer-right-click-menu-in-vista/
[HKEY_CLASSES_ROOT\*\shell\runas]
@="Take Ownership"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\*\shell\runas\command]
@="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
[HKEY_CLASSES_ROOT\Directory\shell\runas]
@="Take Ownership"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\Directory\shell\runas\command]
@="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"
jika anda ingin menghapusnya, gunakan script dibawah:
Windows Registry Editor Version 5.00
; created by Walter Glenn
; for How-To Geek
; article: https://www.howtogeek.com/howto/windows-vista/add-take-ownership-to-explorer-right-click-menu-in-vista/
[-HKEY_CLASSES_ROOT\*\shell\runas]
[-HKEY_CLASSES_ROOT\Directory\shell\runas]
Gunakan hal yang sama seperti diatas untuk menjalankannya, gunakan format .reg.
Safe Mode di Desktop konteks menu Windows 11
1. Buka Notepad.
2. Kemudian simpan dan beri nama "Add-Safe-Mode-ke-Desktop.reg".
3. Terakhir jalankan dengan cara klik dua kali pada file .reg . tekan Yes dan OK.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\SafeMode]
"icon"="bootux.dll,-1032"
"MUIVerb"="Safe Mode"
"Position"=-
"SubCommands"=""
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\SafeMode\shell\001-NormalMode]
@="Restart in Normal Mode"
"HasLUAShield"=""
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\SafeMode\shell\001-NormalMode\command]
@="powershell -windowstyle hidden -command \"Start-Process cmd -ArgumentList '/s,/c,bcdedit /deletevalue {current} safeboot & bcdedit /deletevalue {current} safebootalternateshell & shutdown -r -t 00 -f' -Verb runAs\""
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\SafeMode\shell\002-SafeMode]
@="Restart in Safe Mode"
"HasLUAShield"=""
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\SafeMode\shell\002-SafeMode\command]
@="powershell -windowstyle hidden -command \"Start-Process cmd -ArgumentList '/s,/c,bcdedit /set {current} safeboot minimal & bcdedit /deletevalue {current} safebootalternateshell & shutdown -r -t 00 -f' -Verb runAs\""
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\SafeMode\shell\003-SafeModeNetworking]
@="Restart in Safe Mode with Networking"
"HasLUAShield"=""
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\SafeMode\shell\003-SafeModeNetworking\command]
@="powershell -windowstyle hidden -command \"Start-Process cmd -ArgumentList '/s,/c,bcdedit /set {current} safeboot network & bcdedit /deletevalue {current} safebootalternateshell & shutdown -r -t 00 -f' -Verb runAs\""
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\SafeMode\shell\004-SafeModeCommandPrompt]
@="Restart in Safe Mode with Command Prompt"
"HasLUAShield"=""
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\SafeMode\shell\004-SafeModeCommandPrompt\command]
@="powershell -windowstyle hidden -command \"Start-Process cmd -ArgumentList '/s,/c,bcdedit /set {current} safeboot minimal & bcdedit /set {current} safebootalternateshell yes & shutdown -r -t 00 -f' -Verb runAs\""
Mungkin itu saja, beberapa pembaruan akan diupdate disini.
Catatan editor: Artikel ini awalnya diterbitkan pada 8 Agustus 2021, dan diperbarui tanggal 3 September 2023 untuk mencerminkan perubahan yang dibuat dalam Pembaruan.