• Annoying security warning (XP)

    • This topic has 3 replies, 3 voices, and was last updated 18 years ago.
    Author
    Topic
    #442112

    I use a simple technique to download the latest version of an Access database from the server to the user’s local disk. I put a shortcut to a .bat file (that sits on the server) in the user’s Startup folder that does the actual copy.

    I’ve used this often, but with a user at a new site, she gets a Windows warning every time asking her if she wants to “Run or Cancel”. Is there a setting somewhere that essentially says “Hey, we’ve already done this before, Run it!”.

    Viewing 0 reply threads
    Author
    Replies
    • #1063523

      Put a bat file to any folder of your choice and modify Registry adding a key to execute your bat file every time computer starts.
      Example of corresponding reg file:

      ————————————————————————————————————-
      Windows Registry Editor Version 5.00

      [HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionRun]
      “DownloadAccessDatabase”=”C:tempupdate1.bat”

      —————————————————————————————————————

      Or, when specific user logs on:

      —————————————————————————————————————
      Windows Registry Editor Version 5.00

      [HKEY_CURRENT_USERSOFTWAREMicrosoftWindowsCurrentVersionRun]
      “DownloadAccessDatabase”=”C:tempupdate1.bat”

      —————————————————————————————————————

      • #1063529

        But if the .bat file is sitting on the server, will this generate the same warning message?

        • #1063542

          Mark,

          Using PSexec you could copy the .bat to the local drive of every PC on your network…then there’s no message. grin

    Viewing 0 reply threads
    Reply To: Annoying security warning (XP)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: