1.    31 Jan 2017 #1
    Join Date : Aug 2015
    Posts : 59
    Windows 9 (aka Windows 10)

    Changes to bcdedit.exe access, or am I having BCD issues?


    I'm running Win10 Pro x64 1607. I have a bunch of command scripts that check for elevation with the following line:

    Code:
    for /f "tokens=1,2*" %%a in ('%SystemRoot%\System32\bcdedit.exe') do if (%%a)==(Access) goto :NoAdmin
    Starting about a day ago, all the applicable scripts started going to ":NoAdmin" due to the fact that bcdedit.exe was denying access (and instead issuing an "Access is denied" reply). This happens even if I am using a command window that is elevated:

    Code:
    C:\Temp>%SystemRoot%\System32\bcdedit.exe
    The boot configuration data store could not be opened.Access is denied.
    Was this due to a recent update? I can't find info on it if it is. I can use another means of detecting elevation, but I want to make sure I'm not just having yet another Win10 issue here.
      My ComputerSystem Spec
  2.    31 Jan 2017 #2
    Join Date : Aug 2015
    Posts : 59
    Windows 9 (aka Windows 10)
    Thread Starter

    Sometimes Windows pisses me off so much I just want to use my shotgun on my PC.

    Turns out I was having the same issues with DISM, SFC, and probably other native utilities that require elevation. A reboot seems to have "resolved" the issue. (It is not being pedantic to point out that this didn't really "resolve" anything; rather, all it did was work around an issue that obviously still exists.) I guess this is yet another stupid Windows problem.
      My ComputerSystem Spec
  3.    31 Jan 2017 #3
    Join Date : Sep 2014
    Posts : 336
    Window 10

    Quote Originally Posted by meh View Post
    Sometimes Windows pisses me off so much I just want to use my shotgun on my PC.

    Turns out I was having the same issues with DISM, SFC, and probably other native utilities that require elevation. A reboot seems to have "resolved" the issue. (It is not being pedantic to point out that this didn't really "resolve" anything; rather, all it did was work around an issue that obviously still exists.) I guess this is yet another stupid Windows problem.
    Well if you hadn't logged out after the most recent update (which didn't require a reboot by the way) then your access token may have been out of date for the sessions and administrative access may have been lost. Creating a new one likely "resolved" the issue. I've seen this before.
      My ComputerSystem Spec
  4.    31 Jan 2017 #4
    Join Date : Aug 2015
    Posts : 59
    Windows 9 (aka Windows 10)
    Thread Starter

    That would make sense (although not being notified of that condition doesn't make sense), but I logged off and back in yesterday. Looks like the last updates were installed on January 24, which was a week ago.
      My ComputerSystem Spec

 


Similar Threads
Thread Forum
Solved bcdedit - now unable to boot windows
My system was in a forever cycle of just booting to the 'troubleshooting' screen or I think it's called advanced boot options. It would never boot to windows 10. This happened after some tool requested to set to 'safe mode'. So I tried to fix...
General Support
Solved BCDEDIT Safeboot Trouble on HP ProDesk 400 Towers
I have a method for doing safeboots on non-bootable systems. I have been primarily using Dell PCs and have no problem with any of those. Recently, I purchased two HP ProDesk 400 Towers and they work fine except for this one wrinkle. I use recdisc...
General Support
BCDEdit to create a multi-bootloader thumbdrive ?
Correct me if I'm wrong, can you not use BCDEdit to create a multi-bootloader thumbdrive ?
Installation and Upgrade
Solved Access issues (EVEN THOUGH I'M THE OWNER...)
I'm beyond frustrated with this crap. But here it goes. I'm TRYING to delete my steam directory on my games partition on my SSD because it's not working properly and I want to just delete it and start fresh (since the only game in it is fallout 4)....
General Support
Solved Access denied issues
:mad: I really really need help. Either I'm the most dense human breathing or win 10 is to blame. I have tried everything I can to set sharing as admin. and I just keep getting access denied. It will accept my change but will not allow it...
General Support
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 00:45.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums