Wesmosis Posted October 25, 2005 Share Posted October 25, 2005 plz guyzis there any way to hide the restart window with countdown to 0?some friends of mine, called and told me that my uAXPSP2 CD has got a balster worm! of course they are newbies and kinda (Idiots!) then how come a blsater restart your somputer only once and then the windows start normally however, any help in this?this is my reboot.cmd:cmdow @ /HIDshutdown.exe -r -f -t 60 -c "Windows XP will now restart in 60 Seconds..."net user aspnet /deleteEXIT Link to comment Share on other sites More sharing options...
urie Posted October 25, 2005 Share Posted October 25, 2005 cmdow @ /HIDshutdown.exe -r -f -t 0 -c "Windows XP will now restart in 0 Seconds..."net user aspnet /deleteEXIT Link to comment Share on other sites More sharing options...
Sonic Posted October 25, 2005 Share Posted October 25, 2005 you can fake counter by the ping command ...@echo offnet user aspnet /deleteclsecho Reboot in few seconds/minutes ....ping -n 30 127.0.0.1 >NULshutdown.exe -r -f -t 00EXITps: net user before reboot ! Link to comment Share on other sites More sharing options...
Wesmosis Posted October 25, 2005 Author Share Posted October 25, 2005 sorry Sonic, I didn't get ya, what you meant by Ping, fake? Link to comment Share on other sites More sharing options...
Wesmosis Posted November 24, 2005 Author Share Posted November 24, 2005 any help out there? Link to comment Share on other sites More sharing options...
Zxian Posted November 24, 2005 Share Posted November 24, 2005 You can run this instead of the shutdown command. It's just a batch file converted to exe using QBFC with the following command:shutdown.exe -r -f -t 00 What Sonic was saying is that you can use the ping command as a timer, since it will ping once per second for you. Set it to do that for 30 times, and you won't need the Shutdown window to appear.shutdown2.7z Link to comment Share on other sites More sharing options...
prathapml Posted November 24, 2005 Share Posted November 24, 2005 Simplest solution would be, to add a comment in the box.Something like:"Windows XP will now restart in 60 Seconds.This is a scheduled action, by unattended setup, so do not worry." Link to comment Share on other sites More sharing options...
Wesmosis Posted November 24, 2005 Author Share Posted November 24, 2005 @Zaxianthanx dude,I'll give it a shot@Prathamplyeah I added a comment a couple of dayz ago: , take a lookDon't Panic... It's not A Worm, it's just an Routine Mandatory Final Step! Link to comment Share on other sites More sharing options...
keytotime Posted November 24, 2005 Share Posted November 24, 2005 That sounds like a worm to me Link to comment Share on other sites More sharing options...
Wesmosis Posted November 24, 2005 Author Share Posted November 24, 2005 sorry Zxain, you shutdown.exe seems like a trojan to the AVG!!!, what do you think?@Keytotime Link to comment Share on other sites More sharing options...
blinkdt Posted December 4, 2005 Share Posted December 4, 2005 How about an AutoIt script to get the job done?AutoItSetOption("TrayIconHide", 1)AutoItSetOption("WinTitleMatchMode", 4)BlockInput(0)SplashTextOn("", "" & @CRLF & "Installation completed successfully!" & @CRLF & "", 275, 58, -1, -1, 1, "Arial", 12, 12)Sleep(2000)SplashOff()Sleep(1000)SplashTextOn("", "" & @CRLF & "Restarting the machine..." & @CRLF & "", 250, 58, -1, -1, 1, "Arial", 12, 12)Sleep(30000)SplashOff()Sleep(1000)Shutdown(6)You can compile the code (but AVG will likely have a hissy-fit) or run as a raw script [%cdrom%\\AutoIt3.exe %cdrom%\\Programs\\restart.au3]. Link to comment Share on other sites More sharing options...
MHz Posted December 4, 2005 Share Posted December 4, 2005 Another AutoIt script offering:Execute to add registry entries to run script later from HKCU\RunOnce.#NoTrayIconIf StringInStr($cmdlineraw, '/shutdown') Then Sleep(10*1000) For $i = 30 To 1 Step -5 If MsgBox(1+262144, 'Installation is fully complete', 'System Shutdown in ' & $i & ' seconds', 5) = 2 Then Exit Next Shutdown(6) ExitEndIf$key = 'HKCU\Software\Microsoft\Windows\CurrentVersion\RunOnce'If @Compiled Then RegWrite($key, 'SystemShutdown', 'Reg_sz', '"' & @ScriptFullPath & '" /shutdown')Else RegWrite($key, 'SystemShutdown', 'Reg_sz', '"' & @AutoItExe & '" "' & @ScriptFullPath & '" /shutdown')EndIfOr add your own HKCU\RunOnce entries to execute the script.#NoTrayIconSleep(10*1000)For $i = 30 To 1 Step -5 If MsgBox(1+262144, 'Installation is fully complete', 'System Shutdown in ' & $i & ' seconds', 5) = 2 Then ExitNextShutdown(6)ExitI do not compile a single AutoIt script as blinkdt has mentioned about using AutoIt3.exe to run a Au3 script. Link to comment Share on other sites More sharing options...
Tomcat76 Posted December 4, 2005 Share Posted December 4, 2005 (edited) sorry Zxain, you shutdown.exe seems like a trojan to the AVG!!!, what do you think?It's a known issue. Some virus makers used Quick Batch File Compiler to wrap their "applications", and quite a few anti-virus companies blame the wrapper as a result (whether that's because they're too lazy to check better or because they can't check better I'm leaving in the middle). The maker of QBFC doesn't get much response from the anti-virus companies; see this thread on their user forums: http://www.abyssmedia.com/cgi-bin/iconboar...act=ST;f=9;t=35. On October 27th, 2005, Grisoft wrote back saying that they'd remove these checks from the detection rules. Yeah, right...I've been using AVG for more than a year myself, starting from when it was supposedly "the best" free anti-virus out there, and I continued to use it when Avast took over from them. I'm seriously considering going back to Avast (which I used before AVG) because of all these "false positives". Edited December 4, 2005 by Tomcat76 Link to comment Share on other sites More sharing options...
matthewk Posted December 4, 2005 Share Posted December 4, 2005 Off topic, but why share your UA cd with someone who can't understand it? Creating UA cd's is an art Link to comment Share on other sites More sharing options...
Aegis Posted December 4, 2005 Share Posted December 4, 2005 Zxian's file seems like a trojan because it really is a batch file, meaning that it will run a script of some sort. Your AV probably flags any file that runs a script. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now