Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Administrator with full access still can't execute program

12 Jun 2012   #1

Windows 7 Professional
Administrator with full access still can't execute program

Hi all!

I'm having a problem with a Windows 7 Professional VM.

I'm trying to "lock down" the permissions of some files (cmd.exe, ftp.exe, etc)

For example, I modify the permissions for C:\Windows\System32\cmd.exe so that only SYSTEM and Administrators have full access. I removed Users, Owner, etc from the list.

Then, if I try to run cmd.exe, I get this message: "Windows cannot access the specified device, path, or file. You may not have the appropriate permissions to access the item."

Which is confusing, to say the least. I gave the Administrators group (of which I'm a part of) full access: read, write, execute, etc yet I still can't run the executable. I tried adding other groups such as Users and INTERACTIVE, and THEN it works. However, that defeats the purpose, because then anyone can access the file, which I don't want.

If anyone can shed some light on this issue, I'd greatly appreciate it.


My System SpecsSystem Spec

15 Jun 2012   #2

Windows 7 Professional

I hate to bump threads, but.. anybody? I'm still stuck with this issue
My System SpecsSystem Spec
15 Jun 2012   #3

Windows 8.1 Pro (x64)

So everyone has access to Just because they have access to the command line does not mean that can invoke administrative actions. Still bound to their privileges.
My System SpecsSystem Spec

15 Jun 2012   #4

Windows 7 Professional

I understand, it's just that I was told to configure it so that only Administrators have access. It's just puzzling to me that even though the *Administrators* have Full Access, they still can't access the file. Ugh.
My System SpecsSystem Spec
15 Jun 2012   #5

Windows 8.1 Pro (x64)

Administrators are part of the Users group and they are only part of the Administrators group when they use Run As Admin.
My System SpecsSystem Spec
17 Jun 2012   #6

Windows 7 Professional SP1 64bit

Yes, off hand that's probably it.

Was thinking it could be something with the unactivated by default true administrator which is hidden away from normal users, even normal administrator users.
My System SpecsSystem Spec
18 Jun 2012   #7

Windows 7 Professional

What I'm seeing is that I can't run cmd.exe even if I do right-click -> "Run as administrator". I *have* to have Users as part of the permissions if I want to be able to run it, even if I'm an administrator. It's quite frustrating. I don't see why I can't just keep Users from being able to access this. The sad part is, it also happens with many other executables, such as ftp.exe.

I looked around some, and found a setting called "Prevent access to the command prompt" under User Configuration -> Administrative Templates -> System. I enabled it to see if I could get around the issue, but it still prevents me from accessing the command prompt, even though I'm an administrator (the difference is that now, command prompt starts, but displays a message telling me it's been disabled by an administrator). Same thing happens if I "run as administrator". Again, I just feel like I'm missing something, because this doesn't make sense to me. :/
My System SpecsSystem Spec

 Administrator with full access still can't execute program

Thread Tools

Similar help and support threads for2: Administrator with full access still can't execute program
Thread Forum
How do I program a key on my keyboard to execute a left click? Hardware & Devices
execute a .bat and .exe file as administrator once for all System Security
Windows 7 administrator: can't restart, shutdown, execute anything General Discussion
Change From Name/Administrator > Full Adminstrator General Discussion
Run program as administrator General Discussion
Run this program as an administrator System Security
Program wants to run as administrator Gaming

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 03:15 AM.
Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33