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
1 answer

Elevating process via ShellExecuteInfo - Infinite shells?

I followed this article for elevating a process, however in my code below (pretty much a copy currently), when debugging, I get an infinite number of shells being created. The line it happens on is indicated. I've looked at the MSDN article here…
0
votes
1 answer

running a bat file and powershell with elevated priviliges

so i have a bat file that goes: powershell -noexit "My\file\location\myscript.ps1" the bat file is in the start up. the powershell script changes the bcd. when executed in this manner it says i do not have privileges, access denied, and…
dwarf
  • 445
  • 2
  • 9
  • 23
0
votes
1 answer

Doubts about Admin Privileges

I made a WPF application which reads/writes other processes' memory, makes a large use of registry keys, reads/writes files on disk and downloads/deploys files from a website. LOL no, it's not a trojan, don't worry :D It has been compiled under…
Tommaso Belluzzo
  • 23,232
  • 8
  • 74
  • 98
0
votes
1 answer

ClickOnce Set Up and other Questions vb.NET

I am attempting to write a small, lightweight client, using vb.net winforms, that can install without needing elevated privileges. Before I ask my questions, let me give you a bit of an idea of what it is supposed to do. The app will start when…
0
votes
2 answers

Batch file - Run as administrator, if not delete batch file?

Hi I have made a batch file which I need to run as administrator. For that purpose I use this script, which I took from here (StackOverflow). But what I want, is if the user choose not to run as administrator (click NO to UAC), then the program will…
0
votes
0 answers

Windows 8 mapped drives paths not recognized correctly by Service

I am facing a problem in Windows 8 where an elevated application/service that impersonates the logged in user does not recognize the mapped drives paths correctly. I have a windows service that I use to copy files from/to different source…
Zaid Amir
  • 4,727
  • 6
  • 52
  • 101
0
votes
1 answer

Adding [not just enabling] SeDebugPrivilege

Having a terrible problem with both IE and Firefox on Win7, a few minutes after cold start or after exiting sleep, beginning a minute or two of intense disk activity, shutting out all other processes, even stopping cursor movement. Can't get to Task…
Frank Detrez
  • 51
  • 1
  • 8
0
votes
1 answer

SharePoint 2010 Acces Denied on creating new web from codebehind

i have a sharepoint problem. I have an event handler on a list and whenever someone adds a new item in the list I want to create a new web with the required details. The problem comes when a diferent user that is not site collection admin adds the…
0
votes
2 answers

ARM Ubuntu: how way to run code in privileged mode?

I have an ARM Samsung Chromebook running Ubuntu (chrUbuntu 12.04). What is the easiest way to run some code in ARM 'privileged' state? I'm not looking for sudo, I'm looking for ARM processor mode of Supervisor, IRQ, FIQ, etc. Someplace I can…
pmeyer
  • 643
  • 1
  • 5
  • 10
0
votes
2 answers

How to determine what prevents an app from running non-elevated (non-admin)

Is there a way to detect what prevents an app from running in a non-elevated state? When we run our application with elevated permissions it operates without any problems. Running in a non-elevated state prevents the application from starting. Are…
0
votes
1 answer

How to create the right certificate to elevate trust in Silverlight 5 application?

I read about using P/Invoke through Silverlight 5 and tried and it works. But it only works in a trusted environment. This means that applications downloaded from the remote website is not run in an elevated trust. I digitally signed my application…
Patrik
  • 1,286
  • 1
  • 31
  • 64
0
votes
0 answers

System.Net.CredentialCache.DefaultCredentials from Trusted Silverlight App?

From here, Can Silverlight Out-of-Browser app call .NET DLLs?, it is possible to call full .NET code from Silverlight, as long as the app is trusted and what you are accessing is ComVisible. Sadly System.Net.CredentialCache is not ComVisible. Is…
ConsultUtah
  • 6,639
  • 3
  • 32
  • 51
0
votes
5 answers

What's wrong with this function. unable to return string value

public static string GetContentFromSPList(string cValueToFind) { string cValueFound = ""; try { SPSecurity.RunWithElevatedPrivileges(delegate() { using (SPSite site = new SPSite("http://mysite")) …
Anirudh
  • 581
  • 5
  • 14
  • 32
-1
votes
1 answer

Powershell script run as administrator from .exe compiled file

I am building a simple Powershell script for AD management. I need to run as Admin this script from the .exe file (portable between Domain Controllers and/or Enviroments). Any suggest to make the exe file to request the Admin Privileges to the…
-1
votes
1 answer

Detect if another process is started as “Run as Administrator” for Visual Basic

I am asking the same question as this post "Detect if another process is started as “Run as Administrator”" I tried converting the code to Visual Basic myself, but I am getting a lot of errors. As far as code, this is what I have so far: Imports…
Kory Haas
  • 1
  • 2
1 2 3
26
27