|
| |||||||||
| Tags: |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| Why do i always need to "Run as an Admin"? Hi, I have an application which i need to install in the the Program files and launch at the startup.With UAC enabled, I install it as an administrator,it works fine and launches at the start up when i log off and log in again as an admin.But,when i log in as a normal user i have to always "Run as an Administrator" and provide the admin password for launching it , which i dont want to do. When I disable the UAC ,the application does not even start as a normal user it just says "Applicatoin has stopped working" and gives System.UnAuthorisedException. I need the application in the Program files itself and cannot move it to some other user folder. I need to know if there is a way to run an application as a normal user without providing the admin password. Any help would be highly appreciated. -- techenthu |
|
#2
| |||
| |||
| Re: Why do i always need to "Run as an Admin"? techenthu;845780 Wrote: > Hi, > > I have an application which i need to install in the the Program files > and launch at the startup.With UAC enabled, I install it as an > administrator,it works fine and launches at the start up when i log off > and log in again as an admin.But,when i log in as a normal user i have > to always "Run as an Administrator" and provide the admin password for > launching it , which i dont want to do. > > When I disable the UAC ,the application does not even start as a normal > user it just says "Applicatoin has stopped working" and gives > System.UnAuthorisedException. > > I need the application in the Program files itself and cannot move it > to some other user folder. > > I need to know if there is a way to run an application as a normal user > without providing the admin password. > > Any help would be highly appreciated. Hello Techenthu, You might create a task in Task Scheduler to have that program run at startup instead. This tutorial will help show you how to if needed. It will avoid the UAC problem at startup. http://www.vistax64.com/tutorials/16...-computer.html Hope this helps, Shawn -- Brink *There are no dumb questions, just the people that do not ask them.* '*VISTA FORUMS*' (http://www.vistax64.com) *Please post feedback to help others.* |
|
#3
| |||
| |||
| Re: Why do i always need to "Run as an Admin"?
techenthu wrote: > > I need to know if there is a way to run an application as a normal user > without providing the admin password. > No, if the program needs its rights escalated to run at the moment privilege escalation with admin rights and the account is a non Admin account being used to run the program, then the non admin user must give an user-id and psw to a admin account at the time of privileged escalation. http://technet.microsoft.com/en-us/m.../cc138019.aspx Now you can the Task Scheduler to start the program, but still Task Schsduler will run the task with the highest privileges it can archive. |
|
#4
| |||
| |||
| Re: Why do i always need to "Run as an Admin"? Thanks Shawn!! The application comes as a package and when i run the setup file it goes and sits in the program files and is launched at the startup. I do not want to alter this behaviour. what i did, I have disabled the UAC and have changed the attributes settings of the entire folder so that it is not "Read Only" now ,with this i am able to start the application as a standard user and it does not even prompt for the admin password , though it reduces the security of my system ;) Problem now, The application in turns starts another services which needs to allocate memory and now i get "Cannot acess memory at location .... " and it crashes the internal services and when i debug it points me to some part of code in new.cpp files any idea what needs to be done ? -- techenthu |
|
#5
| |||
| |||
| Re: Why do i always need to "Run as an Admin"? techenthu;845915 Wrote: > Thanks Shawn!! > > The application comes as a package and when i run the setup file it > goes and sits in the program files and is launched at the startup. I do > not want to alter this behaviour. > > what i did, > I have disabled the UAC and have changed the attributes settings of the > entire folder so that it is not "Read Only" now ,with this i am able to > start the application as a standard user and it does not even prompt for > the admin password , though it reduces the security of my system ;) > > Problem now, > The application in turns starts another services which needs to > allocate memory and now i get "Cannot acess memory at location .... " > and it crashes the internal services and when i debug it points me to > some part of code in new.cpp files > > any idea what needs to be done ? The error message i get is "Access violation reading location 0x00000000" -- techenthu |
|
#6
| |||
| |||
| Re: Why do i always need to "Run as an Admin"? Techenthu, Have you tried to see if it that startup program will run better at startup as a task instead of from the startup programs list? http://www.vistax64.com/tutorials/79...e-disable.html -- Brink *There are no dumb questions, just the people that do not ask them.* '*VISTA FORUMS*' (http://www.vistax64.com) *Please post feedback to help others.* |
|
#7
| |||
| |||
| Re: Why do i always need to "Run as an Admin"?
techenthu wrote: >> >> Problem now, >> The application in turns starts another services which needs to >> allocate memory and now i get "Cannot acess memory at location .... " >> and it crashes the internal services and when i debug it points me to >> some part of code in new.cpp files >> >> any idea what needs to be done ? Let's see here. The program will not run and blows-up when UAC is disabled, because the program is a Vista UAC compliant program. And at some point in you trek to get this program to work, it has clearly told you about the *System.UnAuthorisedException*. It works when UAC is enabled, because with UAC enabled, it allows the program to use the Administrator Full Rights security token to escalate its rights to perform a needed task within the program. It's a Vista UAC compliant program. So basically, you're right back at square one *System.UnAuthorisedException*, because permissions cannot be set for the program. |
|
#8
| |||
| |||
| Re: Why do i always need to "Run as an Admin"?
techenthu wrote: > Hi, > > I have an application which i need to install in the the Program files > and launch at the startup.With UAC enabled, I install it as an > administrator,it works fine and launches at the start up when i log off > and log in again as an admin.But,when i log in as a normal user i have > to always "Run as an Administrator" and provide the admin password for > launching it , which i dont want to do. > > When I disable the UAC ,the application does not even start as a normal > user it just says "Applicatoin has stopped working" and gives > System.UnAuthorisedException. > > I need the application in the Program files itself and cannot move it > to some other user folder. > > I need to know if there is a way to run an application as a normal user > without providing the admin password. > Basically, you're trying to use an application that was not designed to run securely, or to be used on a secure OS. That might make it dangerous (Can't say for sure, since you've kept the application's name and purpose to yourself.) to use. For proper resolution, you'd have to ask that application's manufacturer if they have a patch or upgrade available to make it Vista-compatible. -- Bruce Chambers Help us help you: http://www.catb.org/~esr/faqs/smart-questions.html http://support.microsoft.com/default.aspx/kb/555375 They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. ~Benjamin Franklin Many people would rather die than think; in fact, most do. ~Bertrand Russell The philosopher has never killed any priests, whereas the priest has killed a great many philosophers. ~ Denis Diderot |
|
#9
| |||
| |||
| Re: Why do i always need to "Run as an Admin"?
Bruce, I am right there with you. I was going to ask if the software program was Vista Compatible or when it was made. There are a couple of other options he has. I was presuming it was vista compatible because it would run with UAC turned on. However, 1. Install the program and run the program in compatibility mode. This may get your around the UAC issue. If you need to know how to run compatibility mode, please come to my forum and post the question. I will be more than happy to write it out for you. (Just don't have the time right now as it is 3am almost). www.scrfix.com/computer-repair-forums/ 2. Set the security permissions on the programs and all files within the programs directory and all dll files associated with the program to full security permissions allowing access to everything. (This is a major security issue however it is still an option). This will take all restrictions off of all of the files associated with the program. We know the program runs with admin privileges... lets give the program administrative privileges. Onces again, post the question in my forum and I will be more than happy to write you step by step instructions for it. Hope that helps. Wayne "techenthu" <guest@unknown-email.com> wrote in message news:12daf251fbdbf9ab66b32221afe0c495@nntp-gateway.com... > > Hi, > > I have an application which i need to install in the the Program files > and launch at the startup.With UAC enabled, I install it as an > administrator,it works fine and launches at the start up when i log off > and log in again as an admin.But,when i log in as a normal user i have > to always "Run as an Administrator" and provide the admin password for > launching it , which i dont want to do. > > When I disable the UAC ,the application does not even start as a normal > user it just says "Applicatoin has stopped working" and gives > System.UnAuthorisedException. > > I need the application in the Program files itself and cannot move it > to some other user folder. > > I need to know if there is a way to run an application as a normal user > without providing the admin password. > > Any help would be highly appreciated. > > > -- > techenthu |
|
#10
| |||
| |||
| Re: Why do i always need to "Run as an Admin"? "Wayne" <www.scrfix.com@www.scrfix.com> wrote in message news:DE56659A-9733-4D87-B685-BC8B249DC47D@microsoft.com... > I was presuming it was vista compatible because it would run with > UAC turned on. With UAC on, virtualization is provided for legacy programs. With UAC off, some legacy programs won't work correctly. ....so a program working with UAC on is not an indication that the program is Vista compatible. |
|
#11
| |||
| |||
| Re: Why do i always need to "Run as an Admin"? well ... i dont want it to run as a scheduled task. I just want the functionality similar to the setuid function in unix.I want the application to be launched by the standard user but with the id of the admin,without having to provide the admin password. i doubt if its possible in Vista :( -- techenthu |
|
#12
| |||
| |||
| Re: Why do i always need to "Run as an Admin"?
techenthu wrote: > well ... i dont want it to run as a scheduled task. > > I just want the functionality similar to the setuid function in unix.I > want the application to be launched by the standard user but with the id > of the admin,without having to provide the admin password. > > i doubt if its possible in Vista :( > > It's not going to happen. |
|
#13
| |||
| |||
| Re: Why do i always need to "Run as an Admin"? Techenthu, That is what running is as a task instead of a normal startup program will accomplish. OPTION ONE (Method Two) in this tutorial will help show you how to. 'Startup Programs - Enable or Disable' (http://www.vistax64.com/tutorials/79...e-disable.html) It is up to you, but I would at least give it a try. Shawn -- Brink *There are no dumb questions, just the people that do not ask them.* '*VISTA FORUMS*' (http://www.vistax64.com) *Please post feedback to help others.* |
|
#14
| |||
| |||
| Re: Why do i always need to "Run as an Admin"? ok ... looks like thats the only way left .. will giv it a try. In that case, whats the possibility of creating the scheduled task through some script. -- techenthu |
|
#15
| |||
| |||
| Re: Why do i always need to "Run as an Admin"? I'm sure that it can be done, but I do not know enough about script writing to be able to help with that though. :( -- Brink *There are no dumb questions, just the people that do not ask them.* '*VISTA FORUMS*' (http://www.vistax64.com) *Please post feedback to help others.* |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "Why do i always need to "Run as an Admin"?" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| <input type="button" value="Enregistrer" onclick="location.href=../asp/PRaces.asp"> | Luz | Software Development | 6 | 18-05-2010 01:27 AM |
| mailbox-enabled "domain admin" user account objects | Cary Shultz | Active Directory | 3 | 20-08-2009 06:51 PM |
| Use the "Managed By" field in AD to set as local Admin | ErikW | Active Directory | 4 | 14-05-2009 03:54 AM |
| Vista not wotking with "My Computer" or "Control Panel", "Screen Saver" | Platebanger | Vista Help | 6 | 05-02-2008 08:24 PM |
| Multi-user system, non-admin-users get "error 46" when downloading quicktime files | lllcubed@gmail.com | Windows Security | 4 | 02-08-2006 03:58 PM |