473,395 Members | 1,702 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

How do you run an app as Admin while in Limited User account?

Hi.

I'm working at Arizona State University on a project that is
developing software for individuals who are blind and I need to be
able to setup an App that we are creating to run with Administrator
priveledges while in the Limited user account on WinXP.

We have tried the code provided on this Code Project article.
http://www.codeproject.com/csharp/cpimpersonation1.asp

It seemed to work at first but we realized that only the main app was
running in Admin mode while dll's were running in the limited user
mode.

So my question is this :-

1) Is it possible to setup an application to run as Admin on a limited
user account. (I am the admin of the machine).

2) Do I have to use the Microsoft .Net Framework 1.1 Configuration to
do this?
2.1) If so, any article links or suggestions would be greatly
appreciated.

Thank you for your time.

Sincerely,
Sushant Bhatia
Nov 16 '05 #1
1 1687
Hi Sushant:

I'm a little confused when you say the application was running as an
administrator and the dll's run in a limited user mode. The dll's will
have the same security context as the host process.

Perhaps you are looking for something like the runas utility:
http://www.microsoft.com/resources/d...-us/runas.mspx

--
Scott
http://www.OdeToCode.com

On 15 Sep 2004 11:00:22 -0700, su************@gmail.com (Sushant
Bhatia) wrote:
Hi.

I'm working at Arizona State University on a project that is
developing software for individuals who are blind and I need to be
able to setup an App that we are creating to run with Administrator
priveledges while in the Limited user account on WinXP.

We have tried the code provided on this Code Project article.
http://www.codeproject.com/csharp/cpimpersonation1.asp

It seemed to work at first but we realized that only the main app was
running in Admin mode while dll's were running in the limited user
mode.

So my question is this :-

1) Is it possible to setup an application to run as Admin on a limited
user account. (I am the admin of the machine).

2) Do I have to use the Microsoft .Net Framework 1.1 Configuration to
do this?
2.1) If so, any article links or suggestions would be greatly
appreciated.

Thank you for your time.

Sincerely,
Sushant Bhatia


Nov 16 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: Google Mike | last post by:
You know, while working on my moonlight corporation's LAMP project at home this weekend, I couldn't help but wonder if people writing similar projects are solving similar problems with having to...
0
by: Gary L. Drescher | last post by:
Quick user question. I changed an XP Pro user account from Administrator to Limited, and then found I cannot not sign in to .NET 1.1 (via MSN Messenger 6.1 or via Money 2003, for example) from...
0
by: Eric Butler | last post by:
I am trying to get user information out of AD (specifically the memberOf property) from an ASP.net page and am having a strange problem. If the user I query for is an administrator in the domain...
6
by: Roger | last post by:
Are there some system resources which the ASPNET user account gets less of, by default? I'm running into a problem with a web service that I'm working on. I have a 3rd-party program which the...
11
by: AnhTai | last post by:
Hi all, I've just installed MySQL 5.0 on my sun box (runing Solaris 10, install from blastwave). This is my first time with MySQL so I don't have any exp with it. I have some troubles as: -...
3
by: bmoore | last post by:
I am just beginning to implement user-level security in Access 2003. I created a user account and it is assigned to the users group. I would like to assign a password for this account (or for the...
2
RAJSPY
by: RAJSPY | last post by:
Hi all, I am trying to get an admin process started under a user account. I want to start a process that can install programs under this user account. Our company now has a full admin access...
0
by: Big Charles | last post by:
Hello, Programming in VS2003-ASP.NET 1.1, I have this problem: Using DirectoryEntry and without any admin user, how can I check if a domain account, that try to login, has expired? Scenario: User...
10
dlite922
by: dlite922 | last post by:
Hey guys, I have a PC that is loaded with a program that restores the Windows XP image (Linux based, don't know the name) which restores the the OS from an image with each reboot, similar to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.