Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > VB Script

Vista - MAC changer vbscript

Reply
 
Old 02-12-2009   #1 (permalink)
santander


 
 

MAC changer vbscript

here is just steps to change MAC address on windows 98 system: (from
www.klcconsulting.net/Change_MAC_w98.htm)

1. Goto Start->Run, type "Winipcfg"

2. Select your ethernet card and record the MAC address

3. Goto Start->Run, type "regedit" to bring up registry editor.

4. Locate "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\Net".
It should have subkeys like "0000", "0001", "0002" and so on.

5. Click on each subkey that starts with "0000" and determine your Ethernet
card by looking at "DriverDesc" key. If it did not match, then goto "0001",
"0002" and so on...

6. Once you got the right NIC card,

1. Click on dropdown menu Edit->New->String Value.
2. Name the new string "networkaddress" and click OK.
3. Double-click on the new "networkaddress" string and you will be
prompted for "Value data"
4. Enter the new MAC address you want to assign. The MAC address you
enter should be a 12 digit number with NO "-", i.e. "00C095ECB761"

Just wondering is there way implement this steps into VBscript, to make
process easy, and make registry editing process safe?
Another thing, how then revert MAC address back to original values?

santander


My System SpecsSystem Spec
Old 02-15-2009   #2 (permalink)
Pegasus \(MVP\)


 
 

Re: MAC changer vbscript


"santander" <santander@xxxxxx> wrote in message
news:uodCV3SjJHA.996@xxxxxx
Quote:

> here is just steps to change MAC address on windows 98 system: (from
> www.klcconsulting.net/Change_MAC_w98.htm)
>
> 1. Goto Start->Run, type "Winipcfg"
>
> 2. Select your ethernet card and record the MAC address
>
> 3. Goto Start->Run, type "regedit" to bring up registry editor.
>
> 4. Locate
> "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\Net". It
> should have subkeys like "0000", "0001", "0002" and so on.
>
> 5. Click on each subkey that starts with "0000" and determine your
> Ethernet card by looking at "DriverDesc" key. If it did not match, then
> goto "0001", "0002" and so on...
>
> 6. Once you got the right NIC card,
>
> 1. Click on dropdown menu Edit->New->String Value.
> 2. Name the new string "networkaddress" and click OK.
> 3. Double-click on the new "networkaddress" string and you will be
> prompted for "Value data"
> 4. Enter the new MAC address you want to assign. The MAC address you
> enter should be a 12 digit number with NO "-", i.e. "00C095ECB761"
>
> Just wondering is there way implement this steps into VBscript, to make
> process easy, and make registry editing process safe?
> Another thing, how then revert MAC address back to original values?
>
> santander
Your reference deals with Win98. Under current operating systems the service
"Class" does not exist. MAC-addresses are kept here:
HKLM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002bE10318}\xxxx\
where "xxxx" is a four-digit number representing the network adapter. To
change the MAC-address you need to create the "NetworkAddress" value and
assign the desired data to it. To revert to the inbuilt MAC-address you must
delete this value.


My System SpecsSystem Spec
Old 02-24-2009   #3 (permalink)
santander


 
 

Re: MAC changer vbscript


"Pegasus (MVP)" wrote:
Quote:
Quote:

>> here is just steps to change MAC address on windows 98 system: (from
>> www.klcconsulting.net/Change_MAC_w98.htm)
>>
>> 1. Goto Start->Run, type "Winipcfg"
>>
>> 2. Select your ethernet card and record the MAC address
>>
>> 3. Goto Start->Run, type "regedit" to bring up registry editor.
>>
>> 4. Locate
>> "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\Net". It
>> should have subkeys like "0000", "0001", "0002" and so on.
>>
>> 5. Click on each subkey that starts with "0000" and determine your
>> Ethernet card by looking at "DriverDesc" key. If it did not match, then
>> goto "0001", "0002" and so on...
>>
>> 6. Once you got the right NIC card,
>>
>> 1. Click on dropdown menu Edit->New->String Value.
>> 2. Name the new string "networkaddress" and click OK.
>> 3. Double-click on the new "networkaddress" string and you will be
>> prompted for "Value data"
>> 4. Enter the new MAC address you want to assign. The MAC address you
>> enter should be a 12 digit number with NO "-", i.e. "00C095ECB761"
>>
>> Just wondering is there way implement this steps into VBscript, to make
>> process easy, and make registry editing process safe?
>> Another thing, how then revert MAC address back to original values?
>>
>> santander
>
> Your reference deals with Win98. Under current operating systems the
> service "Class" does not exist. MAC-addresses are kept here:
> HKLM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002bE10318}\xxxx\
> where "xxxx" is a four-digit number representing the network adapter. To
> change the MAC-address you need to create the "NetworkAddress" value and
> assign the desired data to it. To revert to the inbuilt MAC-address you
> must delete this value.
----------

