locked
MDT 2012 Error out when trying to open or create share distribution folder. RRS feed

  • Question

  • Hello I been requested to post this here.

     

    I currently installed the MDT 2012 upgrade 1 when I am receiving an error when I try to create a new share distribution.

    I have ADK installed, and admin rights to my machine, I seen a few post where it could be a problem with AV.

    I've asked other admin to run the Deployment workbench with their accounts on my computer and it works fine.

    When I try to create or open distribution share I get the error below. but it creates the DistributionShare$ folder.

    Performing operation "New Drive" on Target "Name: DS002 Provider: MDTProvider Root: C:\DeploymentShare".
    Performing operation "new" on Target "deployment share".
    Initializing a new deployment share
    Initializing scripts and tools.
    Performing operation "open" on Target "deployment share".
    Deployment share at 'C:\DeploymentShare' opened successfully.
    Adding MDT drive DS002 to the persisted drive list.

    System.Management.Automation.CmdletInvocationException: Attempted to perform an unauthorized operation. ---> System.UnauthorizedAccessException: Attempted to perform an unauthorized operation.
       at System.Security.AccessControl.Win32.SetSecurityInfo(ResourceType type, String name, SafeHandle handle, SecurityInfos securityInformation, SecurityIdentifier owner, SecurityIdentifier group, GenericAcl sacl, GenericAcl dacl)
       at System.Security.AccessControl.NativeObjectSecurity.Persist(String name, SafeHandle handle, AccessControlSections includeSections, Object exceptionContext)
       at System.Security.AccessControl.NativeObjectSecurity.Persist(String name, AccessControlSections includeSections, Object exceptionContext)
       at System.Security.AccessControl.FileSystemSecurity.Persist(String fullPath)
       at System.Configuration.Internal.WriteFileContext.DuplicateTemplateAttributes(String source, String destination)
       at System.Configuration.Internal.WriteFileContext.DuplicateFileAttributes(String source, String destination)
       at System.Configuration.Internal.WriteFileContext.Complete(String filename, Boolean success)
       at System.Configuration.Internal.InternalConfigHost.StaticWriteCompleted(String streamName, Boolean success, Object writeContext, Boolean assertPermissions)
       at System.Configuration.Internal.InternalConfigHost.System.Configuration.Internal.IInternalConfigHost.WriteCompleted(String streamName, Boolean success, Object writeContext)
       at System.Configuration.Internal.DelegatingConfigHost.WriteCompleted(String streamName, Boolean success, Object writeContext)
       at System.Configuration.UpdateConfigHost.WriteCompleted(String streamName, Boolean success, Object writeContext)
       at System.Configuration.MgmtConfigurationRecord.SaveAs(String filename, ConfigurationSaveMode saveMode, Boolean forceUpdateAll)
       at Microsoft.BDD.PSSnapIn.ProviderSettings.set_Item(String key, String value)
       at Microsoft.BDD.PSSnapIn.ProviderSettings.AddSavedDrive(String name, String path, String description)
       at Microsoft.BDD.PSSnapIn.AddPersistentDrive.ProcessRecord()
       at System.Management.Automation.CommandProcessor.ProcessRecord()
       --- End of inner exception stack trace ---
       at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input, Hashtable errorResults, Boolean enumerate)
       at System.Management.Automation.Runspaces.LocalPipeline.InvokeHelper()
       at System.Management.Automation.Runspaces.LocalPipeline.InvokeThreadProc()


    JD.

    Wednesday, June 12, 2013 1:09 PM

Answers

  • Issue resolved.

    Needed domain access to add persisted drive, due to our security policy.


    JD.

    • Marked as answer by Jubs83 Monday, June 17, 2013 4:09 PM
    Monday, June 17, 2013 4:09 PM