You might try this fix...
http://www.dougknox.com/xp
Main Topics
Browse All TopicsHello everyone!
I am running a Windows Server 2003 SP1 R2. I cannot run ANY .exes files from this server, whether I try from RDP or a mapped drive, or from a UNC name. I get the error "Windows cannot access the specified device, path, or file. You may not have appropriate permissions to access the file." In regards to a specific folder, I know for a fact I have the proper security, because I've gone into the Security tab of the folder, into Advanced, and forced it to replicate the changes to all child objects. I put in Domain Admins (which I'm a part of). I also forced the owner of the objects as the local administrators group, which contains Domain Admins. I've also tried the same with Everyone, and Domain Users, to no avail. I've tried stopped the AV services (CA EZ Trust - don't get me started), as well as Diskeeper... my thoughts being to stop anything that might be locking these files.
I'd appreciate any help on this, it's causing a serious problem on this production server. Thank you all very much.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
You might try this fix...
http://www.dougknox.com/xp
It's a reg file - contents below - that restores any references to exefiles - though it would be advisable to compare rather than just run the reg file...locate the following items in the registry and see if you find anything out of sorts...
[HKEY_CLASSES_ROOT\.exe]
@="exefile"
"Content Type"="application/x-msdow
[HKEY_CLASSES_ROOT\.exe\Pe
@="{098f2470-bae0-11cd-b57
[HKEY_CLASSES_ROOT\exefile
@="Application"
"EditFlags"=hex:38,07,00,0
"TileInfo"="prop:FileDescr
"InfoTip"="prop:FileDescri
[HKEY_CLASSES_ROOT\exefile
@="%1"
[HKEY_CLASSES_ROOT\exefile
[HKEY_CLASSES_ROOT\exefile
"EditFlags"=hex:00,00,00,0
[HKEY_CLASSES_ROOT\exefile
@="\"%1\" %*"
[HKEY_CLASSES_ROOT\exefile
[HKEY_CLASSES_ROOT\exefile
@="\"%1\" %*"
[HKEY_CLASSES_ROOT\exefile
[HKEY_CLASSES_ROOT\exefile
@="{86C86720-42A0-1069-A2E
[HKEY_CLASSES_ROOT\exefile
[HKEY_CLASSES_ROOT\exefile
@="{09A63660-16F9-11d0-B1D
[HKEY_CLASSES_ROOT\exefile
@="{86F19A00-42A0-1069-A2E
[HKEY_CLASSES_ROOT\exefile
@="{513D916F-2A8E-4F51-AEA
Perhaps I should have worded my response a little clearer, and that is my fault. I know it's a reg file, but I don't recognize the entries that it corrects, and I don't feel comfortable making those types of changes. Even if I do a stare and compare and fine it different, it would take an enourmous amount of time for me to figure out what those registry entries correspond to, and I simply don't have the time nor desire to do that.
Try this - it's a quick sript that will export the results...no modifications will happen...
Save as CheckEXE.bat and run it - it'll bring up a report - post that here (or at www.ee-stuff.com)
@echo off
reg query HKCR\.exe > C:\Results.txt
reg query HKCR\.exe\PersistentHandle
reg query HKCR\exefile >> C:\Results.txt
reg query HKCR\exefile\DefaultIcon >> C:\Results.txt
reg query HKCR\exefile\shell >> C:\Results.txt
reg query HKCR\exefile\shell\open >> C:\Results.txt
reg query HKCR\exefile\shell\open\co
reg query HKCR\exefile\shell\runas >> C:\Results.txt
reg query HKCR\exefile\shell\runas\c
reg query HKCR\exefile\shellex >> C:\Results.txt
reg query HKCR\exefile\shellex\DropH
reg query HKCR\exefile\shellex\Prope
reg query HKCR\exefile\shellex\Prope
reg query HKCR\exefile\shellex\Prope
reg query HKCR\exefile\shellex\Prope
start c:\results.txt
Sirbounty, I hope you understood my comment and didn't take it personally, I am just nervous about making any registry changes without knowing exactly what they do. That being said, here are the results. I thank you once again.
HKEY_CLASSES_ROOT\.exe
(Default) REG_SZ exefile
Content Type REG_SZ application/x-msdownload
HKEY_CLASSES_ROOT\.exe\Per
HKEY_CLASSES_ROOT\.exe\Per
(Default) REG_SZ {098f2470-bae0-11cd-b579-0
HKEY_CLASSES_ROOT\exefile
(Default) REG_SZ Application
EditFlags REG_BINARY 38070000
TileInfo REG_SZ prop:FileDescription;Compa
InfoTip REG_SZ prop:FileDescription;Compa
HKEY_CLASSES_ROOT\exefile\
HKEY_CLASSES_ROOT\exefile\
HKEY_CLASSES_ROOT\exefile\
HKEY_CLASSES_ROOT\exefile\
(Default) REG_SZ %1
HKEY_CLASSES_ROOT\exefile\
HKEY_CLASSES_ROOT\exefile\
HKEY_CLASSES_ROOT\exefile\
EditFlags REG_BINARY 00000000
HKEY_CLASSES_ROOT\exefile\
HKEY_CLASSES_ROOT\exefile\
(Default) REG_SZ "%1" %*
HKEY_CLASSES_ROOT\exefile\
HKEY_CLASSES_ROOT\exefile\
(Default) REG_SZ "%1" %*
HKEY_CLASSES_ROOT\exefile\
HKEY_CLASSES_ROOT\exefile\
HKEY_CLASSES_ROOT\exefile\
(Default) REG_SZ {86C86720-42A0-1069-A2E8-0
HKEY_CLASSES_ROOT\exefile\
HKEY_CLASSES_ROOT\exefile\
HKEY_CLASSES_ROOT\exefile\
(Default) REG_SZ {86F19A00-42A0-1069-A2E9-0
Look like you're missing these two...for your open and runas commands...notice the \ on either side in this as opposed to yours...
[HKEY_CLASSES_ROOT\exefile
@="\"%1\" %*"
[HKEY_CLASSES_ROOT\exefile
@="\"%1\" %*"
If you want to try it - or wait till after hours - navigate to those in the registry (Start->Run->Regedit)
and you want to alter the Default value (that's what the @ points to).
I'm 99% certain it wouldn't effect anything (thus I'll leave it up to you to decide on that last 1% :).
Basically this is necessary to encapsulate the path\file of your executables in quotes so that it can take into account the paths/files with spaces in the name.
Can you do
Start->Run->%systemroot%\n
or copy an exe to the root of the drive and run it? That would confirm the above is the problem..
Ok, I have narrowed down the issue a bit further. I can run exe files hosted on the server from my workstation, and another server, so at least that's a win there. However, from another server it is not work. Now, that server is a terminal services server, and it did have a group policy assigned to it. So I temporarily disabled it, and I'm just waiting to see if that makes a difference.
How long does this take, and where can I check the settings? Thanks!!!
Remove IE7 Enhanced Security on these workstations from Add/Remove>Windows Components.
If that's not an option, then do the following:
From the workstations that can't run the files, add the servers to the Trusted Zone - file://server
Then in the Security tab of IE Options, select the Trusted Site checkmark then hit the Custom level...button.
Scroll down to under Miscellaneous for "Launching applications and unsafe files" - set it to Enable.
This should fix you up.
No, I cannot reboot this server, at least right now. I found the issue with the EXE files, but getting back to the original problem...
I have a particular file that users are attempting to access from their desktops. It's an .exe to run a program, and it's located on a Windows Server 2003 server. I've verified the share and the security rights both. I've drilled down to the exe itself, and verified rights there, and they do have the proper rights. Domain admins, domain users, and system all have full rights to the file.
I'm continuing to research this, but I wanted to post this up in case anyone had a suggestion. Thank you guys.
Oh, one other thing I wanted to add, and I'm not sure if this has any bearing on the situation. There was a group policy on the OU that contained the server itself. I had it disabled, but just to be safe I moved the server to another OU that contained all of our servers, and no group policy.
How long do GPs take to refresh, or can I manually kick off the process?
Problem further defined...
I can run the exe from anyone's desktop, but if they attempt to terminal services into a server, and run it from there, they get the "Windows cannot access the specified device, path, or file" error. So, this isn't a rights issue for the user, this seems to be a GP problem now for the particular server they are logging into.
What's my next step?
P.S. Thank you all for expending so much time and effort helping me.
Run GP Modelling on the server.
This is available in Group Policy Management Console. If you haven't installed this, I think it's referred to as Resultant set of policies.
Remember that with loopback settings, this can cause user based settings applying to users ONLY when they log onto a specific server.
Where does this thing come from? Is it auto-installed with IE7? It's been nothing but a pain.
That said, this solution TOTALLY WORKED. I got a ton of accountants crying the blues that they couldn't access tax software from home last night (as if they're working at home! ;-) ), and this fixed the issue in a few clicks.
This was the best $12.95 I ever spent!
Hi sirbounty,
I run this batch file in my system and getting this result.
HKEY_CLASSES_ROOT\.exe
(Default) REG_SZ exefile
Content Type REG_SZ application/x-msdownload
HKEY_CLASSES_ROOT\.exe\Per
HKEY_CLASSES_ROOT\.exe\Per
(Default) REG_SZ {098f2470-bae0-11cd-b579-0
HKEY_CLASSES_ROOT\exefile
(Default) REG_SZ Application
EditFlags REG_BINARY 38070000
TileInfo REG_SZ prop:FileDescription;Compa
InfoTip REG_SZ prop:FileDescription;Compa
default REG_SZ Application
HKEY_CLASSES_ROOT\exefile\
HKEY_CLASSES_ROOT\exefile\
HKEY_CLASSES_ROOT\exefile\
HKEY_CLASSES_ROOT\exefile\
(Default) REG_SZ %1
HKEY_CLASSES_ROOT\exefile\
HKEY_CLASSES_ROOT\exefile\
HKEY_CLASSES_ROOT\exefile\
EditFlags REG_BINARY 00000000
HKEY_CLASSES_ROOT\exefile\
HKEY_CLASSES_ROOT\exefile\
(Default) REG_SZ "%1" %*
HKEY_CLASSES_ROOT\exefile\
HKEY_CLASSES_ROOT\exefile\
(Default) REG_SZ "%1" %*
HKEY_CLASSES_ROOT\exefile\
HKEY_CLASSES_ROOT\exefile\
HKEY_CLASSES_ROOT\exefile\
(Default) REG_SZ {86C86720-42A0-1069-A2E8-0
HKEY_CLASSES_ROOT\exefile\
HKEY_CLASSES_ROOT\exefile\
HKEY_CLASSES_ROOT\exefile\
HKEY_CLASSES_ROOT\exefile\
Resolved this by right clicking on the Exe select properties.
in the General tab look at the bottom of the window and find
Security This file came from another computer and might be blocked to help protect this computer.
Click on Unblock button.
"Do this at your own risk"
My file was safe so i did it and it worked.
Business Accounts
Answer for Membership
by: InteraXPosted on 2007-01-26 at 08:13:05ID: 18405159
Hi tscd,
Are you trying to run this exe from a share? If so, have you checked the share rights? These will set the maximum rights you have to files on that share. Even if you have full control on the file, if the share only allows you read rights, you can't change anything.
Good Luck,
Chris