Windows 10: Please Help Me Undo This Crazy Anti Auto Update Batch File

Discus and support Please Help Me Undo This Crazy Anti Auto Update Batch File in Windows 10 Updates and Activation to solve the problem; Please excuse me for posting hastily right after registration, it's not elegant, but I'm in dire need of help after hours of manual operations *Sad... Discussion in 'Windows 10 Updates and Activation' started by cs4win10, Oct 8, 2018.

  1. cs4win10 Win User

    Please Help Me Undo This Crazy Anti Auto Update Batch File


    Please excuse me for posting hastily right after registration, it's not elegant, but I'm in dire need of help after hours of manual operations *Sad

    Basically, someone borrowed my computer and executed this batch file without asking me first. Could you please help me undo it? I'm a long time Windows user and can understand the smaller part of it, so I went into registry to configure Windows Update keys, reset my firewall rules to default, restarted the auto update services, etc. I also checked my local policies, and all items related to Windows update are "Not configured." Other than those, I had no idea or experience with "ACL"...

    The task is not completed so far, since in the Windows Update setting, it still shows "some settings are managed by your organization". I am the administrator and the only user of this computer so this is not necessary to say the least.

    Anyway, after hours of trying to manually correct the settings, I finally had enough and searched very hard to find the original batch file texts online. I wonder if this could finally end my misery of this morning. Would it be possible to create a batch file that exactly reverse this process?

    Thank you so much for your help! Please see the codes quoted below.

    Code: @echo off title BLOCK Win10AU! mode con cols=70 lines=15 color 1f echo ※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※ echo ※ echo ※ Stopping Process... echo ※ echo ※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※ taskkill /im Windows10UpgraderApp.exe 2>nul del /f /q "%USERPROFILE%\Desktop\Windows 10 Update Assistant.lnk" 2>nul echo ※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※ echo ※ echo ※ Adding firewall rules... echo ※ echo ※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※ netsh advfirewall firewall add rule name="Block_Windows10UpgraderApp" dir=in program="%SYSTEMDRIVE%\Windows10Upgrade\Windows10UpgraderApp.exe" action=block netsh advfirewall firewall add rule name="Block_WinREBootApp32" dir=in program="%SYSTEMDRIVE%\Windows10Upgrade\WinREBootApp32.exe" action=block netsh advfirewall firewall add rule name="Block_WinREBootApp64" dir=in program="%SYSTEMDRIVE%\Windows10Upgrade\WinREBootApp64.exe" action=block netsh advfirewall firewall add rule name="Block_bootsect" dir=in program="%SYSTEMDRIVE%\Windows10Upgrade\bootsect.exe" action=block netsh advfirewall firewall add rule name="Block_DW20" dir=in program="%SYSTEMDRIVE%\Windows10Upgrade\DW20.EXE" action=block netsh advfirewall firewall add rule name="Block_DWTRIG20" dir=in program="%SYSTEMDRIVE%\Windows10Upgrade\DWTRIG20.EXE" action=block netsh advfirewall firewall add rule name="Block_GatherOSState" dir=in program="%SYSTEMDRIVE%\Windows10Upgrade\GatherOSState.EXE" action=block netsh advfirewall firewall add rule name="Block_GetCurrentRollback" dir=in program="%SYSTEMDRIVE%\Windows10Upgrade\GetCurrentRollback.EXE" action=block netsh advfirewall firewall add rule name="Block_HttpHelper" dir=in program="%SYSTEMDRIVE%\Windows10Upgrade\HttpHelper.exe" action=block netsh advfirewall firewall add rule name="Block_UpdateAssistant" dir=in program="%SYSTEMROOT%\UpdateAssistant\UpdateAssistant.exe" action=block netsh advfirewall firewall add rule name="Block_UpdateAssistantCheck" dir=in program="%SYSTEMROOT%\UpdateAssistant\UpdateAssistantCheck.exe" action=block netsh advfirewall firewall add rule name="Block_Windows10Upgrade" dir=in program="%SYSTEMROOT%\UpdateAssistant\Windows10Upgrade.exe" action=block netsh advfirewall firewall add rule name="Block_UpdateAssistantV2" dir=in program="%SYSTEMROOT%\UpdateAssistantV2\UpdateAssistant.exe" action=block netsh advfirewall firewall add rule name="Block_UpdateAssistantCheckV2" dir=in program="%SYSTEMROOT%\UpdateAssistantV2\UpdateAssistantCheck.exe" action=block netsh advfirewall firewall add rule name="Block_Windows10UpgradeV2" dir=in program="%SYSTEMROOT%\UpdateAssistantV2\Windows10Upgrade.exe" action=block echo ※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※ echo ※ echo ※ Configurating ACL... echo ※ echo ※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※ echo y|cacls C:\Windows\UpdateAssistant\*.exe /t /p everyone:n 2>nul echo y|cacls C:\Windows10Upgrade\*.exe /t /p everyone:n 2>nul echo. echo ※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※ echo ※ echo ※ Disable Windows Update echo ※ echo ※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※ net stop wuauserv sc config wuauserv start= disabled echo ※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※ echo ※ echo ※ Delete task... echo ※ echo ※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※ schtasks /delete /TN "\Microsoft\Windows\UpdateOrchestrator\UpdateAssistant" /f 2>nul schtasks /delete /TN "\Microsoft\Windows\UpdateOrchestrator\UpdateAssistantAllUsersRun" /f 2>nul schtasks /delete /TN "\Microsoft\Windows\UpdateOrchestrator\UpdateAssistantCalendarRun" /f 2>nul schtasks /delete /TN "\Microsoft\Windows\UpdateOrchestrator\UpdateAssistantWakeupRun" /f 2>nul echo ※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※ echo ※ echo ※ Editing Registry... echo ※ echo ※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※ del /q /f %SYSTEMDRIVE%\NAU.reg 2>nul echo Windows Registry Editor Version 5.00 >> %SYSTEMDRIVE%\NAU.reg echo.>> %SYSTEMDRIVE%\NAU.reg echo [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate]>> %SYSTEMDRIVE%\NAU.reg echo "DoNotConnectToWindowsUpdateInternetLocations"=dword:00000001 >> %SYSTEMDRIVE%\NAU.reg echo.>> %SYSTEMDRIVE%\NAU.reg echo [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU]>> %SYSTEMDRIVE%\NAU.reg echo "NoAutoUpdate"=dword:00000001>> %SYSTEMDRIVE%\NAU.reg REG IMPORT %SYSTEMDRIVE%\NAU.reg del /q /f %SYSTEMDRIVE%\NAU.reg 2>nul echo ※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※ echo ※ echo ※ All Done! echo ※ echo ※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※ pause[/quote]

    :)
     
    cs4win10, Oct 8, 2018
    #1
  2. oily_17 Win User

    Batch Files Knowledge Base

    Don't use batch files very much but one I find useful is for creating a list of files in a directory.
    Just copy the text below into Notepad and save as Filelist.bat

    dir /a /-p /o:gen >filelist.txt

    When you run it from a folder it will create a Filelist.txt file,in the same folder, that lists all the files in that folder.Useful when you are too lazy to type all the files out yourself.
     
    oily_17, Oct 8, 2018
    #2
  3. Kreij Win User
    need batch file help

    I think you can just use the "Call" command in your batch file.
    The batch file should delay execution until the call command finishes.

    Call myprogram.exe
    Call mysecondprogram.exe

    Haven't done much batch coding lately *Smile Please Help Me Undo This Crazy Anti Auto Update Batch File :)
     
    Kreij, Oct 8, 2018
    #3
  4. Please Help Me Undo This Crazy Anti Auto Update Batch File

    Batch Files Knowledge Base

    Very nice and usefull thanks for contributing.
     
    AphexDreamer, Oct 8, 2018
    #4
