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

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

Simpan dengan nama stop.reg

script untuk mulai layanan pembaruan Windows atau masalah pada Windows Update

Buka Notepad atau editor lainnya.

copy dan faste Script, dan simpan dengan nama WUReset.bat

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 10

To uninstall 3D Builder:

get-appxpackage *3dbuilder* | remove-appxpackage 

To uninstall Alarms & Clock:

get-appxpackage *alarms* | remove-appxpackage 

To uninstall App Connector:

get-appxpackage *appconnector* | remove-appxpackage 

To uninstall App Installer:

get-appxpackage *appinstaller* | remove-appxpackage 

To uninstall Calendar and Mail apps together:

get-appxpackage *communicationsapps* | remove-appxpackage 

To uninstall Calculator:

get-appxpackage *calculator* | remove-appxpackage 

To uninstall Camera:

get-appxpackage *camera* | remove-appxpackage 

To uninstall Feedback Hub:

get-appxpackage *feedback* | remove-appxpackage 

To uninstall Get Office:

get-appxpackage *officehub* | remove-appxpackage 

To uninstall Get Started or Tips:

get-appxpackage *getstarted* | remove-appxpackage 

To uninstall Get Skype:

get-appxpackage *skypeapp* | remove-appxpackage 

To uninstall Groove Music:

get-appxpackage *zunemusic* | remove-appxpackage 

To uninstall Groove Music and Movies & TV apps together:

get-appxpackage *zune* | remove-appxpackage 

To uninstall Maps:

get-appxpackage *maps* | remove-appxpackage 

To uninstall Messaging and Skype Video apps together:

get-appxpackage *messaging* | remove-appxpackage 

To uninstall Microsoft Solitaire Collection:

get-appxpackage *solitaire* | remove-appxpackage 

To uninstall Microsoft Wallet:

get-appxpackage *wallet* | remove-appxpackage 

To uninstall Microsoft Wi-Fi:

get-appxpackage *connectivitystore* | remove-appxpackage 

To uninstall Money:

get-appxpackage *bingfinance* | remove-appxpackage 

To uninstall Money, News, Sports and Weather apps together:

get-appxpackage *bing* | remove-appxpackage 

To uninstall Movies & TV:

get-appxpackage *zunevideo* | remove-appxpackage 

To uninstall News:

get-appxpackage *bingnews* | remove-appxpackage 

To uninstall OneNote:

get-appxpackage *onenote* | remove-appxpackage 

To uninstall Paid Wi-Fi & Cellular:

get-appxpackage *oneconnect* | remove-appxpackage 

To uninstall Paint 3D:

get-appxpackage *mspaint* | remove-appxpackage 

To uninstall People:

get-appxpackage *people* | remove-appxpackage 

To uninstall Phone:

get-appxpackage *commsphone* | remove-appxpackage 

To uninstall Phone Companion:

get-appxpackage *windowsphone* | remove-appxpackage 

To uninstall Phone and Phone Companion apps together:

get-appxpackage *phone* | remove-appxpackage 

To uninstall Photos:

get-appxpackage *photos* | remove-appxpackage 

To uninstall Sports:

get-appxpackage *bingsports* | remove-appxpackage 

To uninstall Sticky Notes:

get-appxpackage *sticky* | remove-appxpackage 

To uninstall Sway:

get-appxpackage *sway* | remove-appxpackage 

To uninstall View 3D:

get-appxpackage *3d* | remove-appxpackage 

To uninstall Voice Recorder:

get-appxpackage *soundrecorder* | remove-appxpackage 

To uninstall Weather:

get-appxpackage *bingweather* | remove-appxpackage 

To uninstall Windows Holographic:

get-appxpackage *holographic* | remove-appxpackage 

To uninstall Windows Store: (Be very careful!)

get-appxpackage *windowsstore* | remove-appxpackage 

To uninstall Xbox:

get-appxpackage *xbox* | 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.

Add Take Ownership Windows 10

buka Notepad atau aplikasi text editor lainnya. copy script dibawah dan save dengan format .reg

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"

jalankan script diatas dengan klik kanan Merge, tekan Run, pilih Yes, terakhir OK

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

Buka Notepad, kemudian simpan dan beri nama "Add-Safe-Mode-ke-Desktop.reg". 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\""

Catatan editor: Artikel ini awalnya diterbitkan pada 8 Agustus 2021, dan diperbarui tanggal 13 Agustus 2021 untuk mencerminkan perubahan yang dibuat dalam Pembaruan Ulang Tahun Windows 10.

Terima kasih semoga bermanfaat.

No Comment
Add Comment
comment url