Results 1 to 6 of 6

Thread: How to bypass the open file security warning in vb script

  1. #1
    Join Date
    Jun 2011
    Posts
    449

    How to bypass the open file security warning in vb script

    I had written few vb script and I’m trying to run the batch file and whenever I try access the file the user is asked to open that script but I don’t what this to be happen. I wanted those script to be install in the pc without getting interacted with the user after the user had accept the terms and condition and I’m using the script in the network driver from where every user can access it. Please suggest me to how to do that. Thanks in advanced.

  2. #2
    Join Date
    May 2009
    Posts
    527

    Re: How to bypass the open file security warning in vb script

    You must put that batch file in the startup folder. And you will for sure going to get the message if there is any changes made with the registry. You can make a use of batch file which wont restart the pc as if usually does after installing the software for complete installation.
    Here is the sample of the batch file
    Code:
    "@echo off 
    \\server\share\adlogon_user.vbs /quiet /passive /norestart
    exit"

  3. #3
    Join Date
    Apr 2009
    Posts
    488

    Re: How to bypass the open file security warning in vb script

    Warning usually comes from the firewall if the file affects the system anyone for that you can check in the task manager to find this out. You need to throw the exception for the antivirus program for the machine that will going to execute the program. Just check the warning is it a generic windows security warning. Well I don’t know how to open this in the batch file. You can try for the pop up option for the user interaction.

  4. #4
    Join Date
    May 2009
    Posts
    539

    Re: How to bypass the open file security warning in vb script

    You might need some additional code in the batch file that will going to press the open button automatically. You must search for the sample code on the net and it will really going to help you a lot and even save your money to get that script run and I’m sure you will going to get the free program for that. And for opening that you need to hit the left arrow key and then hit the enter key as cancel button is by default.

  5. #5
    Join Date
    Mar 2010
    Posts
    154

    Re: How to bypass the open file security warning in vb script

    You can use the auto hot key which is available for free and it will surely going to do the task whatever you want. You can even make a use of quick start tutorial to know the basic things for it and you should make a use of run command so that your vb script start and for the open button you can make a use of win wait command which will wait for the dialog box to get open. After doing all that you must send commands that will be going to press the open button.

  6. #6
    Join Date
    Jun 2011
    Posts
    449

    Re: How to bypass the open file security warning in vb script

    Well that autohotkey program really work now I can open the file automatically. And for open the vb script I had make a use of run and from there I had given the full path which if adlogon_user.vbs name of my vb script for that I need to plug-in in the full path . I mean when I’m run the particular portion it usually open the script but it prompt me the warning dialog with two option for opening and closing but I want the script to select the option.

Similar Threads

  1. Replies: 14
    Last Post: 21-12-2011, 04:31 PM
  2. Replies: 2
    Last Post: 12-11-2009, 06:38 AM
  3. Windows XP open file Security Warning Problem
    By Guns-n-Roses in forum Operating Systems
    Replies: 3
    Last Post: 01-07-2009, 10:26 AM
  4. Stop Open File Security Warning on Windows XP
    By rasena in forum Windows Security
    Replies: 2
    Last Post: 13-04-2009, 11:33 AM
  5. Replies: 2
    Last Post: 22-12-2005, 10:11 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,515,612.62344 seconds with 17 queries