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

Owen

New member
Local time
4:34 PM
Messages
2
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 Computer My Computer

At a glance

windows 8 64 bitIntel® Core™ i5-3210M ProcessorMemory Size (GB) 8AMD Radeon™ HD 7650M Video RAM memory size 1 GB
Computer type
Laptop
Computer Manufacturer/Model Number
sony
OS
windows 8 64 bit
CPU
Intel® Core™ i5-3210M Processor
Motherboard
Intel® HM76 Express Chipset
Memory
Memory Size (GB) 8
Graphics Card(s)
AMD Radeon™ HD 7650M Video RAM memory size 1 GB
Hard Drives
1000GB hard drive 5400 RPM
Antivirus
McAfee
Browser
Chrome
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 Computer My Computer

At a glance

Windows 7 Ult, Windows 8.1 Pro,Q9650-4.275GHz, E8600 4.5GHz, E6750-3.8GHzG.Skill PC2 9600 1200Mhz 5 5 5 15 2TGTX480
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home built
OS
Windows 7 Ult, Windows 8.1 Pro,
CPU
Q9650-4.275GHz, E8600 4.5GHz, E6750-3.8GHz
Motherboard
Evga 780i FTW
Memory
G.Skill PC2 9600 1200Mhz 5 5 5 15 2T
Graphics Card(s)
GTX480
Sound Card
Asus Xonar D2
Monitor(s) Displays
HannsG
Screen Resolution
1680X1050
Hard Drives
GSkill Phoenix Pro 120GB SSD
PSU
ThermalTake Toughpower 1000Watt modular
Case
ThermalTake XaserV
Cooling
Xigmatek S1283
Keyboard
Logitech G15
Mouse
Logitech G9
Internet Speed
T1
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 Computer My Computer

At a glance

windows 8 64 bitIntel® Core™ i5-3210M ProcessorMemory Size (GB) 8AMD Radeon™ HD 7650M Video RAM memory size 1 GB
Computer type
Laptop
Computer Manufacturer/Model Number
sony
OS
windows 8 64 bit
CPU
Intel® Core™ i5-3210M Processor
Motherboard
Intel® HM76 Express Chipset
Memory
Memory Size (GB) 8
Graphics Card(s)
AMD Radeon™ HD 7650M Video RAM memory size 1 GB
Hard Drives
1000GB hard drive 5400 RPM
Antivirus
McAfee
Browser
Chrome
Back
Top