godan Posted April 7, 2005 Share Posted April 7, 2005 double post sorry please remove. Link to comment Share on other sites More sharing options...
godan Posted April 7, 2005 Share Posted April 7, 2005 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. Link to comment Share on other sites More sharing options...
DigeratiPrime Posted April 8, 2005 Share Posted April 8, 2005 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? Link to comment Share on other sites More sharing options...
Xable Posted April 10, 2005 Share Posted April 10, 2005 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. Link to comment Share on other sites More sharing options...
DigeratiPrime Posted April 16, 2005 Share Posted April 16, 2005 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 Link to comment Share on other sites More sharing options...
nprice Posted April 20, 2005 Share Posted April 20, 2005 batmeter.dll always comes back, now it's saying access denied (file in use). What do you guys recommend? Link to comment Share on other sites More sharing options...
nprice Posted April 20, 2005 Share Posted April 20, 2005 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? Link to comment Share on other sites More sharing options...
DigeratiPrime Posted April 20, 2005 Share Posted April 20, 2005 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. Link to comment Share on other sites More sharing options...
nprice Posted April 20, 2005 Share Posted April 20, 2005 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. Link to comment Share on other sites More sharing options...
DigeratiPrime Posted April 20, 2005 Share Posted April 20, 2005 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 Link to comment Share on other sites More sharing options...
nprice Posted April 20, 2005 Share Posted April 20, 2005 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. Link to comment Share on other sites More sharing options...
DigeratiPrime Posted April 20, 2005 Share Posted April 20, 2005 (edited) 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, 2005 by DigeratiPrime Link to comment Share on other sites More sharing options...
Tzeb Posted January 18, 2006 Share Posted January 18, 2006 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? Link to comment Share on other sites More sharing options...
AmphetaMarinE Posted January 22, 2006 Share Posted January 22, 2006 (edited) 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, 2006 by AmphetaMarinE Link to comment Share on other sites More sharing options...
Tzeb Posted January 22, 2006 Share Posted January 22, 2006 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. 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