none
Access denied error when running powershell script RRS feed

  • Question

  • I have a task sequence step that executes a powershell script file in deployment share. This powershell script is opening a csv file in deployment share and trying to write information there when executed. I get access denied error and the script cannot write anything to that file. Any idea why? Script it executed by task sequence engine so I think it should have write access to deployment share.
    • Edited by DamonWH Friday, October 31, 2014 4:29 PM
    Friday, October 31, 2014 4:29 PM

Answers

  • I figured it out. I added modify rights to MDT user (same account that is configured to bootsettings.ini that connects to deployment share) account for this csv file. Now task sequence can write data to this file.
    • Marked as answer by DamonWH Friday, October 31, 2014 4:57 PM
    Friday, October 31, 2014 4:57 PM