Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: None of my devices can obtain an ip address from the Microsoft virtual

09 Jun 2013   #1
Owen

windows 8 64 bit
 
 
None of my devices can obtain an ip address from the Microsoft virtual

hello. i am 19 years old so i don't exactly have lots of experience with all this. I am having a problem which i could use help with. Lately i have been using the Microsoft virtual network adapter (im sure you've heard of it!)
I wrote a small batch file for the purpose of starting the network. (ill copy and paste it in at the bottom) now this program worked perfectly for about a month but now i cant get a device to connect to the network as nothing can obtain an ip address.
What i did to troubleshoot..
1. I changed the ip settings from dhcp to static.
this allowed me to connect to the network but i couldn't access the internet.
2. I checked the properties of the network from the control panel and it
shows that my network is sending packets but is not receiving any. I tried
running windows troubleshooting on the network and it tells me that the
network does not have a valid ip configuration. even though it is set
dhcp.
3. I tried typing the following into cmd "netsh interface ip reset"
in return i get;
"C:\Windows\system32>netsh interface ip reset
Resetting Global, OK!
Resetting Interface, OK!
Resetting Unicast Address, OK!
Resetting Neighbor, OK!
Resetting Path, OK!
Resetting Route, OK!
Resetting , failed.
Access is denied.

Resetting , OK!
Restart the computer to complete this action."

why does it say resetting failed followed by access denied?
i think this is the cause of "failed to obtain ip address problem but why then does it not allow internet connectivity through the static ip settings? is there something i have missed or is something corrupt maybe?

I also tried going to device manager and uninstalling the network adapter from their then allowing windows to find it and re-install the driver.
Thank you for having the patients to read this far. As i said at the beginning i would copy paste my program here so you can see exactly what im trying to do here.
Thanks again.

@echo off
color a

:beginning
echo To Create a Hotspot with the name "hotspot" and
echo a password of "12345678" just press ENTER to the first two
echo options
echo ............................................................................... ################################################################################
set /p ssid=Enter name for your network: || set ssid=hotspot
set /p key=Enter password for network(must be 8 characters or longer!): || set key=12345678
netsh wlan set hostednetwork mode=allow ssid=%ssid% key=%key%
netsh wlan start hosted network
:refresh
netsh wlan show hostednetwork
echo Press ENTER to Refresh information!
echo ............................................................................... ################################################################################
echo Enter "RR" to Restart!
echo ............................................................................... ################################################################################
echo Enter "E" to Exit!
echo ............................................................................... ################################################################################
set /p option= || set option=r
if %option%==R goto :refresh
if %option%==r goto :refresh
if %option%==RR goto :beginning
if %option%==rr goto :beginning
if %option%==E goto :end
if %option%==e goto :end

:end
netsh wlan stop hostednetwork
If you can fix this issue, awesome and please tell me how!

thanks again.


My System SpecsSystem Spec
.
09 Jun 2013   #2
chev65

Windows 7 Ult, Windows 8.1 Pro,
 
 

I can suggest trying the connectify software rather than using the netsh commands. You should try reinstalling the driver for the wireless NIC if you are having problems setting up the hosted wireless network.

Connectify - Turn your PC into a Wi-Fi Hotspot and Get Faster Internet

You can also try setting up the hosted wireless network using the virtual router software.
Virtual Router - Wifi Hot Spot for Windows 8, Windows 7 and 2008 R2 - Home

Or you could try going over the netsh commands to make sure they are correct.
Windows 7 Tip of the Week: Use Wireless Hosted Networking to Share An Internet Connection Wirelessly | FAQ/Tip content from Paul Thurrott's SuperSite for Windows
My System SpecsSystem Spec
09 Jun 2013   #3
Owen

windows 8 64 bit
 
 

yeah i already have tried using software instead of cmd. the same thing happens as the software using these commands behind their UI. As for re-installing the NIC, i already did that by going to device manager-> uninstalled adapter-> clicked scan for new hardware-> and installed the adapter again. If i should do this i different way could you elaborate? thanks
My System SpecsSystem Spec
.

Reply

 None of my devices can obtain an ip address from the Microsoft virtual




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Wireless Network Adapter Unable To Obtain IP Address...? HELP!
Hi, So I have an Acer Aspire One notebook and I recently got a virus on it due to something that was going round on Facebook... Anyway, I tried everything I could to try and get rid of it, but then came to realise my only solution would be to restore my computer to factory settings. I did...
Network & Sharing
How can you obtain a Microsoft Certification award?
I see a lot of people have a microsoft certification award or microsoft certified professional. How do you go about getting one of these? Im from the UK.
General Discussion
Obtain Mac Address of USB Printer
I've got a Samsung USB ONLY printer which I need to connect to the USB port of a TP-link N600 Router (this acts as a print server) only thing is I want to reserve the IP address of the printer on the router. For this I need the mac address of the printer. The printer doesn't have the mac address...
Hardware & Devices
Unable to obtain IP address on Local Area Connection
Hello everybody! I've had an extremely frustrating day trying to connect my WDTV Live to my desktop PC, and after not getting any help from the WD forums, thought I might move up the ladder because surely someone here can help! ;P So, down to business... I connect to the net through a...
Network & Sharing
unidentified network(can't obtain ip address)
Hi. I have problem with my wifi. I can't connect to a specific network(can connect to others). I can connect to that network fine from other computer. This happened before, couldn't connect to this network for like a month and then it fixed itself somehow and it worked fine until now. I've tried...
Network & Sharing
HardwareID = MAC address? For MoBo and USB devices? Find out model?
Just to clarify my point of view: The hardwareID is not (never) equal to the MAC address Even not for network cards. is that correct? Is there a way to find out the - vendor - model name for a given hardwareID?
Hardware & Devices


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 13:46.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App