Page 9 of 17 FirstFirst ... 7891011 ... LastLast
  1.    24 Jan 2017 #80
    Join Date : Aug 2015
    Posts : 35
    win10

    Quote Originally Posted by tsunami2311 View Post
    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 ComputerSystem Spec
  2.    08 Feb 2017 #81
    Join Date : Jan 2017
    Posts : 13
    10 Pro 1607 x64, 7 Ultimate x64, Zorin, Ubuntu

    Quote Originally Posted by Brink View Post
    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 ComputerSystem Spec
  3.    08 Feb 2017 #82
    Join Date : Oct 2013
    Posts : 24,360
    64-bit Windows 10 Pro build 17017
    Thread Starter

    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 ComputersSystem Spec
  4.    08 Feb 2017 #83
    Join Date : Jan 2017
    Posts : 13
    10 Pro 1607 x64, 7 Ultimate x64, Zorin, Ubuntu

    Quote Originally Posted by tsunami2311 View Post
    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

    Quote Originally Posted by Brink View Post
    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 ComputerSystem Spec
  5.    13 Feb 2017 #84
    Join Date : Apr 2015
    Posts : 211
    10 Home 64-bit | v1703 | Build -15063.674

    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:
    Name:  len D.PNG
Views: 474
Size:  24.6 KB

    Here's a shot of my dskmgmt:
    Click image for larger version. 

Name:	len dsk mgmt.PNG 
Views:	23 
Size:	28.0 KB 
ID:	121084


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

    Steve
      My ComputersSystem Spec
  6.    13 Feb 2017 #85
    Join Date : Oct 2013
    Posts : 24,360
    64-bit Windows 10 Pro build 17017
    Thread Starter

    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 ComputersSystem Spec
  7.    13 Feb 2017 #86
    Join Date : Apr 2015
    Posts : 211
    10 Home 64-bit | v1703 | Build -15063.674

    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 ComputersSystem Spec
  8.    13 Feb 2017 #87
    Join Date : Oct 2013
    Posts : 24,360
    64-bit Windows 10 Pro build 17017
    Thread Starter

    Correct. It was used to make sure the command prompt was using the correct directory for registering the .dlls.
      My ComputersSystem Spec
  9.    14 Feb 2017 #88
    Join Date : Apr 2015
    Posts : 211
    10 Home 64-bit | v1703 | Build -15063.674

    Great! Thanks again Shawn, I can go to bed now.
      My ComputersSystem Spec
  10.    14 Feb 2017 #89
    Join Date : Oct 2013
    Posts : 24,360
    64-bit Windows 10 Pro build 17017
    Thread Starter

    Anytime mate.
      My ComputersSystem Spec

 
Page 9 of 17 FirstFirst ... 7891011 ... LastLast


Similar Threads
Tutorial Category
Windows 8.1 & windows 10 : fail to factory reset and stuck in restart
Hi , I'm using windows 8.1 on ASUS N series laptop 64 bit, my windows got problem and after i updated to windows 10 and try to factory reset it, it got to 99% and say that the window has a problem, it cannot reset my windows and stuck in restart...
Installation and Upgrade
Reset after update?
I assume there was an update to Win 10 last night. Woke up this morning to find all my tweaking to the OS over the last several weeks was erased! Back to new born state. All my programs are still here but every single setting that I have checked...
General Support
Will Windows 10 Reset delete Windows 10 update?
I have tried everything and finally I decided to to completely reset my Windows and reinstall win 10. It gave me the option of deleting the hard drive. Securley. I did. But if Windows 10 is on there how is it going to install? Plus my PC Ethernet is...
Installation and Upgrade
Solved Win 10 Update Stuck in Reset Loop
My installation is stuck in a reset loop. The Win 10 Ready to Install came up, so I clicked Start and it rebooted, back to the login screen, and then Windows Update came up saying it needed to Restart Now. After a couple of minutes the Win 10...
Installation and Upgrade
reset windows update bat file
Hi, I had found this on a different site and saved it as "fix update.bat" and I run it when I have problems. It seems to help without breaking anything so I thought I'd post it. I'm not entirely sure what it does though @echo off net stop...
Windows Updates and Activation
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 21:05.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums