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.

AplikasiPerintah Penghapusan
3D BuilderGet-AppxPackage *3dbuilder* | Remove-AppxPackage
SwayGet-AppxPackage *sway* | remove-AppxPackage
Alarms & ClockGet-AppxPackage *alarms* | Remove-AppxPackage
CalculatorGet-AppxPackage *calculator* | Remove-AppxPackage
Calendar and MailGet-AppxPackage *communicationsapps* | Remove-AppxPackage
Get OfficeGet-AppxPackage *officehub* | Remove-AppxPackage
AV1 CodecGet-AppxPackage *AV1VideoExtension* | Remove-AppxPackage
VP9 Video ExtensionsGet-AppxPackage *VP9VideoExtensions* | Remove-AppxPackage
News appGet-AppxPackage *BingNews* | Remove-AppxPackage
WeatherGet-AppxPackage *BingWeather* | Remove-AppxPackage
SportsGet-AppxPackage *bingsports* | Remove-AppxPackage
News, Sports, and Weather appsGet-AppxPackage *bing* | Remove-AppxPackage
WebP image supportGet-AppxPackage *WebpImageExtension* | Remove-AppxPackage
HEIF image supportGet-AppxPackage *HEIFImageExtension* | Remove-AppxPackage
Music appGet-AppxPackage *ZuneMusic* | Remove-AppxPackage
Movies and TVGet-AppxPackage *ZuneVideo* | Remove-AppxPackage
Get Help appGet-AppxPackage *GetHelp* | Remove-AppxPackage
Voice RecorderGet-AppxPackage *WindowsSoundRecorder* | Remove-AppxPackage
PhotosGet-AppxPackage *photos* | Remove-AppxPackage
MS OfficeGet-AppxPackage *MicrosoftOfficeHub* | Remove-AppxPackage
Windows CameraGet-AppxPackage *camera* | Remove-AppxPackage
SkypeGet-AppxPackage *skype* | Remove-AppxPackage
MapsGet-AppxPackage *maps* | Remove-AppxPackage
Microsoft Solitaire CollectionGet-AppxPackage *solitaire* | Remove-AppxPackage
Get StartedGet-AppxPackage *getstarted* | Remove-AppxPackage
OneNoteGet-AppxPackage *onenote* | Remove-AppxPackage
PeopleGet-AppxPackage *people* | Remove-AppxPackage
Your Phone CompanionGet-AppxPackage *yourphone* | Remove-AppxPackage
Microsoft Store (Tidak direkomendasi)Get-AppxPackage *windowsstore* | Remove-AppxPackage
Voice RecorderGet-AppxPackage *soundrecorder* | Remove-AppxPackage
Screen & Sketch/Snipping toolGet-AppxPackage *ScreenSketch* | Remove-AppxPackage
SpotifyGet-AppxPackage *SpotifyAB.SpotifyMusic* | Remove-AppxPackage
Microsoft EdgeGet-AppxPackage *MicrosoftEdge* | Remove-AppxPackage
Teams/ChatGet-AppxPackage *Teams* | Remove-AppxPackage
Microsoft To-DoGet-AppxPackage *Todos* | Remove-AppxPackage
Sticky NotesGet-AppxPackage *MicrosoftStickyNotes* | Remove-AppxPackage
Feedback HubGet-AppxPackage *WindowsFeedbackHub* | Remove-AppxPackage
PowerAutomateGet-AppxPackage *PowerAutomateDesktop* | Remove-AppxPackage
Xbox Game CallableGet-AppxPackage *XboxGameCallable* | Remove-AppxPackage
Xbox Gaming OverlayGet-AppxPackage *XboxGamingOverlay* | Remove-AppxPackage
Xbox TCUIGet-AppxPackage *Xbox.TCUI* | Remove-AppxPackage
Windows TerminalGet-AppxPackage *WindowsTerminal* | Remove-AppxPackage
Xbox Speech To Text OverlayGet-AppxPackage *XboxSpeechToTextOverlay* | Remove-AppxPackage
Xbox and all related appsGet-AppxPackage *Xbox* | Remove-AppxPackage
MS PaintGet-AppxPackage *Paint* | Remove-AppxPackage
NotepadGet-AppxPackage *WindowsNotepad* | Remove-AppxPackage
ECAppGet-AppxPackage *ECApp* | Remove-AppxPackage
Mixed Reality PortalGet-AppxPackage *MixedReality* | Remove-AppxPackage
Screen SketchGet-AppxPackage *ScreenSketch* | Remove-AppxPackage
Clip ChampGet-AppxPackage *Clipchamp* | Remove-AppxPackage
Capture PickerGet-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.

No Comment
Add Comment
comment url