Re: Cannot Execute Batch File



Sounds like IEES.
Check if this helps:

When users start a program, they get a "file download" dialog box,
or an error message: "Windows cannot access the specified device,
path, or file. You may not have the appropriate permissions to
access the item."
http://ts.veranoest.net/ts_faq_user_issues.htm#IEESconfig

_________________________________________________________
Vera Noest
MCSE, CCEA, Microsoft MVP - Terminal Server
TS troubleshooting: http://ts.veranoest.net
___ please respond in newsgroup, NOT by private email ___

=?Utf-8?B?RGVuaXM=?= <Denis@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote on 26
dec 2007 in microsoft.public.windows.terminal_services:

Thanks Hank for your valued reply.

I have given full permissions for the shortcut. Also, I have
created the shortcut only after mapping the network drive.

The error says that I do not have permissions to execute this
file. At the same time I cannot even open it in notepad. I am
able to open other files in the same folder with same
permissions.

Thanks in Advance,

Regards,
Denis



"Hank Arnold (MVP)" wrote:

Denis wrote:
Hello,

We have newly installed a Terminal Server. Our users will
log on to this terminal server to use various applications.
One of our application starts with a Batch file, that is
shared on a different Server. We have given every user a
shortcut in their profile.

Now when the users log on to the server, they are not able to
access this batch file. I have checked and all the rights
and permissions are their. Even I can access other files.
But, I cannot access only batch files.

Kindly let me know if there is any solution.

Thanks in Advance.

Regards,
Denis Dudhia

What is the format of the shortcut? What are the permissions
for the shortcut?

Maybe you should assign a mapped network drive to the folder
with the batch file in it. Then create the shortcut...

--

Regards,
Hank Arnold
Microsoft MVP
Windows Server - Directory Services
.



Relevant Pages

  • Re: Cannot Execute Batch File
    ... I have given full permissions for the shortcut. ... The error says that I do not have permissions to execute this file. ... We have newly installed a Terminal Server. ... with a Batch file, that is shared on a different Server. ...
    (microsoft.public.windows.terminal_services)
  • Re: Cannot Execute Batch File
    ... MCSE, CCEA, Microsoft MVP - Terminal Server ... I have given full permissions for the shortcut. ... One of our application starts with a Batch file, ...
    (microsoft.public.windows.terminal_services)
  • Re: Cannot Execute Batch File
    ... MCSE, CCEA, Microsoft MVP - Terminal Server ... I have given full permissions for the shortcut. ...
    (microsoft.public.windows.terminal_services)
  • Re: security only works on my PC
    ... shortcut successfully on my PC. ... Just open Windows Explorer and double click the 'secure' mdb. ... I opened the workgroup administrator ... I'm not sure about changing the permissions. ...
    (microsoft.public.access.security)
  • Re: Desktop shortcuts dont work
    ... I don't see anything that strikes me from a security perspective. ... Since the permissions on the redirected Desktop folder seem OK, have you run that tool to check the context menu handlers? ... The other diagnostic tool you could try is filemon - start monitoring, try to access the shortcut, and see what it logs when it fails. ... The shortcut has grayed out Full Control given to Administrator and to System. ...
    (microsoft.public.windows.server.sbs)

Loading