Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Windows › How can I get MSE to auto update?
New Posts  All Forums:Forum Nav:

How can I get MSE to auto update? - Page 2

post #11 of 25
Whoops.

The start command works a little bit differently. Try changing that to:

start "" "C:\Program Files\Microsoft Security Client\MpCmdRun.exe" -SignatureUpdate

The empty quotes "" indicate what you want the cmd window title to be. The @echo off should prevent the window from coming up at all though, that's strange. If it still comes up, try: right clicking the bat file, and setting it to run as minimized. You'll still see it pop up in the taskbar for a second, hope that doesn't bother you smile.gif
Edited by Stealth Pyros - 10/25/12 at 12:34pm
Gaming Rig
(20 items)
 
  
CPUMotherboardGraphicsRAM
Intel 2500k, 4.6GHz, 1.304v ASRock P67 Extreme4 Gen3 2x Sapphire HD7970 OC with Boost, 1150 MHz/1550... 2x4GB DDR3 1600 Corsair Vengeance 
Hard DriveHard DriveHard DriveOptical Drive
Samsung 840 Pro Samsung 750GB HD753LJ Samsung F3 ASUS 24X DVD Combo Drive 
CoolingOSMonitorKeyboard
Noctua DH14 Windows 8 Professional x64 Crossover 27Q 27" IPS LED, 2560x1440 Logitech G11 
PowerCaseMouseMouse Pad
Corsair TX750 Cooler Master HAF932 Logitech G500 Custom 
AudioAudioAudioAudio
Creative X-Fi Titanium Fatal1ty 2x Dayton B652 Bookshelf Dayton DTA-100A Amplifier Dayton 12" SUB-1200 Subwoofer 
  hide details  
Reply
Gaming Rig
(20 items)
 
  
CPUMotherboardGraphicsRAM
Intel 2500k, 4.6GHz, 1.304v ASRock P67 Extreme4 Gen3 2x Sapphire HD7970 OC with Boost, 1150 MHz/1550... 2x4GB DDR3 1600 Corsair Vengeance 
Hard DriveHard DriveHard DriveOptical Drive
Samsung 840 Pro Samsung 750GB HD753LJ Samsung F3 ASUS 24X DVD Combo Drive 
CoolingOSMonitorKeyboard
Noctua DH14 Windows 8 Professional x64 Crossover 27Q 27" IPS LED, 2560x1440 Logitech G11 
PowerCaseMouseMouse Pad
Corsair TX750 Cooler Master HAF932 Logitech G500 Custom 
AudioAudioAudioAudio
Creative X-Fi Titanium Fatal1ty 2x Dayton B652 Bookshelf Dayton DTA-100A Amplifier Dayton 12" SUB-1200 Subwoofer 
  hide details  
Reply
post #12 of 25
doh.gif It's C:\Program Files\Microsoft Security Client. Not Security Essentials.
Gaming Rig
(20 items)
 
  
CPUMotherboardGraphicsRAM
Intel 2500k, 4.6GHz, 1.304v ASRock P67 Extreme4 Gen3 2x Sapphire HD7970 OC with Boost, 1150 MHz/1550... 2x4GB DDR3 1600 Corsair Vengeance 
Hard DriveHard DriveHard DriveOptical Drive
Samsung 840 Pro Samsung 750GB HD753LJ Samsung F3 ASUS 24X DVD Combo Drive 
CoolingOSMonitorKeyboard
Noctua DH14 Windows 8 Professional x64 Crossover 27Q 27" IPS LED, 2560x1440 Logitech G11 
PowerCaseMouseMouse Pad
Corsair TX750 Cooler Master HAF932 Logitech G500 Custom 
AudioAudioAudioAudio
Creative X-Fi Titanium Fatal1ty 2x Dayton B652 Bookshelf Dayton DTA-100A Amplifier Dayton 12" SUB-1200 Subwoofer 
  hide details  
Reply
Gaming Rig
(20 items)
 
  
CPUMotherboardGraphicsRAM
Intel 2500k, 4.6GHz, 1.304v ASRock P67 Extreme4 Gen3 2x Sapphire HD7970 OC with Boost, 1150 MHz/1550... 2x4GB DDR3 1600 Corsair Vengeance 
Hard DriveHard DriveHard DriveOptical Drive
Samsung 840 Pro Samsung 750GB HD753LJ Samsung F3 ASUS 24X DVD Combo Drive 
CoolingOSMonitorKeyboard
Noctua DH14 Windows 8 Professional x64 Crossover 27Q 27" IPS LED, 2560x1440 Logitech G11 
PowerCaseMouseMouse Pad
Corsair TX750 Cooler Master HAF932 Logitech G500 Custom 
AudioAudioAudioAudio
Creative X-Fi Titanium Fatal1ty 2x Dayton B652 Bookshelf Dayton DTA-100A Amplifier Dayton 12" SUB-1200 Subwoofer 
  hide details  
