jaredcabot / onedrive-uninstaller Goto Github PK
View Code? Open in Web Editor NEWBatch script to completely uninstall OneDrive in Windows 10
License: MIT License
Batch script to completely uninstall OneDrive in Windows 10
License: MIT License
Using Windows 20H2 x64
I checked C:\Windows\SysWOW64 and 3 file still showing: OneDrive (.ico) / OneDriveSettingSyncProvider.dll / OneDriveSetup.exe
Maybe i need to reboot for it to completed remove as not show in BAT to ask to reboot
NOTE: not sure if this also part of OneDrive as i see 2 file ONE etc: OneCoreCommonProxyStub.dll / OneCoreUAPCommonProxyStub.dll
I lost all my files because of some stupid forum user. I looked at OneDrive, but my text files on the desktop are completely missing. Is there really a way I can bring it back? I tried a software called Recuva but it didn't work.
After a reboot, the One Drive icon I had removed from the system try is back. 0 steps forward, 2 steps back.
Curious as to whether a script was created to reverse the affect of this script on a Windows 10 workstation.
The test IF EXIST {RegKey} doesn't work. Because the syntax of a registry key path is exactly the same as the syntax of a directory path, the batch processor looks for a subdirectory and file in the current path with the specified name. No error is thrown since the syntax is valid; it just specifies the wrong thing to look for. Since there is no such path\file, IF EXIST does not find it, and thus does not execute the conditional code following.
To properly test if a registry key exists, use the following form:
FOR /F "tokens=2*" %%P IN ('REG QUERY "regkey" /V "valuename" ^| FIND /I "REG_"') DO something
You can omit /V "valuename" if you just want to test for a key and not a specific value in that key.
However, if you just want to delete a key or value if it exists, you don't need to test if it exists. REG DELETE can't delete something that doesn't exist. It just displays a "not found" error. If you don't want to see that error message just send it to the Null device, like this:
REG DELETE "regkey" /V "valuename" /F 2>NUL:
This actually runs a little faster than testing if it exists first, because testing if the key exists first requires an additional call to REG plus a call to FIND.
Hey, so I use Windows 10 21H1 and I guess your OneDrive uninstaller script's OD uninstaller path is outdated and shifted to some other directory in recent updates as BCUninstaller is showing an entirely different path for OneDrive's uninstaller.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.