Questions tagged [admin-rights]

102 questions
0
votes
1 answer

Run python app as admin without prompting for admin page

Can we run python app as admin by storing the admin credentials in python code and when python app needs admin rights it should use the admin credentials stored in it's code and run with admin rights. But it should not prompt for admin page. Let the…
Amith B
  • 327
  • 2
  • 11
0
votes
0 answers

As can I remember administrator rights in java program?

I'm launching my Java application with admin rights using manifest file and launch4j program to create an executable file, but in every execution is asking for admin password, and I will like that ask for password only fist time and remember admin…
poly82
  • 39
  • 7
0
votes
1 answer

Install windows device driver without admin privileges

I am working on an application which installs an existing windows driver (.sys file) to create virtual com ports during runtime. I was wondering if it is possible to install such a driver without the user having administrator privileges. I…
user5265160
  • 409
  • 1
  • 8
  • 19
0
votes
0 answers

How can I start-process without it inheriting admin rights?

I have a powershell instance that has admin rights. In it I run the following command: start-process MyProgram.exe Powershell then tries to run MyProgram with admin privileges (because Powershell has them itself). I don't want this to happen, I…
Bassie-c
  • 198
  • 16
0
votes
0 answers

How to give administrator rights in Java code for tasks

There was such a problem. With the help of FileReader I run on the system file and try to change the lines in it. But I can not do this if my application is not running on behalf of the administrator. private BufferedReader fileReader(String path)…
0
votes
0 answers

Granting admin access rights to C drive using VB.net in Windows 10 OS

I would like to ask for your help regarding this matter. I have a system which contains a app.config file, which contains SQL credentials. I have already encrypted the app.config file through this code: If Not…
user3175637
0
votes
0 answers

What is different about Windows 10 security in relation to MSI files?

I have an MSI file built with Wix. During the install, a powershell process requiring admin rights is launched. This worked fine under Windows 7, but fails under Windows 10. I get a UAC prompt upon install in 10, but it doesn't seem to run the…
Dan
  • 1,215
  • 1
  • 10
  • 22
0
votes
0 answers

Admin rights are not passed to C++ library

I have a C# app that exports a series of WCF services (It requires admin rights in order to do this). From this app i am using a C++ DLL in order to do some operations with an external hardware and this library outputs a series of files in my app…
Lucian
  • 344
  • 1
  • 6
  • 19
0
votes
2 answers

Which WPF parts need Local Admin rights to work proberly?

I develop an application on WPF. I have recognized that some parts of the program do not work without Local Admin rights. On another question it is said that writing to event log was causing the need of LA rights. What other possible causes there…
mico
  • 12,730
  • 12
  • 59
  • 99
0
votes
1 answer

Sharepoint Application not running

I have this sharepoint application which was running absolutely fine. The Application Pool Identity was set to configurable for this sharepoint application. But from yesterday i have been getting the following error while trying to access the…
Shrewdroid
  • 800
  • 1
  • 10
  • 31
0
votes
1 answer

Installing the Java JDK on Windows 10 and Cygwin without admin permissions

I'm trying to install the Java JDK on Windows 10 and under the Unix-style Cygwin system. I don't have admin rights though. This limits install of both Cygwin and Java JDK. (Existing solutions here only cover JDK without admin rights). Update: I've…
Troy S
  • 1
  • 3
0
votes
1 answer

dropdown values according to rights

There is multiple values in that dropdown .. e.g. Car Truck Bike Drink Factory There is another login page Login.aspx . Login code protected void Button1_Click(object sender, EventArgs e) { try { …
user6628729
  • 323
  • 1
  • 7
  • 25
0
votes
1 answer

MSI error: requires administrative rights

It works on Win7 when I run msi file from local disk and from network share. But when I run msi file on Win8-10 I get an error: This application requires administrative rights I set for Product: InstallScope="perMachine" …
ZedZip
  • 5,794
  • 15
  • 66
  • 119
0
votes
0 answers

Get Windows user rights with PHP or with PHP and external application

I'm working on a Windows tool coded with PHP that proposes different options according to the user rights. So, the tool needs to know first what are the user rights. I didn't find any PHP variable providing those information. I've found…
Peter Estiven
  • 414
  • 1
  • 7
  • 16
0
votes
1 answer

Get restricted user folder when an app requires admin rights and started under admin

There is a Windows app that requires admin rights and this is declared in its manifest. When a restricted user starts it she has to input admin credentials. It's OK and the application works well, but it can't obtain original user folders anymore…
noober
  • 4,819
  • 12
  • 49
  • 85