Home > Microsoft Windows 2003 R2 Issues. > Windows cannot access the specified device, path, or file

Windows cannot access the specified device, path, or file

Windows cannot access the specified device, path, or file

Best Networks Inc. 

http://www.BestNetworks.NET

Cesar Lopez

I had issues with a Windows Server 2003 R2 running in Terminal Server Mode and accessing an executable from another windows 2003 R2 Server.

Same configuration is currently running in another Windows 200 Terminal Server – So the issue must be some type of restriction imposed by Windows 2003 R2.  Here are the details of the problem / solving steps.

Configuration

  • Drive is mapped as follows G: = \\servername\vol1.  Users have Read and Execute access to the folder and file at G\Program\Name.exe

Problem

  • Program was installed in terminal server mode as always: User /installed and user /execute
  • Created a shortcut in the desktop- within a Terminal Server Virtual Session
  • As we tried to execute the shortcut I get the following error:

Windows cannot access the specified device, path, or file.  You may not have the appropriate permissions to access the item

 

 

 

I have found the solution is a two step process:

  1. We need to make changes to the Internet Explorer
  2. And, we also need to make changes to the Group Policies as follows.

First, in the Internet Explorer, we need to trust the File Server as it is part of the Intranet – the executable file sits in another local server.

Open Internet Explorer and go to: Tools, Internet Options, Security and Local Intranet

Select Sites and add the name of the other File Server as follows //ServerName to the list.  Note that if you go back and check the server was added to the list you will notice the “//” are now gone.

Second, with this change we have passed the first error.  However, an Open File – Security Warning is now present.

 “The publisher could not be verified.  Are you sure you want to run this software?

You get this warning if you execute the program using the UNC path or a mapped drive.

Open Start, Run and type gpedit.msc, Click OK

  • User Configuration
  • Administrative Templates
  • Windows Components
  • Attachment Manager
    • Add .exe to the Inclusion list for moderate risk file types setting. You can also add other extensions if needed.

 

This will disable the “Publisher Could Not Be Verified,” messages from appearing for the specified file type.

Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: