Q
Problem solve Get help with specific problems with your technologies, process and projects.

Static IP address to DHCP VB script

I tried your "static IP address to DHCP" VB script, but the commands where you have a variable performing a reread with a variable embedded do not read the registry.

For example: sNIC = oWSHShell.RegRead("HKLMSOFTWAREMicrosoftWindows NTCurrentVersionNetworkCards" & iCount & "ServiceName")

Any ideas why this might be and how to correct it?
It would appear that the backslashes were removed from the post. Grab the full script here.

Dig Deeper on Windows client management

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchServerVirtualization

SearchCloudComputing

SearchSQLServer

SearchEnterpriseDesktop

SearchVirtualDesktop

Close