Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
0 answers
25 views

How Can I Create Setup File With All Administor Permissions?

I can't run a program that i made with python, i have to use "run as administor" option. I made a program that uses SQLLite3 with python. Then I wanted to convert it a setup file. I used ...
Maça Beşli's user avatar
0 votes
0 answers
170 views

C# requestedExecutionLevel with uiAccess="false" doesn't work properly

I'm creating a C# app that needs to run with admin rights - so I've added an app.manifest and made sure I have this line: <requestedExecutionLevel level="requireAdministrator" uiAccess=&...
el_zilcho's user avatar
  • 189
1 vote
1 answer
208 views

Is there a way to give permanent admin permissions to an application?

So I have made a program that requires administrator permissions every time you run it. Is there a way to give it permanent administrator permissions after you give the permissions once. So basically ...
user avatar
-1 votes
1 answer
571 views

Fellow Project Administrator Cannot Delete User Stories (But I can)

I have an Administrator in an Administrative group with the Boards Permissions all set to "Allow (inherited)". He cannot delete a User Story he created. We both inherit the permissions from ...
Bleak Morn's user avatar
0 votes
1 answer
4k views

how to run a program on start up as an administrator using NSIS and NSSM?

I am using nsis to create installer for windows and I am using NSSM to run the application. everything is fine when I install my server , but the problem my server needs to run as admin in order to ...
castro's user avatar
  • 37
1 vote
2 answers
7k views

Can't delete cloned git repo on my computer?

I uploaded my project folder to GitHub so I can work on it from both my desktop and my laptop. I did some work on the project on my laptop and pushed the latest commit to GitHub and hopped on my ...
iducam's user avatar
  • 79
0 votes
0 answers
303 views

How can I give my portable VB.NET application file read/write permissions without Administrator access?

I am developing a portable application that needs to create, modify and read various files (create logs, configs, export .jpg and .csv files, etc.) next to it. This application has to work from ...
Justin8051's user avatar
0 votes
1 answer
307 views

Prevent administrator from taking ownership of an object

As a premise I want you to know that this has nothing to do with game cheating, as I am only interested in knowing the way that Windows works. I don't even personally play video-games. ...
samzoia's user avatar
  • 21
9 votes
0 answers
847 views

Runas verb not elevating on specific Windows 10 machines

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 or ...
Ben's user avatar
  • 4,319
0 votes
1 answer
6k views

Copy-item runas Administrator to program file fail

i would like to copy the license folder and overwrite the existing folder, since it is program file (x86), i have to run the elevated powershell, i am able to copy it when i launch it manually, just ...
Mandy's user avatar
  • 3
1 vote
1 answer
2k views

Batch administrator permission check

Good morning, I'm trying to verify if a batch is executed with administrator permission. I found this command to verify: openfiles >nul 2>&1 if NOT %errorLevel% == 0 ... or net session ...
Luca Taddeo's user avatar
3 votes
3 answers
5k views

Why can I import certain modules in Python only with administrator rights?

I'm struggling with some strange issues in Python 2.7. I wrote a very long tool where I import different modules, which I had to install first using pip. The tool is to be shared within the company, ...
s6hebern's user avatar
  • 785
1 vote
1 answer
1k views

Is it safe to remove all ACL's on home folder?

I recently started getting lots of errors when trying to access files in my home folder. It seems that the permissions are corrupted. I realized that sometimes, in the Get Info window for a file, even ...
Coder-256's user avatar
  • 5,581
0 votes
1 answer
911 views

Allow admin user to give permission to customer registration in Magento shop

I want to set a rule to allow administrator to give permission to customers when they register an account in the Magento Shop. Currently, Customers can register an account without asking Administrator'...
Sharon Hu Bach's user avatar
0 votes
1 answer
9k views

Wordpress a:2:{s:13:"administrator";b:1;} vs a:1:{s:13:"administrator";b:1;} causing "You do not have sufficient permissions to access this page"

I have "You do not have sufficient permissions to access this page." issue when trying to access Wordpress wp-admin login as an administrator. The login page appears, but when the user details are ...
Amanda's user avatar
  • 1
0 votes
1 answer
184 views

Wordpress Administrator access to plugins page

I recently downloaded the Advanced Access Manager Plugin for wordpress and accidentally removed the capability of the administrator to view the plugins page. Is there a place I can access the users/...
user666's user avatar
  • 103
0 votes
2 answers
83 views

How do I get exactly same permission as Administrator in UNIX

I know there are many solutions online for this question but none of them seem to be clear enough. I want to know is there a way by which I can get same permissions as a unix root administrator. All I ...
deepak.prathapani's user avatar
1 vote
1 answer
85 views

How Administrator can determine user permissions Spring

