vb script returning Open File-Security Warning

Home Forums Scripting General Scripting vb script returning Open File-Security Warning

Viewing 1 post (of 1 total)
  • Author
    Posts
  • Avatar
    entadm
    Member
    #125984

    Hi

    these are extracts from batch file we are using for users.

    @echo off
    net time \192.168.0.1 /SET /Y
    copy \192.168.0.2scripts$con2prt.exe c:windowssystem32 /y
    con2prt /cd \192.168.0.15HPShared1
    \192.168.0.2scripts$hardening.vbe

    the script runs fine, but when it comes to \192.168.0.2scripts$hardening.vbe, it opens Open File-Security Warning asking for whether to allow script to run or not.

    I want users should not get this prompt & script should run.

    Thanks

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.