Auto Startup Program with Administrative Privileges


  1. Posts : 3
    Ubuntu 10, Windows 7 Ultimate x64, Windows Ultimate x32 w/ Multiple Concurrent Sessions
       #1

    Auto Startup Program with Administrative Privileges


    The short:
    I've created a shortcut in the Startup folder for a program I want to run at logon. This program seems to need administrative privileges to run properly. The account I'm using isn't an administrator account. I've opened properties, compatibility, change for all users, clicked run as administrator and entered my password. When I reboot the program still doesn't start. Is there a way to make this happen? What are my options?

    The long:
    The box I'm trying to do this on is a little Atom powered HTPC in my living room. It's setup running Windows 7 Ultimate x32 with a hack for multiple concurrent sessions, because it's also used as a server with IIS, FTP, ect. With this setup I can remote into the box and change IIS settings without booting my girlfriend off the TV. The program I'm trying to launch at boot is Gmote Server. I have the other half installed my on my Android phone and for those who aren't familiar, it turns your phone into a remote running over WiFi. I need this "server" application to start at login of the "media" user.
      My Computer


  2. Posts : 824
    Windows 7 Professional 32-bit (6.1, Build 7600)
       #2

    raydowe said:
    The short:
    I've created a shortcut in the Startup folder for a program I want to run at logon. This program seems to need administrative privileges to run properly. The account I'm using isn't an administrator account. I've opened properties, compatibility, change for all users, clicked run as administrator and entered my password. When I reboot the program still doesn't start. Is there a way to make this happen? What are my options?

    The long:
    The box I'm trying to do this on is a little Atom powered HTPC in my living room. It's setup running Windows 7 Ultimate x32 with a hack for multiple concurrent sessions, because it's also used as a server with IIS, FTP, ect. With this setup I can remote into the box and change IIS settings without booting my girlfriend off the TV. The program I'm trying to launch at boot is Gmote Server. I have the other half installed my on my Android phone and for those who aren't familiar, it turns your phone into a remote running over WiFi. I need this "server" application to start at login of the "media" user.
    Try this,
    Elevated Program Shortcut without UAC Prompt - Create

    When done, add the task name to your startup. In the registry under Current User Run it would look like this for the app PeerBlock. The shortcut made from the tutorial link could also be placed in your startup folder.

    Auto Startup Program with Administrative Privileges-untitled.jpg
      My Computer


  3. Posts : 3
    Ubuntu 10, Windows 7 Ultimate x64, Windows Ultimate x32 w/ Multiple Concurrent Sessions
    Thread Starter
       #3

    Awesome idea, didn't think of that.

    I created the task and shortcut this from the administrator account and placed it in the startup folder of the "media" account. On startup, however, I'm getting an error on as the shortcut is launched:

    Error: Access is denied.

    Seems that I don't have permissions to launch that shortcut. Is there a way to get around this?

    Thanks for the help. :)
      My Computer


  4. Posts : 824
    Windows 7 Professional 32-bit (6.1, Build 7600)
       #4

    raydowe said:
    Awesome idea, didn't think of that.

    I created the task and shortcut this from the administrator account and placed it in the startup folder of the "media" account. On startup, however, I'm getting an error on as the shortcut is launched:

    Error: Access is denied.

    Seems that I don't have permissions to launch that shortcut. Is there a way to get around this?

    Thanks for the help. :)
    In the tutorial, did you change the When running the task, use the following user account: ?
      My Computer


  5. Posts : 3
    Ubuntu 10, Windows 7 Ultimate x64, Windows Ultimate x32 w/ Multiple Concurrent Sessions
    Thread Starter
       #5

    I tried both.

    When I set as the user logging it, it has permissions problems.

    When I set as the admin user, the server program seems to run and I can connect, but doesn't function properly. The program is controlling the cursor and other such things, and I'm guessing running it as a different user stops these things from working they way I'm intending them to.
      My Computer


  6. Posts : 824
    Windows 7 Professional 32-bit (6.1, Build 7600)
       #6

    raydowe said:
    I tried both.

    When I set as the user logging it, it has permissions problems.

    When I set as the admin user, the server program seems to run and I can connect, but doesn't function properly. The program is controlling the cursor and other such things, and I'm guessing running it as a different user stops these things from working they way I'm intending them to.
    What is the app/file you are wanting to run? Can you adjust the premissions on it from your Admin account?

    Here's some more useful info by MrBrian who is also a member here
    http://www.wilderssecurity.com/showp...57&postcount=1
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 11:19.
Find Us