Unelevated credential prompt for an exe

I wrote a simple program in powershell studio to allow me to quickly connect to stations and read the logs on them.

But I’m nothing if not supremely lazy. Currently I have to utilize shift+right click to run as so I can input the correct credentials and that’s just frankly too much effort.

I can compile the executable with a manifest file however the credentials I’m using are non administrators on the device I’m running from but are administrators on the device I’m connecting too.

I have not been able to find any method for correcting this behavior via the manifest file. I can utilize a credential prompt during the form load but that’s just not cool.

So my question is what ideas or options do you guys have for this? Or do I need to suck it up and do it the lame way?

submitted by /u/glfive
[link] [comments]

Leave a Reply