Forum PCLab.pl: OneDrive script OneDrive_Total_Delete - Forum PCLab.pl

Skocz do zawartości

Otwarty

Ikona Najnowsze pliki

Strona 1 z 1
  • Nie możesz rozpocząć nowego tematu
  • Nie możesz odpowiadać w tym temacie

OneDrive script OneDrive_Total_Delete script OneDrive_Total_Delete

#1 Użytkownik jest niedostępny   asusek147 

  • Dyskutant
  • PipPip
  • Grupa: Forumowicze
  • Postów: 41
  • Dołączył: Wt, 23 Lip 19

Napisany 24 Sierpień 2019 - 17:32

Witam drodzy forumowicze postanowiłem zrobić skrypt który pozwoli usunąć totalnie program OneDrive.exe z komputera oraz wyłączyć go z autostart

u mnie działa bez zarzutu bardzo proszę o sprawdzenie czy waszym zdaniem jest wszystko ok lub czy coś przydało by się w nim jeszcze zmienić ?

echo@ Onn
echo OneDrive_Totall_Unistall
taskkill /f /im OneDrive.exe
timeout /t 2 /nobreak >nul
del "C:\Program Files\Microsoft Office\root\Office16\lync.exe" - usuwa Skype dla Firm
del "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Skype dla firm 2016.lnk" -,,,,,,,--

reg import "J:\nie kasowac\Rejestry\kontakty_pasek_zadan_off\kontakty_pasek_zadan_off.reg" - usuwa ikonkę kontakty z paska zadań
timeout /t 1 /nobreak >nul

