Hi, I'm trying to get the following working in Windows 10. Works fine in Windows 7. We have two IDs where I work. One is a normal id and the other is an Admin ID. Trying to get this to work with my Admin ID.
$global:cred = Get-Credential -Credential 'Dom1\' Start-Process "C:\Program Files\Desktop\DesktopPowershellAPPS\Console.exe" -Credential $cred }
I get the following error. Start-Process : This command cannot be run due to the error: The requested operation requires elevation. Thanks for any help in advance.
You know, I thought I'd read that Win10 requires a specific privilege in order to launch a process under alternate credentials. I'll see if I can dig it up. It's a Windows thing, though, not a PowerShell thing, if that helps you search for answers.
You must be logged in to reply to this topic.