"Incorrect" password for virtual router

HUIW

Commendable
Oct 28, 2016
2
0
1,510
My laptop is hooked up to the internet via ethernet and I would like to turn it into a router for my mobile devices. I use CMD and run as Admin. I use the following commands,

netsh wlan set hostednetwork mode=allow ssid=testing123456 key=testingpassword123456

netsh wlan start hostednetwork

It's been working for awhile but sometimes I would have to close CMD and redo the commands because I can't seem to find the network on my phone... On top of that when I do redo everything it says my password is "incorrect" when its clearly not. I'm not sure what I'm doing wrong. Internet Connection Sharing is allowed in the properties of my local area network as well. Is there a limit on how long I can leave this on for? I pretty much leave it on 24/7 IF I can... I hope someone can help me with this issue, thank you so much for your time! P.S. I'm running Windows 7.