well, how to implement this steps into single VBscript?

S.

My System SpecsSystem Spec
Old 02-24-2009   #4 (permalink)
Pegasus \(MVP\)


 
 

Re: MAC changer vbscript


"santander" <santander@xxxxxx> wrote in message
news:eROkRtplJHA.1168@xxxxxx
Quote:

>
> "Pegasus (MVP)" wrote:
>
Quote:
Quote:

>>> here is just steps to change MAC address on windows 98 system: (from
>>> www.klcconsulting.net/Change_MAC_w98.htm)
>>>
>>> 1. Goto Start->Run, type "Winipcfg"
>>>
>>> 2. Select your ethernet card and record the MAC address
>>>
>>> 3. Goto Start->Run, type "regedit" to bring up registry editor.
>>>
>>> 4. Locate
>>> "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\Net". It
>>> should have subkeys like "0000", "0001", "0002" and so on.
>>>
>>> 5. Click on each subkey that starts with "0000" and determine your
>>> Ethernet card by looking at "DriverDesc" key. If it did not match, then
>>> goto "0001", "0002" and so on...
>>>
>>> 6. Once you got the right NIC card,
>>>
>>> 1. Click on dropdown menu Edit->New->String Value.
>>> 2. Name the new string "networkaddress" and click OK.
>>> 3. Double-click on the new "networkaddress" string and you will be
>>> prompted for "Value data"
>>> 4. Enter the new MAC address you want to assign. The MAC address you
>>> enter should be a 12 digit number with NO "-", i.e. "00C095ECB761"
>>>
>>> Just wondering is there way implement this steps into VBscript, to make
>>> process easy, and make registry editing process safe?
>>> Another thing, how then revert MAC address back to original values?
>>>
>>> santander
>>
>> Your reference deals with Win98. Under current operating systems the
>> service "Class" does not exist. MAC-addresses are kept here:
>> HKLM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002bE10318}\xxxx\
>> where "xxxx" is a four-digit number representing the network adapter. To
>> change the MAC-address you need to create the "NetworkAddress" value and
>> assign the desired data to it. To revert to the inbuilt MAC-address you
>> must delete this value.
> ----------
>
> well, how to implement this steps into single VBscript?
>
> S.
Perhaps like so:
1. Determine which is the active network adapter.
2. Create the "NetworkAddress" value for this adapter.
3. Write the desired data into this value.

This requires a certain amount of work. Unless someone already has a
ready-made solution, you'll have to do it yourself, then come back here in
case you have some specific unresolved issues. You could also use Google to
see if someone else has done something similar.


My System SpecsSystem Spec
Old 02-24-2009   #5 (permalink)
santander


 
 

Re: MAC changer vbscript


"Pegasus (MVP)" <I.can@xxxxxx> wrote in message
news:unmwjAqlJHA.3948@xxxxxx
Quote:

>
> "santander" <santander@xxxxxx> wrote in message
> news:eROkRtplJHA.1168@xxxxxx
Quote:

>>
>> "Pegasus (MVP)" wrote:
>>
Quote:

>>>> here is just steps to change MAC address on windows 98 system: (from
>>>> www.klcconsulting.net/Change_MAC_w98.htm)
>>>>
>>>> 1. Goto Start->Run, type "Winipcfg"
>>>>
>>>> 2. Select your ethernet card and record the MAC address
>>>>
>>>> 3. Goto Start->Run, type "regedit" to bring up registry editor.
>>>>
>>>> 4. Locate
>>>> "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\Net". It
>>>> should have subkeys like "0000", "0001", "0002" and so on.
>>>>
>>>> 5. Click on each subkey that starts with "0000" and determine your
>>>> Ethernet card by looking at "DriverDesc" key. If it did not match,
>>>> then goto "0001", "0002" and so on...
>>>>
>>>> 6. Once you got the right NIC card,
>>>>
>>>> 1. Click on dropdown menu Edit->New->String Value.
>>>> 2. Name the new string "networkaddress" and click OK.
>>>> 3. Double-click on the new "networkaddress" string and you will be
>>>> prompted for "Value data"
>>>> 4. Enter the new MAC address you want to assign. The MAC address
>>>> you enter should be a 12 digit number with NO "-", i.e. "00C095ECB761"
>>>>
>>>> Just wondering is there way implement this steps into VBscript, to make
>>>> process easy, and make registry editing process safe?
>>>> Another thing, how then revert MAC address back to original values?
>>>>
>>>> santander
>>>
>>> Your reference deals with Win98. Under current operating systems the
>>> service "Class" does not exist. MAC-addresses are kept here:
>>> HKLM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002bE10318}\xxxx\
>>> where "xxxx" is a four-digit number representing the network adapter. To
>>> change the MAC-address you need to create the "NetworkAddress" value and
>>> assign the desired data to it. To revert to the inbuilt MAC-address you
>>> must delete this value.
>> ----------
>>
>> well, how to implement this steps into single VBscript?
>>
>> S.
>
> Perhaps like so:
> 1. Determine which is the active network adapter.
> 2. Create the "NetworkAddress" value for this adapter.
> 3. Write the desired data into this value.
>
> This requires a certain amount of work. Unless someone already has a
> ready-made solution, you'll have to do it yourself, then come back here in
> case you have some specific unresolved issues. You could also use Google
> to see if someone else has done something similar.
-----------

