|
We're developing a set of applications that need to communicate with each other on the user's session. These applications do not require any administrative privileges to run, but as soon as one of them tries to open an http listener - it fails due to ...
Started by IgorM on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Use the dos command.
Registration in an installer which is running with administrative priviledges.
|
|
I just installed StandaloneStack2 on Windows 7. I have a link to open it in my start menu to configure it which has to be run in administrative mode. I have a link pinned to my taskbar where it shouldn't be run in this mode as I have to go through the...
Started by Casebash on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at superuser):
The two files can then be assigned different compatibility mode... .
If the question is regarding one particular program file, the quick-and-dirty solution is to copy the executable with another name so as to have the two shortcuts reference different files .
|
|
Is there a canonical way to test to see if a user has administrative privileges on a machine?
I'm going to be starting a long running process, and much later in the process' lifetime it's going to attempt some things that require admin privileges.
I'd...
Started by clintp on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
This will check if user is in the local Administrators group (assuming you're not checking for domain admin permissions)
using System.Security.Principal; public bool IsUserAdministrator() { //bool value to hold our return value bool isAdmin; try....
|
Ask your Facebook Friends
|
As the title says I need to check whether the user executing the script has administrative privilages on the machine or not.
I have specified the user executing the script because the script could have been executed with a user other than the logged on...
Started by Javier De Pedro on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
You can use script if you want to see if the logged on user is an administrator
Set objNetwork = CreateObject("Wscript.Network") strComputer = objNetwork.ComputerName strUser = objNetwork.UserName isAdministrator = false Set objGroup = GetObject....
|
|
I've been evaluating profilers and memory checking tools for native C++ programs on Windows and all of them want to be installed and run with administrator privileges. I rarely log in as admin on my machine. If I need to install something or do something...
Answer Snippets (Read the full thread at stackoverflow):
administrative access, but stating that you require it is an easy way for the tool makers to avoid all run all the time with administrative privileges..
|
|
Hi Several years ago we have written VB6 activex control that is hosted by a webpage. Since then for many users it stopped working unless the user logged on with administrative privileges. The website is set to "Trusted sites" in IE. The IE security settings...
Started by SparcU on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
No ....
I tried to check it using regmon and filemon.
What does the control attempt to do locally? Maybe it's trying to change privileged parts of the registry, or open devices directly—the sorts of things that only privileged programs are allowed to do .
|
|
I've been considering switching from full time employment to contracting, and I could potentially even keep my current employer as a just about full time client, while maintaining flexibility to take on other jobs. What administrative functions should...
Started by Zak on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at serverfault):
Unless you're billing yourself.
The administrative functions? Do you want to be hands-on or -off when it comes to keeping the business going is going to radically increase your administrative overhead and expense.
|
|
I would like to check (by VBScript) whether the context in which the script runs allows me to perform administrative tasks.
Requirements:
The solution should work on all Windows operating systems starting with Server 2003. ( This rules out solutions which...
Started by Heinzi on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Here is the code, the unfortunate pre-req for XP is "whoami.exe", found in a resource kit or support tools for XP ( Wikipedia ) - I'd still like to find a way to do without it... .
Possibly combine this ( WhoAmI from VBscript ) with this ( UAC Turned On ) .
|
|
Let's begin.
Are we seated comfortably?
Once upon a time, company A registered their domain name with GoDaddy.com, and contracted with another local "web design firm" to handle their web and email needs.
The "web design firm", which in this case turns...
Started by Bill B on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at serverfault):
Stating that the administrative contact details should be changed to <insert details here>.
|
|
I've been testing my application to see how well it works when run by a non-administrative user, and I have found problems with file handling. I am getting an UnauthorizedAccessException when trying to overwrite a file, if the file was created by and ...
Started by Dan Vogel on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
However if you need access to your files....
The best way to make sure your application can always store information is trough the IsolatedStorage .
This code would give the user full access rights to the folder, however, this might fail on security again .
|