Reset Windows Update in Windows 10  

Page 9 of 48 FirstFirst ... 789101119 ... LastLast

  1. Posts : 48
    win10
       #80

    tsunami2311 said:
    I ran this bat to reset windows update and it did that but it also messed with permissions now every time I try to run taskmanager it give me a UAC prompt which it shouldnt along with few other MS programs that shouldnt trigger a uac prompt

    I know this is it delay, but there is bug that happens when this done atlest every time I done it.

    Doing this will reset your User Account from Admin to Standard depsite it saying it Admin, To fix this one has to open an admin CMD and run
    net user administrator /active:yes

    Sign out of computer go into the Administrator that is listed there go to User Accounts>manage account types you will notice it say ADMIN is selected ( its really not) pick standard hit apply go back into manage accounts types it will now show standard ( as it really is now) select Admin hit apply.

    Account Type - Change in Windows 10

    Sign out go back to your normal user name. open task manager will no longer prompt the uac window. from there you can open an admin CMD and run
    net user administrator /active:no

    to turn off that admin login

    The bug seem to set users back to standard but it wont update GUI. I have now had to do this 3 times each time after the wu reset was used
      My Computer


  2. Posts : 15
    10 Pro 1607 x64, 7 Ultimate x64, Zorin, Ubuntu
       #81

    Brink said:
    I'm glad it could help throkr. :)
    I tried it had a hang on a update now cannot access anything administrative

    Error after running then reboot
    0x80070005

    cannot login as admin, no access to users/groups etc

    Keep getting unknown user wants to make changes to settings on everything I click


    right clicked unblocked, ran as admin, .bak missing during run finished properly then rebooted just sitting in a endless loop on good install no options
      My Computer


  3. Posts : 63,987
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #82

    Hello OdinSon,

    Sorry to hear that. Doing a system restore at boot using a restore point dated before doing this will undo it.

    System Restore Windows 10
      My Computers


  4. Posts : 15
    10 Pro 1607 x64, 7 Ultimate x64, Zorin, Ubuntu
       #83

    tsunami2311 said:
    I know this is it delay, but there is bug that happens when this done atlest every time I done it.

    Doing this will reset your User Account from Admin to Standard depsite it saying it Admin, To fix this one has to open an admin CMD and run
    net user administrator /active:yes

    Sign out of computer go into the Administrator that is listed there go to User Accounts>manage account types you will notice it say ADMIN is selected ( its really not) pick standard hit apply go back into manage accounts types it will now show standard ( as it really is now) select Admin hit apply.

    Account Type - Change in Windows 10

    Sign out go back to your normal user name. open task manager will no longer prompt the uac window. from there you can open an admin CMD and run
    net user administrator /active:no

    to turn off that admin login

    The bug seem to set users back to standard but it wont update GUI. I have now had to do this 3 times each time after the wu reset was used

    Brink said:
    Hello OdinSon,

    Sorry to hear that. Doing a system restore at boot using a restore point dated before doing this will undo it.

    System Restore Windows 10

    The fix above works was posting then going in to reboot seen it after commented very nice save

    It happened to me everytime I ran as well, so it was basically knocking out user admin at end of the command, just enabled admin as tsunami2311 said and followed his path in comment viola it was set to standard.

    His post is definitely a good addition thanks again seems this is not everyone must be something set different between users?

    Thanks tsunami2311
      My Computer


  5. Posts : 1,640
    10 Home 64-bit | v22H2 | Build - 19045.2486
       #84

    Hi Shawn,

    I was reading another thread that pointed me here and I have a question about your .bat file in post #1. The line just before the re-registering of .dlls is: cd /d %windir%\system32 and I'm wondering what effect that would have on my machine. I'm not having any problems, just curious.

    If I read that cmd correctly the .bat file is requesting a change to the d directory to re-register the .dlls in the Windows / system32 folder(s).

    My new Lenovo 110 ideapad has a d partition but it doesn't have a windows directory, Lenovo has it set up for drivers, the register folder you do see has a disable_AN file in it:
    Reset Windows Update in Windows 10-len-d.png

    Here's a shot of my dskmgmt:
    Reset Windows Update in Windows 10-len-dsk-mgmt.png


    My DOS skills are really rusty but I'm hoping pretty sure you can clear this up for me. :)

    Steve
      My Computers


  6. Posts : 63,987
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #85

    Hello Steve @Anak, :)

    The cd /d %windir%\system32 line is to change the command line directory to "C:\Windows\System32" to be able re-register the .dll files listed after that line in the bat file since the .dll files are located in the System32 folder.

    To change the drive and the directory at the same time, use the cd command, followed by the “/d” switch. The /d parameter is used to change the current drive to a specific folder from another disk volume.
      My Computers


  7. Posts : 1,640
    10 Home 64-bit | v22H2 | Build - 19045.2486
       #86

    Thanks Shawn, @Brink,

    Ahhh.... That's what was throwing me off, no drive before cd , I'm used to seeing C:> cd /D.

    Let's see if I understand, in this case the .bat file never left the C: drive but it did use other directories and in order to re-register the .dlls you needed cd /d to move back to Windows\System32 to do it.

    Sound right?
      My Computers


  8. Posts : 63,987
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #87

    Correct. It was used to make sure the command prompt was using the correct directory for registering the .dlls.
      My Computers


  9. Posts : 1,640
    10 Home 64-bit | v22H2 | Build - 19045.2486
       #88

    Great! Thanks again Shawn, I can go to bed now.
      My Computers


  10. Posts : 63,987
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #89

    Anytime mate. :)
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 20:40.
Find Us




Windows 10 Forums