TAKEOWN /F "C:\Windows\SysWOW64\OneDriveSetup.exe" /A
icacls "C:\Windows\SysWOW64\OneDriveSetup.exe" /grant Administratorzy:F
DEL "C:\Windows\SysWOW64\OneDriveSetup.exe"
echo@
TAKEOWN /F "C:\Windows\SysWOW64\OneDriveSettingSyncProvider.dll" /A
icacls "C:\Windows\SysWOW64\OneDriveSettingSyncProvider.dll" /grant Administratorzy:F
DEL "C:\Windows\SysWOW64\OneDriveSettingSyncProvider.dll"
echo@
TAKEOWN /F "C:\Windows\SysWOW64\en-US\OneDriveSettingSyncProvider.dll.mui" /A
icacls "C:\Windows\SysWOW64\en-US\OneDriveSettingSyncProvider.dll.mui" /grant Administratorzy:F
DEL "C:\Windows\SysWOW64\en-US\OneDriveSettingSyncProvider.dll.mui"
echo@
TAKEOWN /F "C:\Windows\SysWOW64\OneDrive.ico" /A
icacls "C:\Windows\SysWOW64\OneDrive.ico" /grant Administratorzy:F
DEL "C:\Windows\SysWOW64\OneDrive.ico"
echo@
TAKEOWN /F "C:\Windows\SysWOW64\config\systemprofile\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\OneDrive.lnk" /A
icacls "C:\Windows\SysWOW64\config\systemprofile\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\OneDrive.lnk" /grant Administratorzy:F
DEL "C:\Windows\SysWOW64\config\systemprofile\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\OneDrive.lnk"
echo@
timeout /t 12 /nobreak >nul
TAKEOWN /F "C:\Windows\SysWOW64\config\systemprofile\AppData\Local\Microsoft\OneDrive" /A
icacls "C:\Windows\SysWOW64\config\systemprofile\AppData\Local\Microsoft\OneDrive" /grant Administratorzy:F /T
rmdir /s /q "C:\Windows\SysWOW64\config\systemprofile\AppData\Local\Microsoft\OneDrive"
echo@
TAKEOWN /F "C:\Windows\WinSxS\wow64_microsoft-windows-s..-onedrive.resources_31bf3856ad364e35_10.0.17763.1_en-us_28e56594b89f45fe" /R /A /D N
icacls "C:\Windows\WinSxS\wow64_microsoft-windows-s..-onedrive.resources_31bf3856ad364e35_10.0.17763.1_en-us_28e56594b89f45fe" /grant:r Administrator:(OI)(CI)F
rmdir /s /q "C:\Windows\WinSxS\wow64_microsoft-windows-s..-onedrive.resources_31bf3856ad364e35_10.0.17763.1_en-us_28e56594b89f45fe"
echo@
TAKEOWN /F "C:\Windows\servicing\Packages\Microsoft-Windows-OneDrive-Setup-Package~31bf3856ad364e35~amd64~~10.0.17763.1.cat" /A
icacls "C:\Windows\servicing\Packages\Microsoft-Windows-OneDrive-Setup-Package~31bf3856ad364e35~amd64~~10.0.17763.1.cat" /grant Administratorzy:F
DEL "C:\Windows\servicing\Packages\Microsoft-Windows-OneDrive-Setup-Package~31bf3856ad364e35~amd64~~10.0.17763.1.cat"
echo@
TAKEOWN /F "C:\Windows\servicing\Packages\Microsoft-Windows-OneDrive-Setup-Package~31bf3856ad364e35~amd64~pl-PL~10.0.17763.1.cat" /A
icacls "C:\Windows\servicing\Packages\Microsoft-Windows-OneDrive-Setup-Package~31bf3856ad364e35~amd64~pl-PL~10.0.17763.1.cat" /grant Administratorzy:F
DEL "C:\Windows\servicing\Packages\Microsoft-Windows-OneDrive-Setup-Package~31bf3856ad364e35~amd64~pl-PL~10.0.17763.1.cat"
echo@
TAKEOWN /F "C:\Windows\servicing\Packages\Microsoft-Windows-OneDrive-Setup-WOW64-Package~31bf3856ad364e35~amd64~~10.0.17763.1.cat" /A
icacls "C:\Windows\servicing\Packages\Microsoft-Windows-OneDrive-Setup-WOW64-Package~31bf3856ad364e35~amd64~~10.0.17763.1.cat" /grant Administratorzy:F
DEL "C:\Windows\servicing\Packages\Microsoft-Windows-OneDrive-Setup-WOW64-Package~31bf3856ad364e35~amd64~~10.0.17763.1.cat"
echo@
TAKEOWN /F "C:\Windows\servicing\Packages\Microsoft-Windows-OneDrive-Setup-WOW64-Package~31bf3856ad364e35~amd64~pl-PL~10.0.17763.1.cat" /A
icacls "C:\Windows\servicing\Packages\Microsoft-Windows-OneDrive-Setup-WOW64-Package~31bf3856ad364e35~amd64~pl-PL~10.0.17763.1.cat" /grant Administratorzy:F
DEL "C:\Windows\servicing\Packages\Microsoft-Windows-OneDrive-Setup-WOW64-Package~31bf3856ad364e35~amd64~pl-PL~10.0.17763.1.cat"
echo@
TAKEOWN /F "C:\Windows\WinSxS\amd64_microsoft-windows-settingsync-onedrive_31bf3856ad364e35_10.0.17763.1_none_c013203a9976dd1c\OneDriveSettingSyncProvider.dll" /A
icacls "C:\Windows\WinSxS\amd64_microsoft-windows-settingsync-onedrive_31bf3856ad364e35_10.0.17763.1_none_c013203a9976dd1c\OneDriveSettingSyncProvider.dll" /grant Administratorzy:F
DEL "C:\Windows\WinSxS\amd64_microsoft-windows-settingsync-onedrive_31bf3856ad364e35_10.0.17763.1_none_c013203a9976dd1c\OneDriveSettingSyncProvider.dll"
echo@
TAKEOWN /F "C:\Windows\WinSxS\Manifests\wow64_microsoft-windows-s..-onedrive.resources_31bf3856ad364e35_10.0.17763.1_en-us_28e56594b89f45fe.manifest" /A
icacls "C:\Windows\WinSxS\Manifests\wow64_microsoft-windows-s..-onedrive.resources_31bf3856ad364e35_10.0.17763.1_en-us_28e56594b89f45fe.manifest" /grant Administratorzy:F
DEL "C:\Windows\WinSxS\amd64_microsoft-windows-settingsync-onedrive_31bf3856ad364e35_10.0.17763.1_none_c013203a9976dd1c\OneDriveSettingSyncProvider.dll"
echo@
TAKEOWN /F "C:\Windows\WinSxS\Manifests\amd64_microsoft-windows-s..-onedrive.resources_31bf3856ad364e35_10.0.17763.1_en-us_1e90bb42843e8403.manifest" /A
icacls "C:\Windows\WinSxS\Manifests\amd64_microsoft-windows-s..-onedrive.resources_31bf3856ad364e35_10.0.17763.1_en-us_1e90bb42843e8403.manifest" /grant Administratorzy:F
DEL "C:\Windows\WinSxS\Manifests\amd64_microsoft-windows-s..-onedrive.resources_31bf3856ad364e35_10.0.17763.1_en-us_1e90bb42843e8403.manifest"
echo@
TAKEOWN /F "C:\ProgramData\Microsoft OneDrive" /R /A /D N
icacls "C:\ProgramData\Microsoft OneDrive" /grant:r Administrator:(OI)(CI)F
rmdir /s /q "C:\ProgramData\Microsoft OneDrive"
echo@
TAKEOWN /F "C:\Windows\WinSxS\Manifests\wow64_microsoft-windows-onedrive-setup_31bf3856ad364e35_10.0.17763.1_none_205ad563b29a7967.manifest" /A
icacls "C:\Windows\WinSxS\Manifests\wow64_microsoft-windows-onedrive-setup_31bf3856ad364e35_10.0.17763.1_none_205ad563b29a7967.manifest" /grant Administratorzy:F
del "C:\Windows\WinSxS\Manifests\wow64_microsoft-windows-onedrive-setup_31bf3856ad364e35_10.0.17763.1_none_205ad563b29a7967.manifest"
echo@
TAKEOWN /F "C:\Windows\WinSxS\amd64_microsoft-windows-s..-onedrive.resources_31bf3856ad364e35_10.0.17763.1_en-us_1e90bb42843e8403" /R /A /D N
icacls "C:\Windows\WinSxS\amd64_microsoft-windows-s..-onedrive.resources_31bf3856ad364e35_10.0.17763.1_en-us_1e90bb42843e8403" /grant:r Administrator:(OI)(CI)F
rmdir /s /q "C:\Windows\WinSxS\amd64_microsoft-windows-s..-onedrive.resources_31bf3856ad364e35_10.0.17763.1_en-us_1e90bb42843e8403"
echo@
timeout /t 12/nobreak >nul
TAKEOWN /F "C:\Windows\WinSxS\amd64_microsoft-windows-settingsync_31bf3856ad364e35_10.0.17763.1_none_81e0a873525e6b2d" /R /A /D N
icacls "C:\Windows\WinSxS\amd64_microsoft-windows-settingsync_31bf3856ad364e35_10.0.17763.1_none_81e0a873525e6b2d" /grant:r Administrator:(OI)(CI)F
rmdir /s /q "C:\Windows\WinSxS\amd64_microsoft-windows-settingsync_31bf3856ad364e35_10.0.17763.1_none_81e0a873525e6b2d"
echo@
TAKEOWN /F "C:\Windows\WinSxS\amd64_microsoft-windows-settingsync-onedrive_31bf3856ad364e35_10.0.17763.1_none_c013203a9976dd1c" /R /A /D N
icacls "C:\Windows\WinSxS\amd64_microsoft-windows-settingsync-onedrive_31bf3856ad364e35_10.0.17763.1_none_c013203a9976dd1c" /grant:r Administrator:(OI)(CI)F
rmdir /s /q "C:\Windows\WinSxS\amd64_microsoft-windows-settingsync-onedrive_31bf3856ad364e35_10.0.17763.1_none_c013203a9976dd1c"
echo@
TAKEOWN /F "C:\Windows\WinSxS\wow64_microsoft-windows-settingsync-onedrive_31bf3856ad364e35_10.0.17763.1_none_ca67ca8ccdd79f17" /R /A /D N
icacls "C:\Windows\WinSxS\wow64_microsoft-windows-settingsync-onedrive_31bf3856ad364e35_10.0.17763.1_none_ca67ca8ccdd79f17" /grant:r Administrator:(OI)(CI)F
rmdir /s /q "C:\Windows\WinSxS\wow64_microsoft-windows-settingsync-onedrive_31bf3856ad364e35_10.0.17763.1_none_ca67ca8ccdd79f17"
echo@
TAKEOWN /F "C:\Windows\WinSxS\wow64_microsoft-windows-onedrive-setup_31bf3856ad364e35_10.0.17763.1_none_205ad563b29a7967" /R /A /D N
icacls "C:\Windows\WinSxS\wow64_microsoft-windows-onedrive-setup_31bf3856ad364e35_10.0.17763.1_none_205ad563b29a7967" /grant:r Administrator:(OI)(CI)F
rmdir /s /q "C:\Windows\WinSxS\wow64_microsoft-windows-onedrive-setup_31bf3856ad364e35_10.0.17763.1_none_205ad563b29a7967"
echo@
TAKEOWN /F "C:\Windows\WinSxS\Manifests\wow64_microsoft-windows-settingsynchost_31bf3856ad364e35_10.0.17763.1_none_7afdc0c2afb3c7dc.manifest" /A
icacls "C:\Windows\WinSxS\Manifests\wow64_microsoft-windows-settingsynchost_31bf3856ad364e35_10.0.17763.1_none_7afdc0c2afb3c7dc.manifest" /grant Administratorzy:F
del "C:\Windows\WinSxS\Manifests\wow64_microsoft-windows-settingsynchost_31bf3856ad364e35_10.0.17763.1_none_7afdc0c2afb3c7dc.manifest"
echo@
TAKEOWN /F "C:\Windows\WinSxS\Manifests\wow64_microsoft-windows-settingsync-onedrive_31bf3856ad364e35_10.0.17763.404_none_4e94aed5fb38925a.manifest" /A
icacls "C:\Windows\WinSxS\Manifests\wow64_microsoft-windows-settingsync-onedrive_31bf3856ad364e35_10.0.17763.404_none_4e94aed5fb38925a.manifest" /grant Administratorzy:F
del "C:\Windows\WinSxS\Manifests\wow64_microsoft-windows-settingsync-onedrive_31bf3856ad364e35_10.0.17763.404_none_4e94aed5fb38925a.manifest"
echo@
TAKEOWN /F "C:\Windows\WinSxS\Manifests\amd64_microsoft-windows-settingsynccore_31bf3856ad364e35_10.0.17763.615_none_ee5b6995acd93f7b.manifest" /A
icacls "C:\Windows\WinSxS\Manifests\amd64_microsoft-windows-settingsynccore_31bf3856ad364e35_10.0.17763.615_none_ee5b6995acd93f7b.manifest" /grant Administratorzy:F
del "C:\Windows\WinSxS\Manifests\amd64_microsoft-windows-settingsynccore_31bf3856ad364e35_10.0.17763.615_none_ee5b6995acd93f7b.manifest"
echo@
TAKEOWN /F "C:\Windows\WinSxS\Manifests\amd64_microsoft-windows-settingsync-onedrive_31bf3856ad364e35_10.0.17763.404_none_44400483c6d7d05f.manifest" /A
icacls "C:\Windows\WinSxS\Manifests\amd64_microsoft-windows-settingsync-onedrive_31bf3856ad364e35_10.0.17763.404_none_44400483c6d7d05f.manifest" /grant Administratorzy:F
del "C:\Windows\WinSxS\Manifests\amd64_microsoft-windows-settingsync-onedrive_31bf3856ad364e35_10.0.17763.404_none_44400483c6d7d05f.manifest"
echo@
TAKEOWN /F "C:\Windows\WinSxS\Manifests\amd64_microsoft-windows-onedrive-setup_31bf3856ad364e35_10.0.17763.1_none_16062b117e39b76c.manifest" /A
icacls "C:\Windows\WinSxS\Manifests\amd64_microsoft-windows-onedrive-setup_31bf3856ad364e35_10.0.17763.1_none_16062b117e39b76c.manifest" /grant Administratorzy:F
del "C:\Windows\WinSxS\Manifests\amd64_microsoft-windows-onedrive-setup_31bf3856ad364e35_10.0.17763.1_none_16062b117e39b76c.manifest"
echo@
TAKEOWN /F "C:\Windows\WinSxS\Manifests\wow64_microsoft-windows-settingsynccore_31bf3856ad364e35_10.0.17763.615_none_f8b013e7e13a0176.manifest" /A
icacls "C:\Windows\WinSxS\Manifests\wow64_microsoft-windows-settingsynccore_31bf3856ad364e35_10.0.17763.615_none_f8b013e7e13a0176.manifest" /grant Administratorzy:F
del "C:\Windows\WinSxS\Manifests\wow64_microsoft-windows-settingsynccore_31bf3856ad364e35_10.0.17763.615_none_f8b013e7e13a0176.manifest"
echo@
TAKEOWN /F "C:\Windows\WinSxS\Manifests\wow64_microsoft-windows-settingsync-onedrive_31bf3856ad364e35_10.0.17763.1_none_ca67ca8ccdd79f17.manifest" /A
icacls "C:\Windows\WinSxS\Manifests\wow64_microsoft-windows-settingsync-onedrive_31bf3856ad364e35_10.0.17763.1_none_ca67ca8ccdd79f17.manifest" /grant Administratorzy:F
del "C:\Windows\WinSxS\Manifests\wow64_microsoft-windows-settingsync-onedrive_31bf3856ad364e35_10.0.17763.1_none_ca67ca8ccdd79f17.manifest"
echo@
TAKEOWN /F "C:\Windows\WinSxS\Manifests\amd64_microsoft-windows-settingsync-onedrive_31bf3856ad364e35_10.0.17763.1_none_c013203a9976dd1c.manifest" /A
icacls "C:\Windows\WinSxS\Manifests\amd64_microsoft-windows-settingsync-onedrive_31bf3856ad364e35_10.0.17763.1_none_c013203a9976dd1c.manifest" /grant Administratorzy:F
del "C:\Windows\WinSxS\Manifests\amd64_microsoft-windows-settingsync-onedrive_31bf3856ad364e35_10.0.17763.1_none_c013203a9976dd1c.manifest"
echo@
TAKEOWN /F "C:\Windows\System32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-OfflineFiles-base-Package~31bf3856ad364e35~amd64~pl-PL~10.0.17763.1.cat" /A
icacls "C:\Windows\System32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-OfflineFiles-base-Package~31bf3856ad364e35~amd64~pl-PL~10.0.17763.1.cat" /grant Administratorzy:F
del "C:\Windows\System32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-OfflineFiles-base-Package~31bf3856ad364e35~amd64~pl-PL~10.0.17763.1.cat"
echo@
TAKEOWN /F "C:\Windows\System32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-Not-Supported-On-LTSB-WOW64-Package~31bf3856ad364e35~amd64~pl-PL~10.0.17763.1.cat" /A
icacls "C:\Windows\System32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-Not-Supported-On-LTSB-WOW64-Package~31bf3856ad364e35~amd64~pl-PL~10.0.17763.1.cat" /grant Administratorzy:F
del "C:\Windows\System32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-Not-Supported-On-LTSB-WOW64-Package~31bf3856ad364e35~amd64~pl-PL~10.0.17763.1.cat"
echo@
TAKEOWN /F "C:\Windows\System32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-Not-Supported-On-LTSB-WOW64-Package~31bf3856ad364e35~amd64~~10.0.17763.1.cat" /A
icacls "C:\Windows\System32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-Not-Supported-On-LTSB-WOW64-Package~31bf3856ad364e35~amd64~~10.0.17763.1.cat" /grant Administratorzy:F
del "C:\Windows\System32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-Not-Supported-On-LTSB-WOW64-Package~31bf3856ad364e35~amd64~~10.0.17763.1.cat"
echo@
TAKEOWN /F "C:\Windows\System32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-OneDrive-Setup-WOW64-Package~31bf3856ad364e35~amd64~~10.0.17763.1.cat" /A
icacls "C:\Windows\System32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-OneDrive-Setup-WOW64-Package~31bf3856ad364e35~amd64~~10.0.17763.1.cat" /grant Administratorzy:F
del "C:\Windows\System32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-OneDrive-Setup-WOW64-Package~31bf3856ad364e35~amd64~~10.0.17763.1.cat"
echo@
TAKEOWN /F "C:\Windows\System32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-OneDrive-Setup-WOW64-Package~31bf3856ad364e35~amd64~pl-PL~10.0.17763.1.catt" /A
icacls "C:\Windows\System32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-OneDrive-Setup-WOW64-Package~31bf3856ad364e35~amd64~pl-PL~10.0.17763.1.cat" /grant Administratorzy:F
del "C:\Windows\System32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-OneDrive-Setup-WOW64-Package~31bf3856ad364e35~amd64~pl-PL~10.0.17763.1.cat"
echo@
TAKEOWN /F "C:\Windows\System32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-OneDrive-Setup-Package~31bf3856ad364e35~amd64~pl-PL~10.0.17763.1.cat" /A
icacls "C:\Windows\System32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-OneDrive-Setup-Package~31bf3856ad364e35~amd64~pl-PL~10.0.17763.1.cat" /grant Administratorzy:F
del "C:\Windows\System32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-OneDrive-Setup-Package~31bf3856ad364e35~amd64~pl-PL~10.0.17763.1.cat"
echo@
TAKEOWN /F "C:\Windows\System32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-OneDrive-Setup-Package~31bf3856ad364e35~amd64~~10.0.17763.1.cat" /A
icacls "C:\Windows\System32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-OneDrive-Setup-Package~31bf3856ad364e35~amd64~~10.0.17763.1.cat" /grant Administratorzy:F
del "C:\Windows\System32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-OneDrive-Setup-Package~31bf3856ad364e35~amd64~~10.0.17763.1.cat"
echo@
TAKEOWN /F "C:\Users\Administrator\AppData\Local\Microsoft\OneDrive" /A
icacls "C:\Users\Administrator\AppData\Local\Microsoft\OneDrive" /grant Administratorzy:F
rmdir /s /q "C:\Users\Administrator\AppData\Local\Microsoft\OneDrive"

