Cannot Execute Batch File

  • Thread starter Thread starter Denis
  • Start date Start date
D

Denis

Guest
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
 
Re: Cannot Execute Batch File

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
 
Re: Cannot Execute Batch File

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
>
 
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@discussions.microsoft.com> 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
 
Re: Cannot Execute Batch File

Thanks Vera Noest!

This has solved my problem! I worked a lot on this issue. You have made my
day!

Thanks & Regards,
Denis




"Vera Noest [MVP]" wrote:

> 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@discussions.microsoft.com> 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

>
 
Re: Cannot Execute Batch File

Great! I'm glad that your probem is solved, and thanks for letting
us know, Denis!
_________________________________________________________
Vera Noest
MCSE, CCEA, Microsoft MVP - Terminal Server
TS troubleshooting: http://ts.veranoest.net
*----------- Please reply in newsgroup -------------*

=?Utf-8?B?RGVuaXM=?= <Denis@discussions.microsoft.com> wrote on 27
dec 2007:

> Thanks Vera Noest!
>
> This has solved my problem! I worked a lot on this issue. You
> have made my day!
>
> Thanks & Regards,
> Denis
>
>
>
>
> "Vera Noest [MVP]" wrote:
>
>> 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@discussions.microsoft.com> 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
 
Back
Top