Reply
post #13 of 25
Thread Starter 
Quote:
Originally Posted by Stealth Pyros View Post

Whoops.
The start command works a little bit differently. Try changing that to:
start "" "C:\Program Files\Microsoft Security Essentials\MpCmdRun.exe" -SignatureUpdate
The empty quotes "" indicate what you want the cmd window title to be. The @echo off should prevent the window from coming up at all though, that's strange. If it still comes up, try: right clicking the bat file, and setting it to run as minimized. You'll still see it pop up in the taskbar for a second, hope that doesn't bother you smile.gif

No dice frown.gif. Here's what's in the .bat now, and what I see. I think I remember reading that the cmd prompt can't deal with spaces, so do I have to put "" between every place that has spaces? Like between Program Files?
Edited by venomblade - 10/25/12 at 12:28pm
post #14 of 25
Lol actually the true way to make the cmd window invisible takes a little work.

Throw this into a text file
CreateObject("Wscript.Shell").Run """" & WScript.Arguments(0) & """", 0, False
Save it as "whatever.vbs"

Make another batch file that runs the invisible VBS file and the previous MSE batch file you made:
(In text file, save as MSEInvisible.bat, changing directories below to wherever you saved the other 2 files)

wscript.exe "C:\Wherever\whatever.vbs" "C:\Wherever\MSEUpdate.bat"

I THINK that'll nail it... then you just set Task Scheduler to run this (2nd) batch file that runs the invisible VBS file + the MSEUpdate batch file. I think the only issue with doing it this way is that it's going to "hide" the MpCmdRun.exe process, so you won't see it in task manager.
Quote:
Originally Posted by Stealth Pyros View Post

doh.gif It's C:\Program Files\Microsoft Security Client. Not Security Essentials. My mistake...

Edited by Stealth Pyros - 10/25/12 at 12:38pm
Gaming Rig
(20 items)
 
  
CPUMotherboardGraphicsRAM
Intel 2500k, 4.6GHz, 1.304v ASRock P67 Extreme4 Gen3 2x Sapphire HD7970 OC with Boost, 1150 MHz/1550... 2x4GB DDR3 1600 Corsair Vengeance 
Hard DriveHard DriveHard DriveOptical Drive
Samsung 840 Pro Samsung 750GB HD753LJ Samsung F3 ASUS 24X DVD Combo Drive 
CoolingOSMonitorKeyboard
Noctua DH14 Windows 8 Professional x64 Crossover 27Q 27" IPS LED, 2560x1440 Logitech G11 
PowerCaseMouseMouse Pad
Corsair TX750 Cooler Master HAF932 Logitech G500 Custom 
AudioAudioAudioAudio
Creative X-Fi Titanium Fatal1ty 2x Dayton B652 Bookshelf Dayton DTA-100A Amplifier Dayton 12" SUB-1200 Subwoofer 
  hide details  
Reply
Gaming Rig
(20 items)
 
  
CPUMotherboardGraphicsRAM
Intel 2500k, 4.6GHz, 1.304v ASRock P67 Extreme4 Gen3 2x Sapphire HD7970 OC with Boost, 1150 MHz/1550... 2x4GB DDR3 1600 Corsair Vengeance 
Hard DriveHard DriveHard DriveOptical Drive
Samsung 840 Pro Samsung 750GB HD753LJ Samsung F3 ASUS 24X DVD Combo Drive 
CoolingOSMonitorKeyboard
Noctua DH14 Windows 8 Professional x64 Crossover 27Q 27" IPS LED, 2560x1440 Logitech G11 
PowerCaseMouseMouse Pad
Corsair TX750 Cooler Master HAF932 Logitech G500 Custom 
AudioAudioAudioAudio
Creative X-Fi Titanium Fatal1ty 2x Dayton B652 Bookshelf Dayton DTA-100A Amplifier Dayton 12" SUB-1200 Subwoofer 
  hide details  
Reply
post #15 of 25
Quote:
Originally Posted by venomblade View Post

