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
w1r3d

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.


Thanks!
Pedro


My System SpecsSystem Spec
.

15 Jun 2012   #2
w1r3d

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
logicearth

Windows 10 Pro (x64)
 
 

So everyone has access to cmd.exe...so? 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
w1r3d

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
logicearth

Windows 10 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
Wrend

Windows 7 Professional SP1 64bit, Debian GNU/Linux 64bit (virtual machine on a RAM drive)
 
 

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
w1r3d

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.

Edit:
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
Reply

 Administrator with full access still can't execute program




Thread Tools





Similar help and support threads
Thread Forum
Execute Program in Batch File As Administrator (Or Other Solution)
We use a program called TFC.exe (Temp File Cleaner - addpcs.com) to wipe all sorts of temp files off a computer on a monthly basis. The older version was a standalone .exe that users used to execute from a a folder on a server. The newer version is actually installed on each user's PC. If...
General Discussion
Unable to execute, error 5 access denied.
Recently whenever I have attempted to install virtually any program, I've been constantly receiving this error message "unable to execute file in the temporary directory error 5 access is denied". From several google searches I have understood that the general cause of this error message is a lack...
General Discussion
How do I program a key on my keyboard to execute a left click?
I have a Microsoft ergonomic keyboard 4000 which came with IntelliType Pro software. I want to program a particular key on the to execute a left click whenever I press that key. Is this possible to do?
Hardware & Devices
execute a .bat and .exe file as administrator once for all
hello, Once i double click on bat file, a new program .exe is launched and receive a msg asking if i allow the program to modify my computer. I click yes, and my short life continues... Any clue what can be done to remove this msg once for all for this program ? After right click on .bat...
System Security
Windows 7 administrator: can't restart, shutdown, execute anything
Hi all, I have Windows Seven Ultimate running on a machine just fine for about half a year. After installing some piece of software related to android rooting, I found myself unable to do anything on the computer, as launch windows explorer, restart shutdown, start any other program, as this...
General Discussion
Change From Name/Administrator > Full Adminstrator
When I stalled Windows 7, I was with the understanding I was the Administrator. But then I find it will not let me into system directories to access files and etc. Upon checking I find the Admin account is still deactivated, was up with that? :) How can I change my account to the real admin...
General Discussion

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 02:27.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App