niran 0 Report post Posted January 20, 2007 Hi all, I need a help from any one out here! I need to display one confirmation box using windows startup script! I need to run this script on each and every client system in my LAN! Here is the requirement: The script should ask the user to click yes to continue or no to exit. If the user click yes, that should open Internet Explorer with some site , Say google.com and after filling some forms and after closing the browser, that should bring to regular login screen which says, cntrl alt del to login! If the user directly preses the no button, that should close the confirm box and should go to the regular windows login screen! So here is the sequence: 1. Call the script on Windows booting ( I can do that ) 2. The script Will display one Confirm box with Yes and No button! 3. If the user clicks Yes: i. Open Internet Explorer with google.com ii. When user closes IE, go to step 5 4. If the user presses No, go directly to step: 5 5. Show windows regular login/welcome Screen So, If anybody knows the windows script programming ( I think, VBScript is using for that) please do reply to me! I'm waiting for ur responses! Thanks, Niru Share this post Link to post Share on other sites
CaptainRon 0 Report post Posted January 21, 2007 (edited) Hi.I have a partial solution to your problem. Have a look at this demo script I wrote: set WshShell = WScript.CreateObject("WScript.Shell")retval = WshShell.Popup ("Hi",,"Hello", 4+32)If retval=6 ThenWshShell.Exec("dos.bat")ElseWshShell.Run("%windir%\system32\shutdown -l")End IfHere dos.bat is a batch file and it may have any name. The contents of the batch file is nothing but the start statement with the URL you want to open. Like this:start https://www.google.de/?gfe_rd=cr&ei=BwkjVKfAD8uH8QfckIGgCQ&gws_rd=sslThis would run the default browser and open Google.com in it. Make sure that the batch file is in the same directory as the script file. I used a batch file only for convenience reasons, you may use any alternate method to call the start command.Now what this script fails to do is to logout once the work with the browser is done. I am yet to figure out whether applications can be started modally from a VBS or a batch file. Edited January 21, 2007 by xboxrulz (see edit history) Share this post Link to post Share on other sites
iGuest 3 Report post Posted January 23, 2008 how did you get it to run the script at startup? Help Needed To Create Windows Startup Script! I'm trying to figure out where to put the scripts to run at machine startup and at user login. In xp, I just made some directories in the "group policy" directory. I assume you did something simialer but I can't find it by searching google. Please let me know... -dylan Share this post Link to post Share on other sites
iGuest 3 Report post Posted March 18, 2008 Help needed to run a script every time with the windows startup ?!! Help Needed To Create Windows Startup Script! Hi all, I need help from any one out here! I need to know the methodology for executing a script which is in " .Vbs " format to run every time the windows starts-up. So, If anybody knows the windows script programming for a small script to be run at startup , please do reply to me! I'm waiting for your responses! Thanks, Stallion -question by Stallion Share this post Link to post Share on other sites
iGuest 3 Report post Posted April 25, 2008 re: startup script/s Help Needed To Create Windows Startup Script! http://forums.xisto.com/no_longer_exists/ Share this post Link to post Share on other sites
iGuest 3 Report post Posted November 5, 2009 Help Needed To Create Windows Startup Script!Help Needed To Create Windows Startup Script!I need run an file for an individual user in the system when the user loginAn Question will be asked the user must answer the question then ony user can see the Desktop, Untill user answer the question he coulnt access the system.1. File must be called in Starup2. If user answerd correctly he can acess the system3. Untill user answer correctly he could nt able to acesss the desktopIf you any one had an idea to do please reply in my mail...Thank you...-question by balajee Share this post Link to post Share on other sites
iGuest 3 Report post Posted February 20, 2010 about startup greetingHelp Needed To Create Windows Startup Script!Hi, I want know how to create a startup greeting that will appear on all system on LAN. please help me... -reply by suresh Share this post Link to post Share on other sites
iGuest 3 Report post Posted February 20, 2010 how to make batch files which will Install All Patch automatic from the the update patch folderHelp Needed To Create Windows Startup Script!hi, pls help me out how can I make a bat files which I can installed all the patch automatic I don't know were I am going worring @echo off echo AutoInstalling Windows XP Updates cmd >updatelog.Txt windowsxp-sp3.ExeIe8-setup-in-xp.ExeIE8-WindowsXP-KB971961-x86-ENU.ExeMsxml4-KB954430-enu.ExeMsxml4-KB973688-enu.ExeMsxml4-KB973688-enu_2.ExeSp3-KB953295-X86-Ocm-Enu.ExeNetFx20SP2_x86.ExeRootsupd.ExeWindows-kb890830-v3.4.ExeWindows-kb890830-v3.4_2.ExeWindows-KB909520-v1.000-x86-ENU.ExeWindows6.0-KB974469-x86.MsuWindowsMedia11-KB954154-x86-ENU.ExeWindowsServer2003.WindowsXP-KB950760-x64-ENU.ExeWindowsServer2003.WindowsXP-KB971468-x64-ENU.ExeWindowsXP-KB823980-x86-ENU.ExeWindowsXP-KB823980-x86-ENU_2.ExeWindowsXP-KB905474-ENU-x86.ExeWindowsXP-KB923561-x86-ENU.ExeWindowsXP-KB923789-x86-ENU.ExeWindowsXP-KB946648-x86-ENU.ExeWindowsXP-KB950760-x86-ENU.ExeWindowsXP-KB950762-x86-ENU.ExeWindowsXP-KB950974-x86-ENU.ExeWindowsXP-KB951376-v2-x86-ENU.ExeWindowsXP-KB951748-x86-ENU.ExeWindowsXP-KB951978-x86-ENU.ExeWindowsXP-KB952004-x86-ENU.ExeWindowsXP-KB952287-x86-ENU.ExeWindowsXP-KB952954-x86-ENU.ExeWindowsXP-KB954459-x86-ENU.ExeWindowsXP-KB955069-x86-ENU.ExeWindowsXP-KB955759-x86-ENU.ExeWindowsXP-KB956572-x86-ENU.ExeWindowsXP-KB956744-x86-ENU.ExeWindowsXP-KB956802-x86-ENU.ExeWindowsXP-KB956803-x86-ENU.ExeWindowsXP-KB956844-x86-ENU.ExeWindowsXP-KB958644-x86-ENU.ExeWindowsXP-KB959426-x86-ENU.ExeWindowsXP-KB960225-x86-ENU.ExeWindowsXP-KB960803-x86-ENU.ExeWindowsXP-KB960859-x86-ENU.ExeWindowsXP-KB961118-x86-ENU.ExeWindowsXP-KB961501-x86-ENU.ExeWindowsXP-KB967715-x86-ENU.ExeWindowsXP-KB968389-x86-ENU.ExeWindowsXP-KB969059-x86-ENU.ExeWindowsXP-KB969947-x86-ENU.ExeWindowsXP-KB970238-x86-ENU.ExeWindowsXP-KB970430-x86-ENU.ExeWindowsXP-KB971486-x86-ENU.ExeWindowsXP-KB971513-x86-ENU.ExeWindowsXP-KB971657-x86-ENU.ExeWindowsXP-KB971961-JS57-x86-ENU.ExeWindowsXP-KB973354-x86-ENU.ExeWindowsXP-KB973525-x86-ENU.ExeWindowsXP-KB973525-x86-ENU_2.ExeWindowsXP-KB973525-x86-ENU_3.ExeWindowsXP-KB973525-x86-ENU_4.ExeWindowsXP-KB973525-x86-ENU_5.ExeWindowsXP-KB973815-x86-ENU.ExeWindowsXP-KB973869-x86-ENU.ExeWindowsXP-KB973904-x86-ENU.ExeWindowsXP-KB973904-x86-ENU_2.ExeWindowsXP-KB974112-x86-ENU.ExeWindowsXP-KB974318-x86-ENU.ExeWindowsXP-KB974571-x86-ENU.ExeWindowsXP-KB975025-x86-ENU.ExeWindowsXP-KB976098-v2-x86-ENU.ExeWindowsXP-KB978207-x86-ENU.ExeWindowsXP-WindowsMedia-KB952069-v2-x86-ENU.ExeWindowsXP-WindowsMedia-KB973540-x86-ENU.ExeWindowsXP-KB923789-x86-ENU.Exe pls hel me out -reply by Prakash Rao Share this post Link to post Share on other sites