SEARCH

The How-To Geek Forums Have Migrated to Discourse

How-To Geek Forums / Windows 7

(Solved) - Task Scheduler to stop and start sidebar???

(7 posts)
  • Started 1 year ago by granoldad
  • Latest reply from Lighthouse
  • Topic Viewed 574 times

granoldad
Posts: 4

I have one gadget that has a memory leak and every so often I turn off the sidebar and restart it.
I made a bat file to kill the sidebar:
-------------------------------------------
tskill sidebar
if %errorlevel%==1 start sidebar
-------------------------------------------
and am using:
(C:\Windows\winsxs\amd64_microsoft-windows-sidebar_31bf3856ad364e35_6.1.7601.17514_none_2d02b12c3d47a517\sidebar.exe)
to restart.

Created a couple shortcuts on the desktop and this works manualy and now I need to put this in Task Scheduler so it will auto turn off and on every few hours and I can not get it to work???????????????
You guys have any idea how to set this to work correctly?

Posted 1 year ago
Top
 
Lighthouse
Lighthouse
Posts: 13598

granoldad hi. Please confirm your OS, as you posted in the W7 forum.

Posted 1 year ago
Top
 
granoldad
Posts: 4

Lighthouse:

Yes I am using Windows 7 64 bit

Laptop Details:
New Lenovo W530
• Intel Core i7-3920XM Processor (2.90GHz, 8MB L3, 1600MHz)
• Genuine Windows 7 Ultimate (64 bit)
• 15.6" FHD (1920 x 1080) LED Backlit Anti-Glare Display, Mobile Broadband Ready with color calibration sensor
• NVIDIA Quadro K2000M Graphics with 2GB DDR3 Memory
• 32 GB PC3-12800 DDR3
• UltraNav with Fingerprint Reader for Color Sensor, Smart Card Reader
• OCZ SSD Hard Drive 512GB - 120,000 IOPS
• Panasonic UJ240 6x Blu-ray Burner
• 9 Cell Li-Ion TWL 70++
• Bluetooth 4.0 with Antenna
• Intel Centrino Ultimate-N 6300 AGN

FASTEST LAPTOP I HAVE EVER OWNED !

Posted 1 year ago
Top
 
granoldad
Posts: 4

Forgot to metion when I am at home I use a docking station for the laptpop with:
Dual - Asus PA248 Monitors
Cyborg V7 Keyboard
Cyborg R.A.T. 9 Mouse

Posted 1 year ago
Top
 
Lighthouse
Lighthouse
Posts: 13598

Any help ?
http://www.howtogeek.com/12339.....scheduler/

Posted 1 year ago
Top
 
granoldad
Posts: 4

Lighthouse:

Thanks for the link. Tried several times and after I removed the "if %errorlevel%==1 start sidebar" from the bat file it worked.
Works great I have it set to auto stop and start once an hour.
The gadget that has the memory leak is "CPU Meter III G.5" in the past after running all day I have found it using over 2gb of memory.

Thanks Again

Posted 1 year ago
Top
 
Lighthouse
Lighthouse
Posts: 13598

Great stuff :)

Posted 1 year ago
Top
 



Topic Closed

This topic has been closed to new replies.