- Posts: 2
- Thank you received: 0
How-to: Vanilla Install Malwarebytes on an USB.
14 years 9 months ago #33528
by kozlop
signature
How-to: Vanilla Install Malwarebytes on an USB. was created by kozlop
Hi firewall.cx!
Today, I was trying to figure out how to install Malwarebytes on a usb pen drive and run it from there. I searched around on google and found out there were a couple of DLLS and OCX files needed to make it run. So, I created a batch file to copy over those files in right directories. You would need to run this as administrator.
Guide:
1. Download Malwarebytes and install it to usb pen.
2. Go to USB drive and create a folder called ''x''
3. Find these 2 files by using file search in windows.
mbam.sys & mbamswissarmy.sys
4. Put those files in folder x
5. Now go to "C:\Documents and Settings\All Users\Application Data\Malwarebytes" or "C:\ProgramData\Malwarebytes" and copy that directory to the folder called x on your USB drive. (This is where your updates are.)
6. Now create a batch file and save it in Malwarebytes' Anti-Malware folder.
Windows XP:
[code:1]
xcopy "%C%\x\mbam.sys" "C:\WINDOWS\system32\drivers\mbam.sys"
xcopy "%C%\x\mbamswissarmy.sys" "C:\WINDOWS\system32\drivers\mbamswissarmy.sys"
xcopy "%C%\x\Malwarebytes\Malwarebytes' Anti-Malware" /s "C:\Documents and Settings\All Users\Application Data\Malwarebytes\Malwarebytes' Anti-Malware"
regsvr32.exe "%CD%\vbalsgrid6.ocx"
regsvr32.exe "%CD%\ssubtmr6.dll"
regsvr32.exe "%CD%\mbamext.dll"
start "%CD%\mbam.exe"
exit
[/code:1]
Windows 7 & Vista?¿? - Does anyone knows how to get the command path of the bat file?
[code:1]
xcopy "E:\x\mbam.sys" "%WINDIR%\system32\drivers\mbam.sys"
xcopy "E:\x\mbamswissarmy.sys" "%WINDIR%\system32\drivers\mbamswissarmy.sys"
xcopy "E:\x\Malwarebytes\Malwarebytes' Anti-Malware" /s /e "%HOMEDRIVE%\ProgramData\Malwarebytes\Malwarebytes' Anti-Malware\"
cd "%HOMEDRIVE%\windows\system32"
regsvr32.exe "E:\Malwarebytes' Anti-Malware\vbalsgrid6.ocx"
regsvr32.exe "E:\Malwarebytes' Anti-Malware\ssubtmr6.dll"
regsvr32.exe "E:\Malwarebytes' Anti-Malware\mbamext.dll"
start "E:\Malwarebytes' Anti-Malware\mbam.exe"
exit
[/code:1]
let me know what you guys think?
Today, I was trying to figure out how to install Malwarebytes on a usb pen drive and run it from there. I searched around on google and found out there were a couple of DLLS and OCX files needed to make it run. So, I created a batch file to copy over those files in right directories. You would need to run this as administrator.
Guide:
1. Download Malwarebytes and install it to usb pen.
2. Go to USB drive and create a folder called ''x''
3. Find these 2 files by using file search in windows.
mbam.sys & mbamswissarmy.sys
4. Put those files in folder x
5. Now go to "C:\Documents and Settings\All Users\Application Data\Malwarebytes" or "C:\ProgramData\Malwarebytes" and copy that directory to the folder called x on your USB drive. (This is where your updates are.)
6. Now create a batch file and save it in Malwarebytes' Anti-Malware folder.
Windows XP:
[code:1]
xcopy "%C%\x\mbam.sys" "C:\WINDOWS\system32\drivers\mbam.sys"
xcopy "%C%\x\mbamswissarmy.sys" "C:\WINDOWS\system32\drivers\mbamswissarmy.sys"
xcopy "%C%\x\Malwarebytes\Malwarebytes' Anti-Malware" /s "C:\Documents and Settings\All Users\Application Data\Malwarebytes\Malwarebytes' Anti-Malware"
regsvr32.exe "%CD%\vbalsgrid6.ocx"
regsvr32.exe "%CD%\ssubtmr6.dll"
regsvr32.exe "%CD%\mbamext.dll"
start "%CD%\mbam.exe"
exit
[/code:1]
Windows 7 & Vista?¿? - Does anyone knows how to get the command path of the bat file?
[code:1]
xcopy "E:\x\mbam.sys" "%WINDIR%\system32\drivers\mbam.sys"
xcopy "E:\x\mbamswissarmy.sys" "%WINDIR%\system32\drivers\mbamswissarmy.sys"
xcopy "E:\x\Malwarebytes\Malwarebytes' Anti-Malware" /s /e "%HOMEDRIVE%\ProgramData\Malwarebytes\Malwarebytes' Anti-Malware\"
cd "%HOMEDRIVE%\windows\system32"
regsvr32.exe "E:\Malwarebytes' Anti-Malware\vbalsgrid6.ocx"
regsvr32.exe "E:\Malwarebytes' Anti-Malware\ssubtmr6.dll"
regsvr32.exe "E:\Malwarebytes' Anti-Malware\mbamext.dll"
start "E:\Malwarebytes' Anti-Malware\mbam.exe"
exit
[/code:1]
let me know what you guys think?
signature
14 years 4 months ago #35040
by KarenG
Replied by KarenG on topic Re: How-to: Vanilla Install Malwarebytes on an USB.
I thought it can just be installed and then it can run from any USB drive as any other program. Am I missing something here?
_______________
my latest project: drug treatment programs site
_______________
my latest project: drug treatment programs site
Time to create page: 0.118 seconds