New
#1
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:
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:for /f "tokens=1,2*" %%a in ('%SystemRoot%\System32\bcdedit.exe') do if (%%a)==(Access) goto :NoAdmin
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.Code:C:\Temp>%SystemRoot%\System32\bcdedit.exe The boot configuration data store could not be opened.Access is denied.