Solved

How do i force software to run as an administrator

Posted on 2004-08-31
12
148 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 

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 84

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

Edgartown IT Case Study

Learn about Edgartown's quest to ensure the safety and security of the entire town's employee and citizen data. Read the case study!

Question has a verified solution.

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

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 is a collection of issues that people face from time to time and possible solutions to those issues. I hope you enjoy reading it.
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

734 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