p1. - probably can be omitted, since network adapter is always one?

S.

My System SpecsSystem Spec
Old 02-24-2009   #6 (permalink)
Pegasus \(MVP\)


 
 

Re: MAC changer vbscript


"santander" <santander@xxxxxx> wrote in message
news:uRCCBSqlJHA.1184@xxxxxx
Quote:

>
> "Pegasus (MVP)" <I.can@xxxxxx> wrote in message
> news:unmwjAqlJHA.3948@xxxxxx
Quote:

>>
>> "santander" <santander@xxxxxx> wrote in message
>> news:eROkRtplJHA.1168@xxxxxx
Quote:

>>>
>>> "Pegasus (MVP)" wrote:
>>>
>>>>> here is just steps to change MAC address on windows 98 system: (from
>>>>> www.klcconsulting.net/Change_MAC_w98.htm)
>>>>>
>>>>> 1. Goto Start->Run, type "Winipcfg"
>>>>>
>>>>> 2. Select your ethernet card and record the MAC address
>>>>>
>>>>> 3. Goto Start->Run, type "regedit" to bring up registry editor.
>>>>>
>>>>> 4. Locate
>>>>> "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\Net". It
>>>>> should have subkeys like "0000", "0001", "0002" and so on.
>>>>>
>>>>> 5. Click on each subkey that starts with "0000" and determine your
>>>>> Ethernet card by looking at "DriverDesc" key. If it did not match,
>>>>> then goto "0001", "0002" and so on...
>>>>>
>>>>> 6. Once you got the right NIC card,
>>>>>
>>>>> 1. Click on dropdown menu Edit->New->String Value.
>>>>> 2. Name the new string "networkaddress" and click OK.
>>>>> 3. Double-click on the new "networkaddress" string and you will be
>>>>> prompted for "Value data"
>>>>> 4. Enter the new MAC address you want to assign. The MAC address
>>>>> you enter should be a 12 digit number with NO "-", i.e. "00C095ECB761"
>>>>>
>>>>> Just wondering is there way implement this steps into VBscript, to
>>>>> make process easy, and make registry editing process safe?
>>>>> Another thing, how then revert MAC address back to original values?
>>>>>
>>>>> santander
>>>>
>>>> Your reference deals with Win98. Under current operating systems the
>>>> service "Class" does not exist. MAC-addresses are kept here:
>>>> HKLM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002bE10318}\xxxx\
>>>> where "xxxx" is a four-digit number representing the network adapter.
>>>> To change the MAC-address you need to create the "NetworkAddress" value
>>>> and assign the desired data to it. To revert to the inbuilt MAC-address
>>>> you must delete this value.
>>> ----------
>>>
>>> well, how to implement this steps into single VBscript?
>>>
>>> S.
>>
>> Perhaps like so:
>> 1. Determine which is the active network adapter.
>> 2. Create the "NetworkAddress" value for this adapter.
>> 3. Write the desired data into this value.
>>
>> This requires a certain amount of work. Unless someone already has a
>> ready-made solution, you'll have to do it yourself, then come back here
>> in case you have some specific unresolved issues. You could also use
>> Google to see if someone else has done something similar.
> -----------
>
> p1. - probably can be omitted, since network adapter is always one?
>
> S.
Are you sure? Did you check out this registry location:
HKLM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002bE10318"?
How many keys in it?


My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Wallpaper Changer Vista General
Voice Changer ?? Vista General
auto wallpaper changer Vista music pictures video
Desktop Wallpaper changer.. Vista music pictures video
screen changer Vista installation & setup


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46