Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hi

I am looking for a script to make windows runas feature through the script in which a person can run process by impersonating as another user. I cannot simply use the cmd prompt for runas command as it prompts for the password on the screen. Is there any perl module to impersonate a user and run a process under the impersonating user??

Replies are listed 'Best First'.
Re: Using Windows runas
by rovf (Priest) on Mar 12, 2012 at 09:14 UTC

      Isnt there a module which can help me witdh this??

        Did you find any when you looked? At some point you may actually have to write your own code to solve a problem you've been given.

Re: Using Windows runas
by marto (Cardinal) on Mar 12, 2012 at 09:21 UTC