Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Run ".exe" as admin...assistance needed.  (Read 2487 times)

0 Members and 1 Guest are viewing this topic.

TheHoFL

    Topic Starter


    Intermediate

    Thanked: 5
    Run ".exe" as admin...assistance needed.
    « on: May 14, 2009, 02:56:32 PM »
    Hello,

    I have been attempting to run an application with administrative privileges for some time now. I have made a few BATs ans have been unsuccessful. I am looking for some assistance please.

    Here are some details:
    The local account or domain account only has "user" lever privileges. What i want to do is create a BAT file that will execute the application and run in with admin rights while logged in with the "user" account.

    Can some one help please?

    Thank you!
    All your dreams can come true if you have the courage to pursue them.  - Walt Disney

    devcom



      Apprentice

      Thanked: 37
      Re: Run ".exe" as admin...assistance needed.
      « Reply #1 on: May 14, 2009, 03:20:08 PM »
      check runas /? in cmd
      Download: Choice.exe

      TheHoFL

        Topic Starter


        Intermediate

        Thanked: 5
        Re: Run ".exe" as admin...assistance needed.
        « Reply #2 on: May 14, 2009, 03:29:35 PM »
        I did. If you do it that way, you would be prompted for the admin password. The problem is i can not give the users the local admin password. The local users are students at our college. They mess with too much stuff as it is already.  ;)

        I guess i really am looking for a way to create a BAT that i could convert to EXE to run a file. It would need to include the admin password and would probably have to be put in the safe folder as the EXE that needs to be run.
        All your dreams can come true if you have the courage to pursue them.  - Walt Disney

        devcom



          Apprentice

          Thanked: 37
          Re: Run ".exe" as admin...assistance needed.
          « Reply #3 on: May 15, 2009, 04:15:44 AM »
          so i only found this:
          Code: [Select]
          http://www.robotronic.de/runasspcEn.html
          should work ;)
          Download: Choice.exe

          Carbon Dudeoxide

          • Global Moderator

          • Mastermind
          • Thanked: 169
            • Yes
            • Yes
            • Yes
          • Certifications: List
          • Experience: Guru
          • OS: Mac OS
          Re: Run ".exe" as admin...assistance needed.
          « Reply #4 on: May 15, 2009, 04:21:23 AM »
          I'm not sure about this at all, but I believe the batch file must be run as administrator too.

          TheHoFL

            Topic Starter


            Intermediate

            Thanked: 5
            Re: Run ".exe" as admin...assistance needed.
            « Reply #5 on: May 20, 2009, 12:45:51 PM »
            Devcom,

            The link you provided worked like a charm. It took a few tries to get it going, but that was user error.  :-[

            Anyway, thank you to all who posted!

            -HoFL
            All your dreams can come true if you have the courage to pursue them.  - Walt Disney