Thema:

Please Help Me Undo This Crazy Anti Auto Update Batch File

Loading...
  1. Please Help Me Undo This Crazy Anti Auto Update Batch File - Similar Threads - Please Help Undo

  2. Help with a batch file

    in Windows 10 Network and Sharing
    Help with a batch file: I got the batch file to delete Skype-Setup.exe in the specified folder, but then it keeps repeating. Apparently I am missing something in the command.I didn't see anything relevant in forfiles /?C:\WINDOWS\system32>forfiles /P "C:\Users\Robert Allen...
  3. Help with a batch file

    in Windows 10 Software and Apps
    Help with a batch file: I got the batch file to delete Skype-Setup.exe in the specified folder, but then it keeps repeating. Apparently I am missing something in the command.I didn't see anything relevant in forfiles /?C:\WINDOWS\system32>forfiles /P "C:\Users\Robert Allen...
  4. Please somebody help me I'm going crazy lol.

    in Windows 10 Ask Insider
    Please somebody help me I'm going crazy lol.: So basically my windows 10 laptop was going super slow(wifi I mean) and I decided to run a speed test and found out I was literally running .25 download and .32 upload!!!! My phones 80 down 90 something upload. So it sent me down a big rabbit hole of ways to fix it like...
  5. Auto-Relocating Batch File

    in Windows 10 Ask Insider
    Auto-Relocating Batch File: How would I make a batch file relocate itself to a different folder when it is opened? submitted by /u/FunnyGuy9796 [link] [comments] https://www.reddit.com/r/Windows10/comments/ly2ecj/autorelocating_batch_file/
  6. Batch File Help

    in Windows 10 Support
    Batch File Help: I'll be the first to say that I have never made a batch file. I've seen them and even ran them, but never made one. What I would like to do is at 9:00 P.M. copy files from one drive to another drive. And have this process repeat it's self daily. I know that I can put this...
  7. Cannot delete 45gb MSIXVC file, about to go crazy, please help me

    in Windows 10 Ask Insider
    Cannot delete 45gb MSIXVC file, about to go crazy, please help me: I'm hoping someone can help me delete this infuriating file and set of sub folders that appeared after a failed system restore... (of which I don't even know why it failed, had the space, restore point existed). C:\ System Volume Information\ SystemRestore\ AppxStaging\...
  8. Batch File help!

    in Windows 10 Ask Insider
    Batch File help!: I'm trying to run a batch file that scans the network for a set IP range. When I run the commands individually through command prompt they work just fine. I've saved the txt file as both a .cmd, and .bat. I've also ran both as administrator, as well as navigating to the...
  9. Windows 10 Auto Bios Update Driving Me Crazy

    in Windows 10 Ask Insider
    Windows 10 Auto Bios Update Driving Me Crazy: [ATTACH] submitted by /u/girlfights [link] [comments] https://www.reddit.com/r/Windows10/comments/dwuk0x/windows_10_auto_bios_update_driving_me_crazy/
  10. Batch File Help

    in Windows 10 Software and Apps
    Batch File Help: I've never dabbled much in batch files, as I've usually been able to find pre-made ones to do what I wanted. We have an application that handles user data backups. It has three services, and at times, one or two of the three don't start automatically. If you stop and start...