Quote:
Originally Posted by Stealth Pyros View Post

Whoops.
The start command works a little bit differently. Try changing that to:
start "" "C:\Program Files\Microsoft Security Essentials\MpCmdRun.exe" -SignatureUpdate
The empty quotes "" indicate what you want the cmd window title to be. The @echo off should prevent the window from coming up at all though, that's strange. If it still comes up, try: right clicking the bat file, and setting it to run as minimized. You'll still see it pop up in the taskbar for a second, hope that doesn't bother you smile.gif

No dice frown.gif. Here's what's in the .bat now, and what I see. I think I remember reading that the cmd prompt can't deal with spaces, so do I have to put "" between every place that has spaces? Like between Program Files?

Nah if you place the entire path in " " it should read the spaces.
Gaming Rig
(20 items)
 
  
CPUMotherboardGraphicsRAM
Intel 2500k, 4.6GHz, 1.304v ASRock P67 Extreme4 Gen3 2x Sapphire HD7970 OC with Boost, 1150 MHz/1550... 2x4GB DDR3 1600 Corsair Vengeance 
Hard DriveHard DriveHard DriveOptical Drive
Samsung 840 Pro Samsung 750GB HD753LJ Samsung F3 ASUS 24X DVD Combo Drive 
CoolingOSMonitorKeyboard
Noctua DH14 Windows 8 Professional x64 Crossover 27Q 27" IPS LED, 2560x1440 Logitech G11 
PowerCaseMouseMouse Pad
Corsair TX750 Cooler Master HAF932 Logitech G500 Custom 
AudioAudioAudioAudio
Creative X-Fi Titanium Fatal1ty 2x Dayton B652 Bookshelf Dayton DTA-100A Amplifier Dayton 12" SUB-1200 Subwoofer 
  hide details  
Reply
Gaming Rig
(20 items)
 
  
CPUMotherboardGraphicsRAM
Intel 2500k, 4.6GHz, 1.304v ASRock P67 Extreme4 Gen3 2x Sapphire HD7970 OC with Boost, 1150 MHz/1550... 2x4GB DDR3 1600 Corsair Vengeance 
Hard DriveHard DriveHard DriveOptical Drive
Samsung 840 Pro Samsung 750GB HD753LJ Samsung F3 ASUS 24X DVD Combo Drive 
CoolingOSMonitorKeyboard
Noctua DH14 Windows 8 Professional x64 Crossover 27Q 27" IPS LED, 2560x1440 Logitech G11 
PowerCaseMouseMouse Pad
Corsair TX750 Cooler Master HAF932 Logitech G500 Custom 
AudioAudioAudioAudio
Creative X-Fi Titanium Fatal1ty 2x Dayton B652 Bookshelf Dayton DTA-100A Amplifier Dayton 12" SUB-1200 Subwoofer 
  hide details  
Reply
post #16 of 25
Any luck with it? I've gotten mine to the point where the CMD window flashes in and out very quickly.
Gaming Rig
(20 items)
 
  
CPUMotherboardGraphicsRAM
Intel 2500k, 4.6GHz, 1.304v ASRock P67 Extreme4 Gen3 2x Sapphire HD7970 OC with Boost, 1150 MHz/1550... 2x4GB DDR3 1600 Corsair Vengeance 
Hard DriveHard DriveHard DriveOptical Drive
Samsung 840 Pro Samsung 750GB HD753LJ Samsung F3 ASUS 24X DVD Combo Drive 
CoolingOSMonitorKeyboard
Noctua DH14 Windows 8 Professional x64 Crossover 27Q 27" IPS LED, 2560x1440 Logitech G11 
PowerCaseMouseMouse Pad
Corsair TX750 Cooler Master HAF932 Logitech G500 Custom 
AudioAudioAudioAudio
Creative X-Fi Titanium Fatal1ty 2x Dayton B652 Bookshelf Dayton DTA-100A Amplifier Dayton 12" SUB-1200 Subwoofer 
  hide details  
