Создаю EFI ISO windows 10 с помощью ADK / oscdimg. Из «sources \ boot.wim \ Windows \ System32 \ star tnet .cmd» я вызываю скрипт vb, используя API провайдера WMI, чтобы открыть системное хранилище:
Set BcdStoreClass = GetObject("winmgmts:\.\root\wmi:BcdStore")
const bootMgrId="{9dea862c-5cdd-4e70-acc1-f32b344d4795}"
const globalSettingsId="{7ea2e1ac-2e61-4728-aaa3-896d9d0a9f0e}"
const booLdrSettingsId="{6efb52bf-1766-41db-a6b3-0ee5eff72bd7}"
bootLdrId=Left(CreateObject("Scriptlet.TypeLib").Guid,38)
storeFile=""
'Create store
if not BcdStoreClass.CreateStore(storeFile) then
errHandler "Couldn't Create Store!"
end if
if not BcdStoreClass.OpenStore("", objStore) then
errHandler "Couldn't open the boot manager object!"
end if
Я не могу открыть Store с помощью » Не удалось открыть объект менеджера загрузки! " как ошибка. Информация из файла BCD из \ EFI \ Microsoft \ boot:
кто-нибудь может мне помочь? С наилучшими пожеланиями!