SyntaXmasteR
09-14-2005, 07:36 PM
ONLY EXPERIENCED USERS
This is a beta script that changes your mac address. Please test it out and let me know how it works.
Directions
*. Save as .bat and run... I know... very complicated :rolleyes:
echo off
cls && set adapter=0
:TOP
echo. Checking Value 000%adapter%
echo ***************************************************
echo.
@REG QUERY HKLM\SYSTEM\CurrentControlSet\Control\Class\{4D*6E*72-E*25-**CE-BFC*-08002BE*0**8}\000%adapter%\ /v NetCfgInstanceId
If %errorlevel% EQU * set /a adapter=%adapter%+* && cls && goto :TOP
echo.
echo ***************************************************
echo ***************************************************
echo.
@getmac /fo list
echo.
echo ***************************************************
echo.
echo. REG_SZ Value Should Match Tcpip Value
echo. Is this the correct adapter? (y or n)
set /p answer=
If %answer% EQU y goto :finishcheck
set /a adapter=%adapter%+* && cls && goto :TOP
:finishcheck
REM ***********************CREATING_MAC_CHANGER***************
:endofstory
echo ^echo off >> "%userprofile%\desktop\Mac_Changer.bat"
echo cls >> "%userprofile%\desktop\Mac_Changer.bat"
echo set adapter=%adapter% >> "%userprofile%\desktop\Mac_Changer.bat"
echo ^echo ***************************************** >> "%userprofile%\desktop\Mac_Changer.bat"
echo ^echo * * >> "%userprofile%\desktop\Mac_Changer.bat"
echo ^echo * ENTER VALID *2 DIGIT MAC * >> "%userprofile%\desktop\Mac_Changer.bat"
echo ^echo * * >> "%userprofile%\desktop\Mac_Changer.bat"
echo ^echo ***************************************** >> "%userprofile%\desktop\Mac_Changer.bat"
echo set /p new_mac= >> "%userprofile%\desktop\Mac_Changer.bat"
echo REG ADD HKLM\SYSTEM\CurrentControlSet\Control\Class\{4D*6E*72-E*25-**CE-BFC*-08002BE*0**8}\000^%adapter%\ /v NetworkAddress /t REG_SZ /d ^%%new_mac^%% /f >> "%userprofile%\desktop\Mac_Changer.bat"
echo ^echo ***************************************** >> "%userprofile%\desktop\Mac_Changer.bat"
echo ^echo * * >> "%userprofile%\desktop\Mac_Changer.bat"
echo ^echo * Re***** Your Network Connection * >> "%userprofile%\desktop\Mac_Changer.bat"
echo ^echo * * >> "%userprofile%\desktop\Mac_Changer.bat"
echo ^echo ***************************************** >> "%userprofile%\desktop\Mac_Changer.bat"
echo ^echo * * >> "%userprofile%\desktop\Mac_Changer.bat"
echo ^echo * New Mac Address Will Be ^%%new_mac^%% >> "%userprofile%\desktop\Mac_Changer.bat"
echo ^echo * * >> "%userprofile%\desktop\Mac_Changer.bat"
echo ^echo ***************************************** >> "%userprofile%\desktop\Mac_Changer.bat"
echo pause >> "%userprofile%\desktop\Mac_Changer.bat"
cls
echo *******************************************
echo * *
echo * OPEN MAC_CHANGER ON DESKTOP *
echo * *
echo *******************************************
echo.
echo ...you can delete mac.bat
pause
This is a beta script that changes your mac address. Please test it out and let me know how it works.
Directions
*. Save as .bat and run... I know... very complicated :rolleyes:
echo off
cls && set adapter=0
:TOP
echo. Checking Value 000%adapter%
echo ***************************************************
echo.
@REG QUERY HKLM\SYSTEM\CurrentControlSet\Control\Class\{4D*6E*72-E*25-**CE-BFC*-08002BE*0**8}\000%adapter%\ /v NetCfgInstanceId
If %errorlevel% EQU * set /a adapter=%adapter%+* && cls && goto :TOP
echo.
echo ***************************************************
echo ***************************************************
echo.
@getmac /fo list
echo.
echo ***************************************************
echo.
echo. REG_SZ Value Should Match Tcpip Value
echo. Is this the correct adapter? (y or n)
set /p answer=
If %answer% EQU y goto :finishcheck
set /a adapter=%adapter%+* && cls && goto :TOP
:finishcheck
REM ***********************CREATING_MAC_CHANGER***************
:endofstory
echo ^echo off >> "%userprofile%\desktop\Mac_Changer.bat"
echo cls >> "%userprofile%\desktop\Mac_Changer.bat"
echo set adapter=%adapter% >> "%userprofile%\desktop\Mac_Changer.bat"
echo ^echo ***************************************** >> "%userprofile%\desktop\Mac_Changer.bat"
echo ^echo * * >> "%userprofile%\desktop\Mac_Changer.bat"
echo ^echo * ENTER VALID *2 DIGIT MAC * >> "%userprofile%\desktop\Mac_Changer.bat"
echo ^echo * * >> "%userprofile%\desktop\Mac_Changer.bat"
echo ^echo ***************************************** >> "%userprofile%\desktop\Mac_Changer.bat"
echo set /p new_mac= >> "%userprofile%\desktop\Mac_Changer.bat"
echo REG ADD HKLM\SYSTEM\CurrentControlSet\Control\Class\{4D*6E*72-E*25-**CE-BFC*-08002BE*0**8}\000^%adapter%\ /v NetworkAddress /t REG_SZ /d ^%%new_mac^%% /f >> "%userprofile%\desktop\Mac_Changer.bat"
echo ^echo ***************************************** >> "%userprofile%\desktop\Mac_Changer.bat"
echo ^echo * * >> "%userprofile%\desktop\Mac_Changer.bat"
echo ^echo * Re***** Your Network Connection * >> "%userprofile%\desktop\Mac_Changer.bat"
echo ^echo * * >> "%userprofile%\desktop\Mac_Changer.bat"
echo ^echo ***************************************** >> "%userprofile%\desktop\Mac_Changer.bat"
echo ^echo * * >> "%userprofile%\desktop\Mac_Changer.bat"
echo ^echo * New Mac Address Will Be ^%%new_mac^%% >> "%userprofile%\desktop\Mac_Changer.bat"
echo ^echo * * >> "%userprofile%\desktop\Mac_Changer.bat"
echo ^echo ***************************************** >> "%userprofile%\desktop\Mac_Changer.bat"
echo pause >> "%userprofile%\desktop\Mac_Changer.bat"
cls
echo *******************************************
echo * *
echo * OPEN MAC_CHANGER ON DESKTOP *
echo * *
echo *******************************************
echo.
echo ...you can delete mac.bat
pause