Batch script Access denied

October 20, 2010 at 07:24:30
Specs: Windows XP
Hi, i want 2 execute .exe file on client m/c from my server shared folder.

The 1 line script is:

\\192.168.137.10\Scripts\Setup.exe

I tried execute it through startup script, but in event log it shows Time out,after client m/c takes 10 min. of time. When i tried running it manually on client machine,it runs successfully .Then I tried disabling UNC check , by adding disableUNCcheck in registry. When UNC check disabled, it now shows error "Access denied". (I piped output to a text file, these errors r logged into this text file.)

What will b the possible solution to resolve this concern.
Need help


See More: Batch script Access denied

Report •


#1
October 20, 2010 at 09:59:35
Ideally you'd want to use an .msi for an install and set the proper switches to perform the installation without requiring user input.

Without knowing what the program is and what exactly the setup is trying to do, I would assume that the exe is hanging waiting for user input


Report •

#2
October 20, 2010 at 15:28:58
Also, make sure you have network privileges and/or access.

Can I put a question here?


Report •

#3
October 21, 2010 at 05:28:09
Ideally you'd want to use an .msi for an install and set the proper switches to perform the installation without requiring user input.

Without knowing what the program is and what exactly the setup is trying to do, I would assume that the exe is hanging waiting for user input

--------------------------

The exe is nothing but... I created an Software & hardware inventory script in autoIT & compiled it into .exe. Now i want 2 collect inventory on user's machine. So i created 1 .bat file as "\\192.168.137.10\Scripts\Setup.exe" and added 2 startup of GPO.

I tried by converting it into msi, & added 2 GP w/o any switches. When distributed through GP, msi executes successfully (Event viewer), but doesn't create any inventory file (.xls )as i mentioned in that AutoIT Script.

Network credentials r set 2 full 2 everyone.


Report •

Related Solutions

#4
October 21, 2010 at 12:43:29
Can you share with us the AutoIT script? I think you were on the right track in looking at it as a UNC issue.

This may not be possible depending on the structure of the file and what you're doing, but perhaps you can create a bat file that copies your .exe file to a local location on the individual PC and runs it?

This would eliminate any UNC issues with the exe itself while also allowing you to run it with the escalated privileges from the GPO.


Report •


Ask Question