Reply
Gaming Rig
(20 items)
 
  
CPUMotherboardGraphicsRAM
Intel 2500k, 4.6GHz, 1.304v ASRock P67 Extreme4 Gen3 2x Sapphire HD7970 OC with Boost, 1150 MHz/1550... 2x4GB DDR3 1600 Corsair Vengeance 
Hard DriveHard DriveHard DriveOptical Drive
Samsung 840 Pro Samsung 750GB HD753LJ Samsung F3 ASUS 24X DVD Combo Drive 
CoolingOSMonitorKeyboard
Noctua DH14 Windows 8 Professional x64 Crossover 27Q 27" IPS LED, 2560x1440 Logitech G11 
PowerCaseMouseMouse Pad
Corsair TX750 Cooler Master HAF932 Logitech G500 Custom 
AudioAudioAudioAudio
Creative X-Fi Titanium Fatal1ty 2x Dayton B652 Bookshelf Dayton DTA-100A Amplifier Dayton 12" SUB-1200 Subwoofer 
  hide details  
Reply
post #17 of 25
Thread Starter 
Quote:
Originally Posted by Stealth Pyros View Post

Lol actually the true way to make the cmd window invisible takes a little work.
Throw this into a text file
CreateObject("Wscript.Shell").Run """" & WScript.Arguments(0) & """", 0, False
Save it as "whatever.vbs"
Make another batch file that runs the invisible VBS file and the previous MSE batch file you made:
(In text file, save as MSEInvisible.bat, changing directories below to wherever you saved the other 2 files)
wscript.exe "C:\Wherever\whatever.vbs" "C:\Wherever\MSEUpdate.bat"
I THINK that'll nail it... then you just set Task Scheduler to run this (2nd) batch file that runs the invisible VBS file + the MSEUpdate batch file. I think the only issue with doing it this way is that it's going to "hide" the MpCmdRun.exe process, so you won't see it in task manager.

Alright, here's everything. I think I did it right according to your instructions. I get a new error now
Quote:
Originally Posted by Stealth Pyros View Post

Any luck with it? I've gotten mine to the point where the CMD window flashes in and out very quickly.

The picture I posted above is what it says when it flashes too quickly to see.
Edited by venomblade - 10/25/12 at 12:52pm
post #18 of 25
Quote:
Originally Posted by venomblade View Post

Quote:
Originally Posted by Stealth Pyros View Post

Lol actually the true way to make the cmd window invisible takes a little work.
Throw this into a text file
CreateObject("Wscript.Shell").Run """" & WScript.Arguments(0) & """", 0, False
Save it as "whatever.vbs"
Make another batch file that runs the invisible VBS file and the previous MSE batch file you made:
(In text file, save as MSEInvisible.bat, changing directories below to wherever you saved the other 2 files)
wscript.exe "C:\Wherever\whatever.vbs" "C:\Wherever\MSEUpdate.bat"
I THINK that'll nail it... then you just set Task Scheduler to run this (2nd) batch file that runs the invisible VBS file + the MSEUpdate batch file. I think the only issue with doing it this way is that it's going to "hide" the MpCmdRun.exe process, so you won't see it in task manager.

Alright, here's everything. I think I did it right according to your instructions. I get a new error now
Quote:
Originally Posted by Stealth Pyros View Post

Any luck with it? I've gotten mine to the point where the CMD window flashes in and out very quickly.

The picture I posted above is what it says when it flashes too quickly to see.


Gahhh sorry man, I'm trying to learn this just like you are. Now I'm curious to figure it out. biggrin.gif

Keep just the first batch file you made. Get rid of the second one. Edit the VBS file to have just this:

CreateObject("Wscript.Shell").Run "D:\download2:\MSEUpdate.bat", 0, True

Step back and push it smile.gif

Edit: Nope, not working for me frown.gif I want to figure it out...
Gaming Rig
(20 items)
 
  
CPUMotherboardGraphicsRAM
Intel 2500k, 4.6GHz, 1.304v ASRock P67 Extreme4 Gen3 2x Sapphire HD7970 OC with Boost, 1150 MHz/1550... 2x4GB DDR3 1600 Corsair Vengeance 
Hard DriveHard DriveHard DriveOptical Drive
Samsung 840 Pro Samsung 750GB HD753LJ Samsung F3 ASUS 24X DVD Combo Drive 
CoolingOSMonitorKeyboard
Noctua DH14 Windows 8 Professional x64 Crossover 27Q 27" IPS LED, 2560x1440 Logitech G11 
PowerCaseMouseMouse Pad
Corsair TX750 Cooler Master HAF932 Logitech G500 Custom 
AudioAudioAudioAudio
Creative X-Fi Titanium Fatal1ty 2x Dayton B652 Bookshelf Dayton DTA-100A Amplifier Dayton 12" SUB-1200 Subwoofer 
  hide details  
