April 7, 200521 yr ok, anyone here know asm? the reason i ask is because i dont know how else to delay HideSRHi.exe from running untill after the icon loads into the system tray other than coding it into the program itself. so... if some one could just code in a 30-60 second delay into the autors code.. he said it is open source so as long as we give credit where its due it should be fine..386.model flat, stdcalloption casemap :noneinclude ..\include\windows.incinclude ..\include\user32.incinclude ..\include\kernel32.incinclude ..\include\shell32.incincludelib ..\lib\kernel32.libincludelib ..\lib\user32.libincludelib ..\lib\shell32.libmain PROTO.data sClass db "SystemTray_Main",0.codestart: invoke mainmain proc LOCAL data :NOTIFYICONDATA invoke FindWindow, ADDR sClass, NULL cmp eax, 0 je notfound push eax invoke RtlZeroMemory, ADDR data, sizeof NOTIFYICONDATA mov data.cbSize, sizeof NOTIFYICONDATA pop eax mov data.hwnd, eax mov data.uID, 1226 invoke Shell_NotifyIcon, NIM_DELETE, ADDR data ret notfound: invoke ExitProcess, 0 ret main endpend startthats the asm of it i suggest downloading the little package from the link given earlier in this topic. but againg i think about 45 seconds should give the icon enough time to load so that HideSRHi.exe can find it and then remove it at startup.
April 8, 200521 yr Either that or understand what the code is actually doing, and make the changes permanent. I will look into this a bit as soon as i can, maybe someone else can explain what is happening in this code?
April 10, 200521 yr After a post i made in the nlite forum DigeratiPrime pointed out this thread to me. He thought you might find the info usefull.Basicly i removed batmeter.dll with nlite, which stopped the SRHI from showing.Link to my postDigeratiPrime, thanks for that shortcut to the remove dialog box. Now i can get rid of that dll and use the shortcut to remove my devices. No more annoying icon.
April 16, 200521 yr I finally got around to testing this out, and it works perfect. Just go into the System32 folder and rename batmeter.dll to batmeter.bak.And its gone. Also you can create a shortcut to open the Dialog box Without using the Tray Icon. Just create a shortcut to:%windir%\System32\RUNDLL32.EXE shell32.dll,Control_RunDLL hotplug.dll
April 20, 200521 yr batmeter.dll always comes back, now it's saying access denied (file in use). What do you guys recommend?
April 20, 200521 yr Anyone?I tried "regsvr32 /u batmeter.dll" but it says:Batmeter.dll was loaded, but the DllUnregisterServer entry point was not found.This file can not be registered.How can I remove this DLL?
April 20, 200521 yr Control Panel>Folder Optionsclick on the view tabuncheck "hide extensions for known filetypes"then rename batmeter.dll to batmeter.bakreset computer or restart explorer.exe from taskmanager.
April 20, 200521 yr DigeratiPrime...I already have that option enabled in explorer. I've already renamed batmeter.dll to batmeter.bak. Moments later, the file batmeter.dll was replaced. So now I have both batmeter.dll and batmeter.bak. Now when I try to delete bakmeter.dll, it says Access Denied (file in use or write protected). I can delete it if I reboot into safe mode, but it is replaced again when I reboot. How the hell can I remove this.Thanks.
April 20, 200521 yr Disable the System Restore Service, you computer will thank you.Select Start followed by Control Panel, and double-click the System icon. Then:Click the System Restore tab on the System dialog boxTo enable, clear the Turn off System Restore check boxTo disable, select the Turn off System Restore check boxClick OK when done
April 20, 200521 yr Ok, tried your suggestion, no workie but good guess. I even tried creating an empty file called batmeter.dll to put in it's place after I renamed it, but moments later it was again replaced with the 28KB file. Grr...You think this could be caused by my antivirus program or Microsoft AntiSpyware?Thanks for the help.
April 20, 200521 yr you might need to disable Windows File Protection.http://unattended.msfn.org/advanced/hackedfiles/wfp.htmAlot of people here use unattended windows cd's that already have these tweaks by default, hence why i forgot to mention them. I'll update if i find a way of getting around this.[EDIT] If this dll is disabled you will not be able to access power options in the control panel. Edited June 9, 200521 yr by DigeratiPrime
January 18, 200620 yr Hi there Sorry for bringing this up again.... If i rename batmeter.dll to batmeter.bak, the volume icon from taskbar is also gone.Any workaround this?
January 22, 200620 yr Hi there Sorry for bringing this up again.... If i rename batmeter.dll to batmeter.bak, the volume icon from taskbar is also gone.Any workaround this?You should really leave your battery meter alone....Here is an installer I made using the HideSRHi.exe posted earlier...to work around the problem of it loading to early, I just call it using vbscript and a 5second wait....Open the install dir and edit HideSRHi.vbs if you need to change this wait time... (Mainly for slower PCs) Edited January 22, 200620 yr by AmphetaMarinE
January 22, 200620 yr Thanks, it works. I probably disabled windows script host because i get "windows script host is disabled on this machine". I got around this by unchecking HideSRHi.vbs in msconfig and running HideSRHi.exe at startup.
Create an account or sign in to comment