none
WDS : GUI or cmdlet : Access is denied RRS feed

  • Question

  • Hi,

    I installed a new Windows 2012 R2 with WDS Role.
    I choose the C:\Outils\WDS\RemoteInstall folder as folder destination.

    When I check the ACL on this folder I found :

    I don't find anywhere this group : WDSServer !

    My problem is when I use cmdlet to import image :

    Import-WdsBootImage -Path "C:\Temp\Generic_x86.wim" -NewImageName "Generic Windows PE (x86)" -NewDescription "Generic Windows PE (x86)" -NewFileName "Generic_x86.wim" -SkipVerify

    I get :

    Import-WdsBootImage : Access is denied.

    Thank you for your help.

    Ludovic.

    PS : I forgot this important thing : I have no problem when I use the gui msc ! But I would like to use cmdlets ...
    • Edited by LudovicBes Wednesday, July 29, 2015 2:22 PM
    Wednesday, July 29, 2015 2:20 PM

Answers

  • I found the solution.
    My commandLine was not good because I used a UNC path to Generic_x86.Wim on a share like \\MySrv\d$\myFolder\Generic_x86.wim
    Now I use a local folder and it works fine !
    I could see my file : gci \\MySrv\d$\myFolder\Generic_x86.wim was OK
    I could create a new file in this folder
    So I thought all was OK.

    But no !

    Ludovic.

    • Marked as answer by LudovicBes Thursday, July 30, 2015 9:30 AM
    Thursday, July 30, 2015 9:28 AM