Announcement

Collapse
No announcement yet.

using runas in a script

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • using runas in a script

    hi guys,

    i have a call center that i block everything with GPO to the users,
    but we need to allow the helpdesk and programmers to use total commander (some application) from the session of the current user,
    i created a batch calling runas with priv user.
    how can i disable the line that showing the user asking for credentials?

    my batch file is running:

    @echo off
    runas /user:domain\poweradm c:\totalcmd\totalcmd.exe

    and then you see:

    enter the password for domain\poweradm

    i would like to :

    1. do not let the option to change any settings of the cmd opened.
    2. do not show that line or at least not domain\poweradm
    Thanks & Regards

    Retaliator

    MCSA/MCSE/CCNA
    Computer Science Graduate

  • #2
    Re: using runas in a script

    Hi,

    no body replied but i used that:

    runas /user:domain\poweradm c:\totalcmd\totalcmd.exe | cls

    and its ok
    Thanks & Regards

    Retaliator

    MCSA/MCSE/CCNA
    Computer Science Graduate

    Comment


    • #3
      Re: using runas in a script

      Thank for posting back with your solution. It is greatly appreciated.
      1 1 was a racehorse.
      2 2 was 1 2.
      1 1 1 1 race 1 day,
      2 2 1 1 2

      Comment

      Working...
      X