rmdir /s /q "C:\Windows\SysWOW64\config\systemprofile\OneDrive"
rmdir /s /q "C:\Users\Administrator\OneDrive"
rmdir /s /q "C:\Windows\SysWOW64\config\systemprofile\OneDrive"
rmdir /s /q "C:\Windows\SysWOW64\config\systemprofile\AppData\Local\Microsoft\OneDrive"
rmdir /s /q "C:\Users\Administrator\AppData\Local\Microsoft\OneDrive"
rmdir /s /q "C:\Program Files\Microsoft Office\Updates\Download\PackageFiles\AFE7B9E3-E1B3-4EA0-85D6-051372AABE19\root\Integration\Addons"

del "C:\Windows\SysWOW64\OneDriveSetup.exe"
del "C:\Windows\System32\Tasks\OneDrive Standalone Update Task-S-1-5-21-809303901-895541562-3708442595-500"
DEL "C:\Windows\WinSxS\wow64_microsoft-windows-onedrive-setup_31bf3856ad364e35_10.0.17763.1_none_205ad563b29a7967\OneDriveSetup.exe"
DEL "C:\Windows\WinSxS\wow64_microsoft-windows-onedrive-setup_31bf3856ad364e35_10.0.17763.1_none_205ad563b29a7967\OneDriveSetup.exe
del "C:\Windows\WinSxS\wow64_microsoft-windows-s..-onedrive.resources_31bf3856ad364e35_10.0.17763.1_en-us_28e56594b89f45fe\OneDriveSettingSyncProvider.dll.mui"
del "C:\Windows\WinSxS\wow64_microsoft-windows-onedrive-setup_31bf3856ad364e35_10.0.17763.1_none_205ad563b29a7967\OneDrive.ico"
del "C:\Windows\WinSxS\wow64_microsoft-windows-onedrive-setup_31bf3856ad364e35_10.0.17763.1_none_205ad563b29a7967\OneDrive.lnk"
del "C:\Program Files\Microsoft Office\root\Integration\Addons\OneDriveSetup.exe"
del "C:\Windows\WinSxS\wow64_microsoft-windows-settingsync-onedrive_31bf3856ad364e35_10.0.17763.1_none_ca67ca8ccdd79f17\OneDriveSettingSyncProvider.dll"
del "C:\Windows\servicing\Packages\Microsoft-Windows-OneDrive-Setup-Package~31bf3856ad364e35~amd64~~10.0.17763.1.mum"
del "C:\Windows\WinSxS\Manifests\wow64_microsoft-windows-s..-onedrive.resources_31bf3856ad364e35_10.0.17763.1_en-us_28e56594b89f45fe.manifest"
del "C:\Windows\System32\Tasks\OneDrive Standalone Update Task-S-1-5-21-2011829083-1894843893-2941198650-500"
del "C:\Users\Administrator\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\OneDrive.lnk"
del "C:\Windows\Prefetch\ONEDRIVESETUP.EXE-66EE7544.pf"
del "C:\Windows\Prefetch\ONEDRIVESETUP.EXE-E44A598D.pf"
del "C:\Program Files\Microsoft Office\root\Integration\OneDriveSetup.exe"
del "C:\Program Files\Microsoft Office\root\mcxml\x-none\PowerPivot.x-none.msi.16_mondoww.mcxml"
del "C:\Program Files\Microsoft Office\root\mcxml\x-none\OneDriveSetup.x-none.msi.16_OneDriveSetup.mcxml"
del "C:\Program Files\Microsoft Office\Updates\Download\PackageFiles\AFE7B9E3-E1B3-4EA0-85D6-051372AABE19\root\mcxml\x-none\OneDriveSetup.x-none.msi.16_OneDriveSetup.mcxml"
del "C:\Windows\servicing\Packages\Microsoft-Windows-OneDrive-Setup-Package~31bf3856ad364e35~amd64~pl-PL~10.0.17763.1.mum"
del "C:\Windows\servicing\Packages\Microsoft-Windows-OneDrive-Setup-WOW64-Package~31bf3856ad364e35~amd64~pl-PL~10.0.17763.1.mum"
del "C:\Windows\servicing\Packages\Microsoft-Windows-OneDrive-Setup-WOW64-Package~31bf3856ad364e35~amd64~~10.0.17763.1.mum"
del "C:\Windows\Prefetch\ONEDRIVESETUP.EXE-B32931AD.pf"
del "C:\Windows\Prefetch\ONEDRIVESETUP.EXE-DAD09F70.pf"
del "C:\Windows\Prefetch\ONEDRIVE.EXE-AF453825.pf"
DEL "C:\Windows\System32\OneDriveSettingSyncProvider.dll"
DEL "C:\Windows\WinSxS\amd64_microsoft-windows-s..-onedrive.resources_31bf3856ad364e35_10.0.17763.1_en-us_1e90bb42843e8403\OneDriveSettingSyncProvider.dll.mui"
DEL "C:\Windows\WinSxS\Manifests\wow64_microsoft-windows-s..-onedrive.resources_31bf3856ad364e35_10.0.17763.1_en-us_28e56594b89f45fe.manifest"
del "C:\Program Files\Microsoft Office\root\mcxml\x-none\Office.x-none.msi.16_PostCommon.Office.x-none.mcxml"
del "C:\Windows\System32\en-US\OneDriveSettingSyncProvider.dll.mui"

reg delete HKU\S-1-5-19\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /f
reg delete HKU\S-1-5-21-2180047322-1946615376-1357608069-500\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /f
reg delete HKU\S-1-5-21-2669154777-474311557-4039437381-500\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /f
reg delete HKU\S-1-5-21-906905776-389348883-2192128799-500\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /f
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run" /f
reg delete "HKEY_USERS\S-1-5-20\Software\Microsoft\Windows\CurrentVersion\Run" /f

%SystemRoot%\SysWOW64\OneDriveSetup.exe /uninstall
shutdown -r -f -t 2

Strona 1 z 1
  • Nie możesz rozpocząć nowego tematu
  • Nie możesz odpowiadać w tym temacie

1 Użytkowników czyta ten temat
0 użytkowników, 1 gości, 0 anonimowych