Solved

How do i force software to run as an administrator

Posted on 2004-08-31
12
146 Views
Last Modified: 2010-04-12
I have some software that will not run if you are not an admin.

How do i force the software to run as an admin no mater what rights the user has?
0
Comment
Question by:ahcahoon
  • 4
  • 4
  • 2
  • +2
12 Comments
 
LVL 65

Expert Comment

by:SheharyaarSaahil
ID: 11944192
Hello ahcahoon =)

Is this the thing u are looking for >> http://uis.georgetown.edu/software/documentation/win2000/win2000.run.as.admin.html
0
 

Author Comment

by:ahcahoon
ID: 11944265
No I do not meen to use the run as service I need the software to load as an admin no mater who logs in
0
 
LVL 9

Expert Comment

by:BigC666
ID: 11944433
howdy,

if you setup the users on the local machine that has the software as power users, you should have no problem running any software.

hope that this helps
0
NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

 

Author Comment

by:ahcahoon
ID: 11944496
This software will not run even if you are a power user.

(this is crap software)
0
 
LVL 9

Expert Comment

by:BigC666
ID: 11944530
ok, thenset them up as admin, if that is what it takes, otherwise you will have to find each program(exe,dll,ocx,..rtc) that the program uses and change the permission to allow everyone full permissions.

maby this will help you
0
 

Author Comment

by:ahcahoon
ID: 11944612
OK:  I would not  like to make everyone an admin, Is there a way to install this software as a service with admin rights. Or make the run as service permanent.
0
 
LVL 9

Expert Comment

by:BigC666
ID: 11944642
instead of this why don't you use the suggestion of  SheharyaarSaahil, and simply use a .bat from the program icon to launch and run the program run as then it's invisiable to the user.
0
 
LVL 1

Expert Comment

by:Fritzoune
ID: 11944751
Maybe have a look there :

http://support.microsoft.com:80/support/kb/articles/q137/8/90.asp&NoWebContent=1

or there

http://www.pyeung.com/pages/winnt/userdefinedservice.html

IF you want your app to load automatically when windows start, with full rights, then you have to create a service.

OR,
simply use the task manager ;-)
Open it,
select the application you want to load, select every time windows starts,
then enter the admin name / password,
then be happy ;-)


0
 

Author Comment

by:ahcahoon
ID: 11944773
I think that this will work, I did read the suggestion from SheharyaarSaahil but i did not se where it talked about using a .bat . Is there an artical on this method.
0
 
LVL 9

Expert Comment

by:BigC666
ID: 11944959
no, all you have to do is in note pad lay you run as script out, save it as a.bat file , open the icon properties and call the .bat instead of the .exe that it now calls.

hope that this helps
0
 
LVL 65

Expert Comment

by:SheharyaarSaahil
ID: 11945162
>> Is there an artical on this method.

=========================================================================================
Q. Is it possible to create a batch file with "run as" in it? to install a package and install it with "run as" Administrator...

A.

runas /user:<domain_name>\<user_name> <program_name>
Ex.
runas /user:d1\Administrator eventvrw

If this does not work make sure that the
RunAs service is started.

For more options open up a cmd prompt and type runas /?
==========================================================================
ref >> http://www.computing.net/dos/wwwboard/forum/14234.html
0
 
LVL 83

Accepted Solution

by:
oBdA earned 500 total points
ID: 11945456
Try to adjust the permissions; most software that at first refuses to run for normal user will work if you add some permissions.
To find out which permissions are missing where, get FileMon (http://www.sysinternals.com/ntw2k/source/filemon.shtml) and RegMon (http://www.sysinternals.com/ntw2k/source/regmon.shtml) from Sysinternals.
Log on as a regular user without additional rights. Start FileMon and RegMon using runas and an administrative account. Filter both to log only the problem application (and of course errors only).
Start the application, check for errors. Adjust NTFS or registry (using regedt32) permissions until you can run the software as user.
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
This article outlines the process to identify and resolve account lockout in an Active Directory environment.
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question