Follow via:
RSS
Email Alert
Question
0 Votes
+ -

Inhouse developed .bat files require validation because unsigned

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.
21st Jun 2008

Answers (2)

0 Votes
+ -
Follow up, this also is being launched from a network drive
Which I seem to have the same problem with with other bat files.

Dan
21st Jun 2008
0 Votes
+ -
No need
to apologise Dan I think that I can understand what you are on about. wink

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.
21st Jun 2008

Replies

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.
scank 21st Jun 2008
Thank you

Dan
DanLM 23rd Jun 2008
Answer the question
Formatting +
BB Codes - Note: HTML is not supported in forums
  • [b] Bold [/b]
  • [i] Italic [/i]
  • [u] Underline [/u]
  • [s] Strikethrough [/s]
  • [q] "Quote" [/q]
  • [ol][*] 1. Ordered List [/ol]
  • [ul][*] · Unordered List [/ul]
  • [pre] Preformat [/pre]
  • [quote] "Blockquote" [/quote]

Join the TechRepublic Community and join the conversation! Signing-up is free and quick, Do it now, we want to hear your opinion.