Can't open elevated prompt and pass working directory This topic contains 2 replies, has 2 voices, and was last updated by Mica 8 months, 3 weeks ago.Viewing 3 posts - 1 through 3 (of 3 total)Author PostsJanuary 12, 2016 at 4:55 pm #33798 MicaParticipantStart-Process Powershell -Verb RunAs -WorkingDirectory C:\This won't open to the set working directory. Anyone know how to get this working?January 12, 2016 at 5:06 pm #33799 Dave WyattModeratorThat's probably a security feature of some sort. I've noticed that my elevated prompts always show up in the \windows\system32 directory. Instead of -WorkingDirectory C:\, try -ArgumentList '-NoExit -Command Set-Location C:\'January 12, 2016 at 5:47 pm #33801 MicaParticipantThat does it. Thanks!Author PostsViewing 3 posts - 1 through 3 (of 3 total)You must be logged in to reply to this topic.