For most of my programs that connect to the internet I actually run a batch script (yes yes, batch scripts are bad, fine. My whole computer is held together by batch files and blue tac!) that first updates my virus scanner and ensures my firewall is on and uptodate. I also run a VBScript to ensure that this batch script runs in the background, so I don't have a command prompt screen pop up everytime I run a progam.
This works perfectly with all of the browsers I use, except Google Chrome.
The shortcut for the browsers is: -
- C:\WINDOWS\system32\wscript.exe "C:\Documents and Settings\Admin\My Documents\BatchFiles\invisible.vbs" "C:\Documents and Settings\Admin\My Documents\BatchFiles\googlechrome.bat"
- C:\WINDOWS\system32\wscript.exe "C:\Documents and Settings\Admin\My Documents\BatchFiles\invisible.vbs" "C:\Documents and Settings\Admin\My Documents\BatchFiles\ie.bat"
- C:\WINDOWS\system32\wscript.exe "C:\Documents and Settings\Admin\My Documents\BatchFiles\invisible.vbs" "C:\Documents and Settings\Admin\My Documents\BatchFiles\Mozilla Firefox.bat"
- C:\WINDOWS\system32\wscript.exe "C:\Documents and Settings\Admin\My Documents\BatchFiles\invisible.vbs" "C:\Documents and Settings\Admin\My Documents\BatchFiles\opera.bat"
- C:\WINDOWS\system32\wscript.exe "C:\Documents and Settings\Admin\My Documents\BatchFiles\invisible.vbs" "C:\Documents and Settings\Admin\My Documents\BatchFiles\safari.bat"
Which basically opens up my little VBScript -
Which in turn opens up the batch file specified in the desktop shortcut, so for Chrome that would be -Code:CreateObject("Wscript.Shell").Run """" & WScript.Arguments(0) & """", 0, False
The problem is, Google Chrome fairly regularly decides to change this shortcut to: -Code:ECHO OFF cls start "Update" "C:\Documents and Settings\Admin\My Documents\BatchFiles\Updater.bat" ping 1.1.1.1 -n 1 -w 2000 > nul :repeat Tasklist | Find /i "cmd.exe" IF "%ERRORLEVEL%" == "0" ( goto continue ) Else ( goto repeat ) :continue start "browser" "C:\Documents and Settings\Admin\Local Settings\Application Data\Google\Chrome\Application\chrome.exe"
- C:\Documents and Settings\Admin\Local Settings\Application Data\Google\Chrome\Application\chrome.exe "C:\Documents and Settings\Admin\My Documents\BatchFiles\googlechrome.bat"
Which instead of running my batch file and allowing that to manage the program, it opens Chrome then asks if I want to download "C:\Documents and Settings\Admin\My Documents\BatchFiles\googlechrome.bat".
None of my other browsers do this, so I was wondering if it was a security "feature". And if so, can I turn it off?


LinkBack URL
About LinkBacks



Reply With Quote