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
0 answers

Does a maven plugin exist to gracefully check elevated privilege?

Does anyone know of a maven plugin which can gracefully check that the maven process is running with elevated privileges on Windows. I searched using Google, the Maven Users mailing list archive, Commons Exec mailing list archives, stackoverflow but…
buzz3791
  • 1,683
  • 2
  • 20
  • 38
0
votes
0 answers

How to remotely execute an remote script in PowerShell

First off: This is not a duplicate of How to remote execute an ELEVATED remote script in PowerShell. My scenario is similar but different in a certain way. What I want to do is the following: Invoke-Command -UseSSL -ComputerName "$COMPUTER"…
0
votes
1 answer

Show/Add Administrator overlay icon to Inno Setup installer?

I wanna know how to add Administrator overlay icon to my Inno Setup installers. Like on this image:
0
votes
1 answer

Calling an application with elevated Privileges from a normal privileged account from normal application causing issue when placed in Program Files

I have a program that needs to run with normal privileges. To prevent piracy, at the launch of our application we launch a License Manager application that needs to run with Elevated Privileges. Upon enquiring with our vendors, the License Manager…
0
votes
2 answers

Rights elevation with UAC

I've just developed a .NET program which has the ability to patch itself. I've noticed that the patching process only runs if I choose "run as administrator". It seems I need to "create and embedd an Application Manifest", according this this:…
slaw
  • 611
  • 2
  • 7
  • 20
0
votes
3 answers

How to call a Win32 API with elevated priviledges on Windows 7

We have just discovered that code that calls the Win32 SetDateTime function needs to run in elevated mode in Windows 7, i.e. even when logged in as an administrator, one still has to choose to run the Set Date code as Administrator for the call to…
ProfK
  • 49,207
  • 121
  • 399
  • 775
0
votes
2 answers

C# Elevate Current Running Process as SYSTEM

How can I elevate current running process as system, not administrator. try { var ps = new ProcessStartInfo(); ps.FileName = Process.GetCurrentProcess().ProcessName.ToString() + ".exe"; ps.Verb =…
Firefly
  • 13
  • 4
0
votes
1 answer

How can you make specific methods in java require admin rights?

I am creating a password utility that is accessible to both my client and the user, however I want specific methods to be run only by administrators(my client) and not the user. What options are there for doing this?
AKrauss
  • 3
  • 3
0
votes
0 answers

Start a RunOnce application with administrator privileges

I have a program which, when installed, gets added to the RunOnce registry in Windows, so that it runs for the first time after Windows gets rebooted post installation. This application installs a couple of Windows .NETservices using SC Create…
user1173240
  • 1,455
  • 2
  • 23
  • 50
0
votes
0 answers

Cannot invalidate launchd kextcache from helper executable

I've built an uninstaller that call helper executable with elevated permissions to remove my driver's launchd-plist, so that it won't come up again on the next boot cycle. In order reflect the new stage of /Library/LaunchDaemons, I invalidate the…
Zohar81
  • 4,554
  • 5
  • 29
  • 82
0
votes
1 answer

Powershell to open a powershell console in administrator mode without the UAC dialog box and perform some task

I use a user that has admin role. However, by default, the scripts run in UAC mode and not as Administrator. Is it possible to open a powershell console with powershell script without the UAC dialog box? I tried elevating the task I want to do as…
0
votes
2 answers

How can I view whether my application requires elevated privileges or not?

I'm developing an application in C++ which needs to be as portable as possible and be able to run without elevated privileges, so a regular user can run it. But I'm not sure how can I check it because in my system it runs without any popup like UAC…
Paralyz3d
  • 313
  • 2
  • 11
0
votes
0 answers

Elevated rights for HttpListener

I have created a WCF service (wsHttpDualBinding) and published it over azure as app service. Next I created an azure web job to consume this service. When I call this wcf service (hosted over azure). It gives AddressAccessDeniedException. The…
0
votes
1 answer

Google Glass // System signature // Install APK in background

I want to download and install / remove APKs in background programmatically on a google glass device. Steps i already tried: Move APK to /system/priv-apps Try to sign the APK with the system signature (I don't know if I signed it with the correct…
0
votes
1 answer

C# Edit file system directory privileges from admin process

I need to allow edit files in directory to users. Directory and files in it was created with admin priviliges. So, when user try to resave files in it - exception. What I can do in this case? Or may be exist a way to create directory with specific…
velgames
  • 35
  • 1
  • 10