locked
DFSR commandlets aren't designed to take other credentials. RRS feed

  • Question

  • Hi,  We deploy powershell with tools that use the system account.

    But the DFSR powershell commandlets aren't designed to take alternative credentials.

    I've attempted to utilize the system account but it can't import-module DFSR.

    When I try to use a new-pssession with invoke-command i get a GUID error that I can't seem to resolve either.

    Anyone else do this and have any ideas?

    Wednesday, December 11, 2019 3:30 PM

All replies

  • I would suggest that this is an issue for the vendor that provides your tools. PowerShell is an administrative tool and not a system utility designed to run under the system account.

    You can also run scripts under the task scheduler with the system account.  This will work because the task scheduler is designed to allow this.

    Similarly there are third party tools that will run PowerShell as SYSTEM.

    Check PsExec for another approach to running as SYSTEM.


    \_(ツ)_/

    Wednesday, December 11, 2019 7:03 PM