I have a web application which has 2 actors: superAdmin & admin The superAdmin can determine all permissions of admin(eg: admin will use "add" methode and won't use "delete") SuperAdmin can ...
user3812197's user avatar
2 votes
0 answers
2k views

Odd behavior when Git repo is in C:\Program Files

We have a Git repo in C:\Program Files\Some-DB\Some-DB-Queries. When Git (or SourceTree) is run as Admin, everything works as expected. However, as non-Admin, after pulling into a local repo, Git sees ...
John K's user avatar
  • 177
0 votes
1 answer
2k views

How to configure the Test Controller Configuration Tool version for 2013?

I'm working with Automated Builds becuse I need to do automatic Build, Deploy and Test in every Check in. So searching how to do it, if found things bout Build Definition (done), Lab Enviroments (not ...
Josue Rocha's user avatar
1 vote
1 answer
3k views

Can Windows server administrator inherit SQL SA privileges

Can users who are part of Windows Administrators group inherit SA priveleges on SQL Server that is installed on Windows box Thanks
user2537249's user avatar
2 votes
1 answer
6k views

Start process as system user

I was trying to read some values from some registry keys with code (c#) on windows and I found out that the reason why I was not able to read the values was because the admin user did not had ...
Tono Nam's user avatar
  • 36k
0 votes
2 answers
177 views

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 ...
Rupert Puxton's user avatar
1 vote
1 answer
3k views

java.io.IOException: Access denied (H2 + Hibernate)

Table size of more than 10,000 lines Submit the request to read the last 100 lines of every 6 seconds and one on the record But sometimes there is an error 17:34:49,549 WARN SqlExceptionHelper:...
user1752952's user avatar
6 votes
3 answers
12k views

TF246017 Error when opening TFS Administration Console

When I log on to our TFS server using my own domain account and try to open TFS Administration Console, I get the following error: TF246017: Team Foundation Server could not connect to the database....
MegaMatt's user avatar
  • 23.7k
4 votes
2 answers
137 views

Grant permission to word with a protected file

I need to programmatically edit, write or delete protected files. In Windows, if i do it manually, it asks for permission and in Unix systems i need "sudo". How can I ask in Java for higher privileges ...
Oneiros's user avatar
  • 4,378
2 votes
2 answers
2k views

Run an application as Administrator with predefined username and password

In my application I have some Save methods that store data on user's hard disk. How could it be possible to prevent the user from getting access, change or delete that files as soon as the application ...
mammadalius's user avatar
  • 3,343
1 vote
2 answers
6k views

How to get permission level of a folder?

I want to detect a folder, if needs Administrator privilege level (using Delphi). Is it possible? I wrote this Code. This is what exactly I want. But I want to do this using Windows standard ...
Kermia's user avatar
  • 4,221
1 vote
4 answers
1k views

Finding ALL files regardless of permissions (Windows XP, C#)

I have a need to find ALL files on my hard drive (in the C: partition), regardless of permissions. (Windows XP Pro, using C#) In an earlier question, I was told: The "C:\System Volume Inforamtion" ...
Mark T's user avatar
  • 3,484
22 votes
4 answers
12k views

Visual Studio output file permissions?

I'am using Visual Studio 2010, how to set or automatically change owner of the output file from Visual Studio (such as executable file) to user other than administrator? all output files currently is ...
uray's user avatar
  • 11.5k
0 votes
1 answer
545 views

Administrator receives PermissionDenied error when issuing get-childitem in Powershell

I am trying to backup a drive from a laptop that is defunct. This drive was pulled from the machine and mounted in an external enclosure and connected to a desktop via USB. Laptop that the drive was ...
user391928's user avatar
1 vote
1 answer
539 views

A way to launch x applications as administrator automatically (Windows xp)

The problem is that in our clients their normal user doesn't have administrator privileges so when they have to install or update our programs they have to log again as administrator to install them ...
VSP's user avatar
  • 2,395
70 votes
2 answers
74k views

Admin rights for a single method

Is it possible to require administrator rights for one single method? Something like this: [RequireAdminRightsForThisMethod()] private void TheMethod(){ // Do something }
llullulluis's user avatar
  • 3,492
5 votes
3 answers
8k views

asp.net run program with Administrator account

I need to run one console application from ASP.NET application using Administrator account and with Desktop interaction enabled. I have tried code below, console app runs ok but within NETWORK SERVICE ...
Tomas's user avatar
  • 755
2 votes
2 answers
713 views

Allowing administrators to modify user's settings from within my program -- what's my best option?

I've been working on making my app easier to use for administrators. One of the things I'd really like to do is allow admins to modify other user's settings from within the program -- while still ...
ZZZzzz's user avatar
  • 85
2 votes
1 answer
7k views

DirectoryEntry.NativeObject throws access denied for a user in Administrators group in windows 2008

I have a local user, which is member of Administrators local group. When I run this code: using System; using System.DirectoryServices; namespace nanttest { class Program { public ...
Sunny Milenov's user avatar
0 votes
1 answer
2k views

Remove manifest permissions in Vista

I have been developing a C# windows form application in XP. It all works just fine. But in Vista it was not able to write the log or scoreboard file to the hard drive. I found out that I needed a ...
Jon's user avatar
  • 15.2k