Questions tagged [non-admin]
40 questions
0
votes
0 answers
Is there a way to execute a program with elevated privileges as a non-admin user in Win10?
I am trying to automate a few things with a few scripts. One of the users in my PC has no admin privileges (I have a "Work" user and a "Gaming" user and I don't want the latter to be admin by default).
However sometimes I need to grant…

rovda
- 221
- 2
- 10
0
votes
1 answer
Is there any way to check if password is compliant for a standard user account as per gpo settings via powershell
The concern I have is that I can't store the user's password anywhere. As soon as the user enters the password, I want to validate if it's compliant with the password policy settings on that machine.
I came across net commands to retrieve related…

Neetu Soni
- 51
- 3
0
votes
0 answers
Installing an Application without Admin Privileges in Win 10
I have developed a VSTO project for MS excel. I need to create setup file that runs without admin privileges in Window 10. Any method to achieve this?

Samanthi De Silva
- 21
- 4
0
votes
1 answer
Creating Firewall rule for a process running in a Non-admin user account
I have a basic requirement - to run my application smoothly on Windows by creating firewall rules when prompted, that has windows firewall turned-ON.
When I log in to my system as an user with Admin privileges when I run my application the first…

aeon
- 1,029
- 2
- 13
- 23
0
votes
0 answers
Running .bat commands on a Jenkins slave with restricted execution permissions
I am running a Jenkins slave on a restricted environment. This environment will only allow me to execute files in a specific directory.
The problem I have is running simple batch commands.
The slave's java.io.tmpdir being AppData/Local/Temp,…

Christophe Lionet
- 137
- 1
- 12
0
votes
1 answer
How does COM CoCreateInstanceEx try to load types (for non-admin win user)?
I have a very complicated problem that occurs only for non-admin windows user.
I run a script S that resides on the desktop and calls a function in a C++ dll. Then the flow is as follows:
My C++ dll creates a Delphi process, sending it a GUID as a…

Sharon
- 83
- 1
- 9
0
votes
1 answer
Wix - install as non-admin and add to GAC
I am writing an installer using WIX, and I need to add a .dll file to the GAC.
I use:
This works perfectly fine for the Administrator user,…

Maxim
- 15
- 6
0
votes
3 answers
$ENV:USERNAME in SCCM Powershell script
Ok, I saw a answer here about this very same question but I'm not understanding it and what is the next step.
The original question
What am I supposed to do if I want this line to work
$from = "$dirFiles\config.xml"
$to =…

jetmanus
- 63
- 3
- 8
0
votes
1 answer
Installing a windows service that can be started by a non-admin user
I have developed a solution which includes a Windows Service, using Visual Studio 2012. VS 2012 has removed the ability to create an installer, so I’m using a 3rd party tool for installer generation (WiX) which integrates nicely into Visual Studio.…

RikSaunderson
- 3,505
- 6
- 32
- 50
0
votes
1 answer
Allow Non-Admin to Update .Config File In Program Files
I am busy working on a piece of software which stores a .config file within the installation folder (C:/Program Files/...). This config file needs to be updated when the software is used which currently works fine when the user has Admin rights,…

dante671
- 117
- 1
- 10