- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我在 JEA 端点上远程更新 MDT 离线媒体时遇到问题。该错误与传递给 BCDEdit 的权限和 JEA(WinRM 用户...)创建的虚拟帐户有关。 BCDEdit 返回
An error occurred while attempting the specified create operation. This security ID may not be assigned as the owner of this object.
Invoke-Command -ComputerName $DeploymentServerName -ConfigurationName MDTUpdate -ScriptBlock {
New-PSDrive -Name "DS002" -PSProvider MDTProvider -Root "$Using:LocalDeploymentShareFolder" -ErrorAction Stop
Update-MDTMedia -Path "DS002:\Media\MEDIA001" -Verbose
} -Credential $MDTCreds -ErrorAction Stop
'C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\AMD64\BCDBoot\bcdedit.exe' -store "C:\MyVMs\MDT\USB\Content\Boot\bcd" /create "{f31cce1a-e314-4481-9ac9-e519f65dff65}" -d "Litetouch Boot [MEDIA001] (x64)" -application OSLOADER
VERBOSE: Error detected running command: 'C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\AMD64\BCDBoot\bcdedit.exe -store "C:\MyVMs\MDT\USB\Content\Content\Boot\bcd" /create "{f31cce1a-e314-4481-9ac9-e519f65dff65}" -d "Litetouch Boot [MEDIA001] (x64)" -application OSLOADER' Exit code is: 1
VERBOSE: Error text is: An error occurred while attempting the specified create operation. This security ID may not be assigned as the owner of this object.
Update-MDTMedia : BcdEdit returned an error.
At line:5 char:9
+ Update-MDTMedia -Path "DS002:\Media\MEDIA001" -Verbose
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (MEDIA001:String) [Update-MDTMedia], DeploymentPointException
+ FullyQualifiedErrorId : BcdEditError,Microsoft.BDD.PSSnapIn.GenerateMDTMedia
@{
SchemaVersion = '2.0.0.0'
SessionType = 'Default'
ExecutionPolicy = 'Unrestricted'
LanguageMode = 'FullLanguage'
TranscriptDirectory = 'C:\JEA\Transcripts'
RunAsVirtualAccount = $true
RoleDefinitions = @{
'ExampleDomain\ExampleUserOrGroup' = @{
'RoleCapabilities' = 'MDTUpdate'
}
}
}
@{
ModulesToImport = 'C:\Program Files\Microsoft Deployment Toolkit\Bin\MicrosoftDeploymentToolkit.psd1'
VisibleCmdlets = 'Get-Command','Out-Default','Exit-PSSession','Measure-Object','Select-Object','Get-FormatData','Start-Transcript','Stop-Transcript','Import-Module','Get-Module','New-PSDrive','Write-Output','Update-MDTDeploymentShare','Remove-Item','Update-MDTMedia','New-Item','Remove-PSDrive'
VisibleProviders = 'FileSystem', 'MDTProvider'
VisibleExternalCommands = 'bcdedit.exe'
}
最佳答案
想到的事情是确保该帐户所属的组不仅仅是只读权限。我曾经遇到过可以运行任何 powershell 命令的情况,但是当涉及到调用非 powershell native 程序时,它会给我带来权限问题。
除此之外唯一的另一件事是在脚本 block 中使用 runas,但这有点违背 JEA 的全部目的。
关于powershell - 通过 JEA 端点更新媒体的 MDT 模块无法添加 BCD 条目,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46204765/
关闭。这个问题不符合Stack Overflow guidelines .它目前不接受答案。 想改进这个问题?将问题更新为 on-topic对于堆栈溢出。 1年前关闭。 Improve this qu
我正在关注 Coral 开发板入门指南 - 开发板入门 (https://coral.withgoogle.com/docs/dev-board/get-started/)。一切正常,直到步骤 - 通
在构建我的项目时,Microsoft.Diagnostics.Tracing.EventRegister.exe 以代码 1 退出并且构建失败。该问题是同类问题中的第一个,因此我们将不胜感激。 Sev
我在更改查询以使用我当前的 MDT 时区时遇到问题。服务器和MySQL是UTC `date` = Tue Aug 9 23:32:52 UTC 2016 SELECT NOW() = 2016-08
我在 JEA 端点上远程更新 MDT 离线媒体时遇到问题。该错误与传递给 BCDEdit 的权限和 JEA(WinRM 用户...)创建的虚拟帐户有关。 BCDEdit 返回 An error occ
我已经闪现了我的 Google Coral 开发板,并按照此页面上的说明进行操作: https://coral.withgoogle.com/docs/dev-board/get-started/#r
我已经闪现了我的 Google Coral 开发板,并按照此页面上的说明进行操作: https://coral.withgoogle.com/docs/dev-board/get-started/#r
最近我根据 coral AI 官方文档使用 mendel-enterprise-day-13 更新并刷新了开发板。之后,当我想使用 mdt shell 从我的桌面 Ubuntu 19.04 连接时或
我在 Enterprise Architect 中创建了一个简单的状态机模型,并将其导出到一个文件,我想将其读入基于 Eclipse 的 MDT UML2 实现的独立 Java/Scala 程序。 我
我对以下文档 embedded-linux-labs.pdf 第 27 页有疑问。 http://free-electrons.com/doc/training/embedded-linux/embe
我需要将 GMT 转换为亚利桑那时间。亚利桑那州目前有 MST(夏令时关闭)。 但是在 Joda Time DateTimeZone 代码中,MST 已映射到 America/Denver: map.
我是一名优秀的程序员,十分优秀!