Reply
Gaming Rig
(20 items)
 
  
CPUMotherboardGraphicsRAM
Intel 2500k, 4.6GHz, 1.304v ASRock P67 Extreme4 Gen3 2x Sapphire HD7970 OC with Boost, 1150 MHz/1550... 2x4GB DDR3 1600 Corsair Vengeance 
Hard DriveHard DriveHard DriveOptical Drive
Samsung 840 Pro Samsung 750GB HD753LJ Samsung F3 ASUS 24X DVD Combo Drive 
CoolingOSMonitorKeyboard
Noctua DH14 Windows 8 Professional x64 Crossover 27Q 27" IPS LED, 2560x1440 Logitech G11 
PowerCaseMouseMouse Pad
Corsair TX750 Cooler Master HAF932 Logitech G500 Custom 
AudioAudioAudioAudio
Creative X-Fi Titanium Fatal1ty 2x Dayton B652 Bookshelf Dayton DTA-100A Amplifier Dayton 12" SUB-1200 Subwoofer 
  hide details  
Reply
post #19 of 25
Just be done with it man, get this, lol. It looks like it might be /NOCONSOLE or something like that.

http://download.cnet.com/Hidden-Start/3000-2094_4-12096594.html
Gaming Rig
(20 items)
 
  
CPUMotherboardGraphicsRAM
Intel 2500k, 4.6GHz, 1.304v ASRock P67 Extreme4 Gen3 2x Sapphire HD7970 OC with Boost, 1150 MHz/1550... 2x4GB DDR3 1600 Corsair Vengeance 
Hard DriveHard DriveHard DriveOptical Drive
Samsung 840 Pro Samsung 750GB HD753LJ Samsung F3 ASUS 24X DVD Combo Drive 
CoolingOSMonitorKeyboard
Noctua DH14 Windows 8 Professional x64 Crossover 27Q 27" IPS LED, 2560x1440 Logitech G11 
PowerCaseMouseMouse Pad
Corsair TX750 Cooler Master HAF932 Logitech G500 Custom 
AudioAudioAudioAudio
Creative X-Fi Titanium Fatal1ty 2x Dayton B652 Bookshelf Dayton DTA-100A Amplifier Dayton 12" SUB-1200 Subwoofer 
  hide details  
Reply
Gaming Rig
(20 items)
 
  
CPUMotherboardGraphicsRAM
Intel 2500k, 4.6GHz, 1.304v ASRock P67 Extreme4 Gen3 2x Sapphire HD7970 OC with Boost, 1150 MHz/1550... 2x4GB DDR3 1600 Corsair Vengeance 
Hard DriveHard DriveHard DriveOptical Drive
Samsung 840 Pro Samsung 750GB HD753LJ Samsung F3 ASUS 24X DVD Combo Drive 
CoolingOSMonitorKeyboard
Noctua DH14 Windows 8 Professional x64 Crossover 27Q 27" IPS LED, 2560x1440 Logitech G11 
PowerCaseMouseMouse Pad
Corsair TX750 Cooler Master HAF932 Logitech G500 Custom 
AudioAudioAudioAudio
Creative X-Fi Titanium Fatal1ty 2x Dayton B652 Bookshelf Dayton DTA-100A Amplifier Dayton 12" SUB-1200 Subwoofer 
  hide details  
Reply
post #20 of 25
Thread Starter 
Quote:
Originally Posted by Stealth Pyros View Post

Gahhh sorry man, I'm trying to learn this just like you are. Now I'm curious to figure it out. biggrin.gif
Keep just the first batch file you made. Get rid of the second one. Edit the VBS file to have just this:
CreateObject("Wscript.Shell").Run "D:\download2:\MSEUpdate.bat", 0, True
Step back and push it smile.gif
Edit: Nope, not working for me frown.gif I want to figure it out...

Haha np man. You've already helped me loads. Having that first update .bat file and having it run in set intervals solves 99% of my problems. So again I thank you smile.gif. I'll still tune into this thread so if you do figure it out I'll be glad to use the same method smile.gif
Quote:
Originally Posted by Stealth Pyros View Post

Just be done with it man, get this, lol. It looks like it might be /NOCONSOLE or something like that.
http://download.cnet.com/Hidden-Start/3000-2094_4-12096594.html

aha! I'll give this a try.

edit: even with /NOCONSOLE. The command prompt still shows up haha.
Edited by venomblade - 10/25/12 at 1:07pm
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Windows
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Windows › How can I get MSE to auto update?