Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Auto Startup Program with Administrative Privileges

25 Aug 2010   #1
raydowe

Ubuntu 10, Windows 7 Ultimate x64, Windows Ultimate x32 w/ Multiple Concurrent Sessions
 
 
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 System SpecsSystem Spec
.
25 Aug 2010   #2
Greg S

Windows 7 Professional 32-bit (6.1, Build 7600)
 
 

Quote   Quote: Originally Posted by raydowe View Post
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 System SpecsSystem Spec
25 Aug 2010   #3
raydowe

Ubuntu 10, Windows 7 Ultimate x64, Windows Ultimate x32 w/ Multiple Concurrent Sessions
 
 

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 System SpecsSystem Spec
.

26 Aug 2010   #4
Greg S

Windows 7 Professional 32-bit (6.1, Build 7600)
 
 

Quote   Quote: Originally Posted by raydowe View Post
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 System SpecsSystem Spec
26 Aug 2010   #5
raydowe

Ubuntu 10, Windows 7 Ultimate x64, Windows Ultimate x32 w/ Multiple Concurrent Sessions
 
 

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 System SpecsSystem Spec
26 Aug 2010   #6
Greg S

Windows 7 Professional 32-bit (6.1, Build 7600)
 
 

Quote   Quote: Originally Posted by raydowe View Post
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 System SpecsSystem Spec
Reply

 Auto Startup Program with Administrative Privileges




Thread Tools




Similar help and support threads
Thread Forum
logon on with non-administrative privileges
Hi all, I am trying to establish a connection between SSIS and mySQL database To do so I have installed 3 connectors (I am not sure which 1 is the correct 1) To finish this I apparently have to open ODBC Data source administrator and add a connection in the System DSN tab. If I try to...
Drivers
Can't get Administrative privileges
My Windows 7 was working fine and then a couple of weeks ago it started telling me I didn't have permission to save certain files. I went into Control Panel User Accounts and saw that my account was set for Standard User instead of Administrator: https://zackel.com/50/images/permissions.png ...
General Discussion
Administrative privileges problem
Hello guys, yesterday i created an account with administrative privileges, i had administrator enabled too, i disabled administrator but accidentally converted my account type to standard user!! i've got only 3 accounts "Zain" "guest" "administrator", where "Zain" is a standard one while the other...
System Security
administrative privileges
when attempting to install/uninstall software get message that I don't have "administrative privileges' - I am the administrator
Software
Administrative Privileges not recognized
Im trying to install the software for "Tascam TEAC professional," which is an external proccessor for hooking up a guitar or microphone to a computer or something like that. I am the only account on this laptop, which is a fairly new laptop running on Windows 7. the guest account is unactiviated,...
Drivers


Our Sites

Site Links

About Us

Find 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 15:07.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App