Questions tagged [elevated-privileges]

Elevated privileges are higher privileges, offered by an operating system, usually higher than normal user's privileges.

Elevated privileges are higher privileges, offered by an operating system. They are usually higher than normal user's privileges (for example, administrator privileges are regarded as elevated privileges).

398 questions
0
votes
2 answers

C# install software that requires administrative privileges

I've developed a small C# software that interfaces with a piece of hardware that will always be connected to the pc. Since this software requires administrative privileges and I want it to start as the PC starts, I'm evaluating what's the best way…
xanz
  • 221
  • 3
  • 10
0
votes
0 answers

Copy file with elevated privileges; prompt is fine

I need to copy a file into a folder using elevated privileges. A user prompt is fine. IO.File.Copy(vSrcPath, vDestPath) I'm getting UnauthorizedAccessExption: Access to the path ... is denied. How can I copy using admin privileges? I tried…
D_Bester
  • 5,723
  • 5
  • 35
  • 77
0
votes
2 answers

Execute another EXE from an application with parameters, as admin

I have created two projects under the same solution. ProjectA is a Windows Form Application and ProjectB is a simple console application.ProjectB will be executed from ProjectA with admin privileges. Sample from ProjectA private void…
drgmak
  • 1,135
  • 10
  • 13
0
votes
0 answers

Get administrator privilegs in Qt during runtime

My Qt-based application needs sometomes administrator privilegs on Windows. Is it possible, to start the application with user's privilegs and switch to admin-privilegs when needed at run-time?
Valentin H
  • 7,240
  • 12
  • 61
  • 111
0
votes
1 answer

Call an external program to run as standard user from a requiredAdministrator program

My Visual Basic program will copy files to a program files folder, so I have to use requiredAdministrator privileges since asInvoker won't allow to write in the program files folder. After I copy the files I invoke an AutoIt script automating setup…
GHoStyaiRo
  • 100
  • 1
  • 1
  • 9
0
votes
1 answer

COM Exception: 0x800702E4 in mscorlib while accessing referenced dll function

suddenly I have a problem calling any function from a referenced DLL assembly. If I run my assembly without admin privileges I'm getting a COM Exception. This COM Exception only raises on my development Maschine, on any other Maschine with the same…
kami
  • 244
  • 1
  • 3
  • 16
0
votes
1 answer

Update Root Crontab with Objective C

Consider a third-party SDK with a command line application that needs to run as root on OSX. You build a Cocoa application in Objective C and have it installed in /Applications under the "root:wheel" (user: root, group: wheel) ownership. I already…
Volomike
  • 23,743
  • 21
  • 113
  • 209
0
votes
0 answers

Elevating my Mac application in XCode

I have some basic skills in Xcode (Obj-C and Swift) and I want to write a single application for doing some administration stuff on client Macs. (For example: setting the Software Update Server ULR, switching on Remote Administration, showing…
awado
  • 207
  • 3
  • 10
0
votes
1 answer

Programmatic system call WDCI Unexpected Behavior (Elevated Permissions)

If I wanted to disable a specific NIC on Widows, this is how I'd typically do it: wmic.exe path win32_networkadapter where "NetConnectionID = 'Local Area Connection 2'" call disable From an elevated permissions / run as administrator command line…
Authman Apatira
  • 3,994
  • 1
  • 26
  • 33
0
votes
2 answers

Linux folder move access

Is a Linux file system able to allow or deny the right to move a folder? Active Directory does not, as far as I can tell. I'm curious, and 3 different wordings generated no results.
Tim
  • 113
  • 2
  • 10
0
votes
1 answer

Process.GetProcesses() WHERE process.IsElevated?

I'd like to monitor elevated processes running on a machine while a non-administrative user is logged in. Basically, I want to run the following made-up code from C#: var elevatedWindows = Process.GetProcesses().Where(p => p.IsElevated ||…
turkinator
  • 905
  • 9
  • 25
0
votes
0 answers

How do I get to be "super" administrator with elevated priviledges in Windows 7?

I had to format my pc and now I can't do the following things: Install games (get a prompt saying I'm not admin even though I am). I can't delete nor uninstall the stupid McAfee free subscription that installed itself. I can't edit any folder in…
belgarion
  • 115
  • 1
  • 11
0
votes
0 answers

Windows user rights administrator group

I'm running into the same problem again and again for ages so I decided to ask my question here : I added a service account "ZYX" into the Administrators group of my Windows 2K8 Server. Whenever I try to run a scheduled task (running as "ZYX") that…
0
votes
0 answers

Create Empty Share point Project in Visual Studio

I want to create a Share point web part using Share point 2013. I have installed Visual Studio 2013 Community. But I couldn't create empty share point project in Visual Studio 2013 Community. Can I create an empty Share point project Using Visual…
0
votes
0 answers

JAVA application with administrative privileges

Is it possible to run a java application with administrative privileges. So, the idea is to have these privileges and automate installations on the system by simple running a system check for already downloaded dependencies and then install the…
swayamraina
  • 2,958
  • 26
  • 28