use “netsh wlan set hostednetwork …” to create a wifi hotspot and the authentication can’t work correctly

Use these commands on a windows command prompt(cmd) with administrator privilege (run as administrator): netsh wlan set hostednetwork mode=allow ssid=tests key=tests123 netsh wlan start hostednetwork Then you go to Network and sharing center and click on “change adapter settings” (I’m using windows 7, it can be a little different on windows 8) Then right click … Read more

How to pass multiple arguments in processStartInfo?

It is purely a string: startInfo.Arguments = “-sk server -sky exchange -pe -n CN=localhost -ir LocalMachine -is Root -ic MyCA.cer -sr LocalMachine -ss My MyAdHocTestCert.cer” Of course, when arguments contain whitespaces you’ll have to escape them using \” \”, like: “… -ss \”My MyAdHocTestCert.cer\”” See MSDN for this.

Using netsh, bind an SSL certificate to a port number is failing

I fought with this forever to get my IIS Express to do SSL properly. It turns out my certificate was in the Trusted Root Certification Authorities store instead of the Personal Certificates store. This is what worked for me: Make sure your certificate is in “Certificates(Local Computer)/Personal/Certificates” netsh http add sslcert ipport=0.0.0.0:8732 certhash=0000000000003ed9cd0c315bbb6dc1c08da5e6 appid='{00112233-4455-6677-8899-AABBCCDDEEFF}’ SSL … Read more

What does a plus sign mean in a http url? -> http://+:80 [duplicate]

According to the MSDN documentation, there isn’t any difference except for the order in which the two are interpreted. For flexibility and ease of use, the HTTP Server API supports four different ways to specify hosts. The four host-specifier categories are listed below in order of precedence: Strong wildcard (Plus Sign) When the host element … Read more

Set proxy through windows command line including login parameters

If you are using Microsoft windows environment then you can set a variable named HTTP_PROXY, FTP_PROXY, or HTTPS_PROXY depending on the requirement. I have used following settings for allowing my commands at windows command prompt to use the browser proxy to access internet. set HTTP_PROXY=http://proxy_userid:proxy_password@proxy_ip:proxy_port The parameters on right must be replaced with actual values. … Read more

How to see what is reserving ephemeral port ranges on Windows?

Investigate and Free the Ports It appears that Hyper-V reserves random ports (or something Hyper-V related at least). Use netsh int ip show excludedportrange protocol=tcp to confirm that the ports that aren’t working are in the output. This has worked for me to free the ports up. It doesn’t seem intrusive to me (25 thumbs … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)