Tech Support Forum banner
Status
Not open for further replies.
1 - 4 of 4 Posts

· Registered
Joined
·
59 Posts
Discussion Starter · #1 ·
HI

I have a bat file that is copied to users profile temp directory whic I remotely execute to gather support diagnostic info

On some machines it does not launch. I remoted onto same machine and tried to launch manually but still would not launch and i seen error

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

I copied the bat to the user desktop and it ran just fine.

Its the same antivirus on each machine and I cant see why it would work on some and not others.

There are no restrictions on running bat files

It seems to not want to run from the users c:\users\%username%\appdata\local\temp directory.

I cant figure out why.
 

· Premium Member
Joined
·
7,763 Posts
Hi, might help if we could see the .bat file, also check on the errant machines the environment variable for temp files, to do this open a cmd prompt as admin and type:- set (press enter)
 

· Premium Member
Joined
·
5,172 Posts
Perhaps you could right click the .bat file and select Run As Administrator
 

· Team Manager - Networking , Moderator - Micros
Joined
·
4,594 Posts
^ What DJ said. Are your users Standard users (non-Admins). I believe batch files need elevated permission to run, which is definitely a good thing.
 
1 - 4 of 4 Posts
Status
Not open for further replies.
Top