Question

Locked

Inhouse developed .bat files require validation because unsigned

By DanLM ·
I have developed a vbscript that I wish to launch from windows scheduler... This launch's ok, but 1 of the things this script does is create another .bat file which is also launched.
Specs:
windows scheduler launche's the vbscript.
vbscript builds a command txt file for psftp which is then launched in a bat file that is built by the vbscript.
- Depending on the requirements as specified in a control file for the vbscript, this new bat file can have different flags set.

The windows scheduler launch's the vbscript bat ok, but when the script itself trys to launch the new bat file. I get unsigned program trying to execute. I click accept, and it runs ok.

This is a WindowsXP machine with no special rights. I don't want this machine to have special privatizes.

Ok:
The questions are as follows.
I can make it so that the new bat file is always present, just the contents will change. It still ask's me for the verification though. Is there a way I can stop this popup?

Dan

I know I did a crap job of describing this, and I apologize.

This conversation is currently closed to new comments.

5 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Collapse -

Follow up, this also is being launched from a network drive

by DanLM In reply to Inhouse developed .bat fi ...

Which I seem to have the same problem with with other bat files.

Dan

Collapse -

No need

by Jacky Howe In reply to Inhouse developed .bat fi ...

to apologise Dan I think that I can understand what you are on about.

If the user is a non administrator that is probably why you get this popup message.

If the file is going to keep the same name you could try setting the Security on it for the User you are logging on as to have Full Control over it.

I haven't tried this as I normally use an Admin account to run Tasks through TaskSheduler.

Collapse -

run off network share eh

by scank In reply to No need

is the share trusted to run executeables?

easiest way to add trust on local machine is in iexplore..
TOOLS>internet options
then on security tab click local intranet, then sites then advanced then add your share in there.

Collapse -

That is exactly what it was scank

by DanLM In reply to run off network share eh

Thank you

Dan

Back to Software Forum
5 total posts (Page 1 of 1)  

Software Forums