Questions tagged [admin-rights]
102 questions
0
votes
2 answers
Using Lock pages in memory without being Administrator on Windows Vista and 2008 Server
The following question answers how to get large memory pages on Windows :
"how do i run my app with large pages in windows".
The problem I'm trying to solve is how do I configure it on Vista and 2008 Server.
Normally you just allow a specific user…

sfriberg
- 55
- 6
0
votes
0 answers
Running a Batch with Admin Rights, but with pre saved User&Pass in the Batch to avoid windows asking for the Cridentials
I am already using the following Batch to open my Jar file with Admin Right:
@echo off
:: BatchGotAdmin (Run as Admin code starts)
REM --> Check for permissions
>nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system"
REM…

anf
- 67
- 1
- 6
0
votes
2 answers
Git without Admin rights, Windows 10?
Our corporate PCs have git installed which always tries to gain admin access on any git command, Even git --version. This is weird that git is designed that way that it need admin access for any git command.
We have Beyond trust privilege management…

topgun
- 43
- 1
- 10
0
votes
1 answer
Run Powershell command on Windows 10 startup with admin rights
I want to achieve the following:
When I start my computer I want powershell to run command "Restart-NetAdapter". It requires admin right to work.
I have tried putting .ps1 script to startup folder and trying to do cmd commands to invoke powershell…

Maciej Sikora
- 13
- 4
0
votes
0 answers
Websocket server is not starting without admin rights
My websocket server is not starting. I cannot connect. But if I run program with admin rights It's working.
X509Certificate2 certificate = new X509Certificate2(Resource.UZCRYPTO);
using (X509Store store = new…

Abbosbek Niyozqulov
- 33
- 1
- 7
0
votes
1 answer
How can I start the program without admin rights in VB.NET?
I have a problem I start an application with admin rights from this application, another application is started at the end. This then inherits the admin rights. But it should start with normal user rights. Does anyone have a solution for the problem…

arti
- 1
- 1
0
votes
1 answer
Exporting & Import Folder Structure and rigts with CSV file using PS Script
I'm BRAND new to ps scripting and am looking for some advice please.
We replace a data share server every couple of years, and creating the complete folder structure and permissions by hand is very tedious, so I'm trying to automate it with a…

JLV
- 1
- 3
0
votes
1 answer
Access Denied with LDAP and C#
Using LDAP with DirectoryEntry or PrincipalContext in C# worked fine, I could read AD, change properties, yet when creating users or groups I got Access Denied. Even when I use the Administrator account to login on AD through my application.
Going…

MiiChiel
- 201
- 1
- 4
- 14
0
votes
0 answers
How to copy/download file into Program Files without admin rights?
I am working on a legacy MFC app that reads files from a set directory in Program Files but the .exe itself has to work from mostly anywhere else (including outside Program Files).
Is there any way to copy/download a file directly into Program Files…

Trăistaru Vlad
- 1
- 4
0
votes
0 answers
How can I start the PowerShell with admin rights from C#?
my intention is to start a Powershell process with admin rights to pass it arguments in C#. For that I have written following piece of code
public void PassCommand(string command)
{
Process process = new Process();
…

Marcel Müller
- 368
- 3
- 17
0
votes
1 answer
Remove elevated rights required in Delphi 5 application
I took over a company that had a application already built and deployed and I am stuck.
My Delphi 5 application requires elevated privileges to run and I have no idea why.
How could I see why my application requires elevated privileges and…

Niens101
- 1
- 2
0
votes
0 answers
Execute external program with administrator rights
I am trying to open an extenal program that requires me to open this program as administrator.
I am using these two lines to open external program, but the program is executed without administrator privileges.
How i can execute it with the correct…

matan
- 97
- 13
0
votes
0 answers
Install Eclipse RCP executable without admin rights
I have created Eclipse RCP installer using a third party tool . While installing it always asks for admin rights. Is there any way in Eclipse product configuration to avoid this.
Please help

grh
- 1
0
votes
2 answers
Change Tcp/ip settings on domain registered pc with a script
I have a work pc that is registered with an domain. My logon user don have any admin righs but when i'm prompted i have an .\xxxxx account i use to get admin rights.
I often change my IPv4 settings on the LAN card, Sometimes to a static adress and…
0
votes
1 answer
Alternative ways to enable an application to run with admin rights
I have a console app that works with monitoring all windows processes, waits for a specific one to appear and then work with it using UI Automation. It is only distributed to people who need it and are willing to install it so it does not do…

Filip5991
- 383
- 1
- 3
- 13