Hello,
This issue is beyond the scope of technical support on this forum, you can visit the Microsoft Q&A forum to inquire:
Results in Microsoft Credentials - Training, Certification, and Program Support
Best regards,
Jingjing Wu
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
I have the below Powershell command which is calling the SSM Parameter to get the domain username and password. then it start the application "Winrar" using the domain account. This works fine when i run it under the local administrator account.
Powershell script:
===========
$domain = (Get-SSMParameterValue -Name domainName).Parameters[0].Value
$username = (Get-SSMParameterValue -Name domainJoinUserName).Parameters[0].Value
$password = (Get-SSMParameterValue -Name domainJoinPassword -WithDecryption $True).Parameters[0].Value | ConvertTo-SecureString -asPlainText -Force $credential = New-Object System.Management.Automation.PSCredential('labdomain\admin',$password)
Start-Process -FilePath "C:\Program Files\WinRAR\Winrar.exe" -Credential $credential
Issue:
====
When i try to run the same command under the local system account. it throws the below error.
C:\Users\administrator>PsExec.exe -i -s %windir%\system32\WindowsPowerShell\v1.0\PowerShell_ISE.exe
Start-Process : This command cannot be run due to the error: Access is denied.
At line:5 char:1
+ CategoryInfo : InvalidOperation: (:) [Start-Process], InvalidOperationException
+ FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.Commands.StartProcessCommand
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question. To protect privacy, user profiles for migrated questions are anonymized.
Hello,
This issue is beyond the scope of technical support on this forum, you can visit the Microsoft Q&A forum to inquire:
Results in Microsoft Credentials - Training, Certification, and Program Support
Best regards,
Jingjing Wu
Thank you i have submitted