1. First, create batch file and place it where ever you want, for this example i put it in D drive. Then copy paste these command below into the file. Don't forget to save it and give it name "missingtray.bat" :
@echo off
reg delete "HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\TrayNotify" /v PastIconsStream /f
reg delete "HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\TrayNotify" /v IconStreams /f
taskkill /f /im explorer.exe & start explorer.exe
exit
reg delete "HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\TrayNotify" /v PastIconsStream /f
reg delete "HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\TrayNotify" /v IconStreams /f
taskkill /f /im explorer.exe & start explorer.exe
exit
2. Create basic task in Task Scheduller. Follow these images below for clear instruction :
- If you use SmartBilling, at the General tab choose Run only when user is logged on. Then go to Triggers tab and click edit. Change Begin the task to At log on and choose Any user under Settings, Then enable Delay task for and give 30 seconds delay.
No comments:
Post a Comment