administrator Questions

2

Solved

In my PowerShell script, I create a shortcut to a .exe (using something similar to the answer from this question): $WshShell = New-Object -comObject WScript.Shell $Shortcut = $WshShell.CreateShort...

3

Solved

Is there a way I can run the Qt application as an administrator? I have an auto-updater for my application. It needs administrator privileges to replace the files in Program Files folder and hence ...
Ms asked 29/5, 2012 at 16:13

1

Solved

There are a few options for standard user to run as Administrator (or any another user), however, even when logged as Administrator, some functions requires to run 'elevated'. On a windows gui, j...
Profanatory asked 18/5, 2019 at 13:56

3

Solved

I'm trying to uninstall an application from shell, however this application is running as a device administrator and thus shell> adb uninstall com.example.test did not work. How can I disable a...
Rainer asked 17/12, 2012 at 9:30

9

Solved

I am using "runas" to open command prompt as a different user but that command prompt is not running as an admin. How can I make it run as an admin? UPDATE: I am using Windows Server 2012 ...
Beker asked 15/10, 2012 at 20:39

2

I need to determine if my program is running with full administrator rights. By that I mean if uac is turned on (for win vista/7) that I need to determine if the program actually has admin rights (...
Lipocaic asked 20/11, 2010 at 0:44

4

Scenario: An administrator will install the application. The application has some kernel level operations so, it has to run with privileged mode. But the user does not have administrator credentia...
Ikon asked 31/12, 2018 at 6:45

3

Solved

How can I run PowerShell from Context menu (holding the shift key) in current folder with admin privileges? Is there a simpler way than type in any code to windows registry?
Interpret asked 14/11, 2016 at 22:58

0

I have a really odd issue, where some code that we have been running for years has stopped working on certain machines. There is no obvious pattern to the machines (in terms of Win10 build number o...
Herries asked 22/10, 2018 at 11:1

4

Solved

I am using the Laravel Administrator package from frozennode. Long story short, I'm running into issues when displaying results that are soft-deleted. I'm trying to override the default query: sel...
Covarrubias asked 13/10, 2014 at 16:31

6

Solved

Can anyone help me with running vbs from itself but with administrator rights? I need rename computer with Windows 8 via VBScript, but it's possible only if I run my script through administrat...
Miscreant asked 4/7, 2013 at 9:27

3

Solved

I'm developing a installer using Inno Setup, and I need to create a windows user with administrator privileges, I can do it normaly using this command: net localgroup administrators USER /add But ...
Verminous asked 24/1, 2013 at 10:51

3

Solved

I want certain functions in my application to only be accessible if the current user is an administrator. How can I determine if the current user is in the local Administrators group using Python ...
Talc asked 15/3, 2010 at 15:46

4

Solved

I have made a Java Application and I tested it in my pc and my coined pc, so far so good... But this application is for another friend of mine that have a disco, when I "installed" my application o...
Mulley asked 26/9, 2013 at 19:47

6

Take an excruciatingly simple batch file: echo hi pause Save that as test.bat. Now, make a shortcut to test.bat. The shortcut runs the batch file, which prints "hi" and then waits for a keypress...
Jornada asked 23/3, 2010 at 6:53

3

Solved

I have an application that writes program settings to the windows registry that is absolutely necessary so.storing to a file is not an option. To simplify this, I would like to give an "admin priv...
Imprimis asked 5/2, 2013 at 8:26

2

I've managed to get the cmd being opened by python. However, using runas administrator comes with a password check before cmd.exe is executed. I'm using this to open cmd... import subprocess sub...
Detective asked 18/5, 2017 at 17:15

7

Solved

I have a WindowsService named, say, BST. And I need to give a non-Administrator user, UserA, the permissions to Start/Stop this particular service. My service runs on a variety of Windows OS, start...
Spree asked 14/12, 2010 at 6:38

1

Solved

On Windows it's easy to run cmd application as administrator: Right click on cmd icon >> run as administrator` But I would like to use PhpStorm terminal tool as administrator since I cons...
Centurion asked 4/1, 2017 at 11:4

1

Solved

A person with ID @person and MOB +969123456789 has a channel named TEST in Telegram (for example). This channel has 3 administrator. @person, unintentionally deactivate his account. This mean...
Bareheaded asked 10/7, 2016 at 15:18

5

Solved

I have been using the pretty looking active admin recently and ran in to some issues happening across my application with a performance issue and other things including the taking over of the...

1

Solved

Recently, i was trying to give my application administrator rights without system asking for "Do you want to give administrator rights?" and i found a way which is working perfectly. Solu...

2

I know that sounds strange but that is how it is) I'm using MSTest to run my unit tests. Using VS2013 + ReSharper 8.1 + some dll projects in C#. I'm calling some API functions, that is why I need ...
Firehouse asked 16/2, 2014 at 13:11

2

I have an C#, .Net 4.6.1 Windows Forms Application running on Windows Server Platforms (2008 or higher) which requires to be "Run as Administrator". Elevated privileges are required because the app...

3

Solved

Not really sure of my exact question, but here is the situation: I have an application (WinForms, C# .Net) that I am developing in Visual Studio 2012. It does a lot of things but the important bit...
Subrogation asked 16/9, 2015 at 14:9

© 2022 - 2024 — McMap. All rights reserved.