instead of script, what about an exec that will handle all the scripts? it has more appeal and with an interface could be more easy for simple users... just a idea..
you mean to program it with like VB.Net good idea but it takes time and it's not easy to apply these changes via a programming language
In Windows Update session you have this: Code: IF "%input%"=="1" (Goto U1) and then you have :1U instead of :U1. That makes the script close when you choose some option from the Windows Update session. Anyway good toogle script. You could also add the option to only disable OneDrive alongside the other option you already have. This is the code you need to add to disable/enable it: Code: reg add "HKLM\Software\Policies\Microsoft\Windows\OneDrive" /v "DisableFileSyncNGSC" /t REG_DWORD /d "1" /f -disabled reg add "HKLM\Software\Policies\Microsoft\Windows\OneDrive" /v "DisableFileSyncNGSC" /t REG_DWORD /d "0" /f -enabled
Just to let you know: I opened this, clicked run, clicked yes on the admin box thing, and the bat file ran on an infinite loop, still saying "asking for admin" or whatever. I signed out...But the second time, it worked. I'm not sure if you want to address that infinite loop thing, it might have just been my computer. But anyways, everything else worked, thanks for the amazing script!
I share the feeling, I disable powershell as well as vbs for security purposes, but it is still a nice tool, took a lot of work. If you look at it, most of them are just registry entries applied via scripts, so they can be extracted, if you want some.
Thanks I corrected this I have 2 Options to manage OneDrive : 1.Remove Onedrive/Dropbox Icon in File explorer 2.Disable and delete Onedrive I will add a page called "Manage Onedrive" and add in it these two plus the "Enable/Disable" option
Thanks for your efforts. I like this script, because I can look into the source and see what it is doing. Would not like to let an exe do the same, first I had to start it with admin privileges and than it could do everything and second I like to see what's done to my system. The other idea would be some kind of tweak manager, where you just drop the reg(tweak) files in a folder and if you start the manager you get a nice gui So it would be easy to add my own tweaks and if all this is accessible via an ini I can quickly use all the patches on a new system or in some kind of deployment. But me would like to see the manager as a script too. Who needs a GUI, but maybe that's because I started with MS-Dos and still like CMD/Power Shell as my favourite tool.
@Yasser Da Silva, can you please add reg tweak for "remove and hide the Network icon from Windows 10 File Explorer", can't put links, i don't have enough posts, but the tutorial is on winaero site, thank you
I tried to add it before but it need to take admin privileges to change the value and i didn't find a way to take admin rights with BAT or VBS or other scripts like PS1 any one have any idea how to do that !!!