Maybe this?
https://stackoverflow.com/questions/28989750/running-powershell-as-another-user-and-launching-a-script
On Wed, Dec 11, 2019 at 4:52 PM wrote:
>
> I know this isn’t a Linux question, but I am hoping someone in the group may
> know the answer. On a client’s system, I need to be able
If I'm understanding your needs, there is an option within Windows to run a
specific executable as an administrator or as another user with
administrator privileges, though I'm only familiar with how to execute it
within the GUI. If you right-click the file, you can select
The problem is that I am creating a utility program, intended to be run by
ordinary users, which will check whether there is a new version of certain
proprietary software on the server, and download and install it if it finds
an update. On a Unix or Linux machine, I would set this app to run under
I’d suggest creating a new share with restricted access. Shares with a $ on
the end are administrative shares and can typically only be accessed by
administrative users. You’d have to authenticate with administrative login
via your code to access them which is never a good idea.
On Wed, Dec 11,
I know this isn't a Linux question, but I am hoping someone in the group may
know the answer. On a client's system, I need to be able to retrieve files
from a hidden network share. This share has a name ending in a dollar sign,
which keeps it from showing up in Windows Explorer. I can browse to