PowerShell Add-WindowsFeature unrecognized

This is probably because the PowerShell script is being launched from a 32 bit instance of PowerShell. The ServerManager commands are only available from 64 bit version of PowerShell. See: Can’t access ServerManager module via PowerShell –Edit – To add to jbsmith’s comments— Extra things to try: When you ran the Get-Command cmdlt: gcm | … Read more

An error occurred in the secure channel support – Classic ASP HTTP Request

I have had the exact same problem after migrating from 2003 to 2008 R2 and found the solution. Change: Set objhttp = Server.CreateObject (“MSXML2.ServerXMLHTTP.6.0”) to: Set objhttp = Server.CreateObject (“MSXML2.XMLHTTP.6.0”) and your problem will go away. I tried to find the pros and cons about both objects, but haven’t yet found a reason to not … Read more

“The password you entered is incorrect” when importing .pfx files to Windows certificate store

I ran into the same problem with OpenSSL 3 and Windows Server 2012 R2. However, I eventually put together the correct combination of parameters. This seems to work: openssl pkcs12 -export -certpbe PBE-SHA1-3DES -keypbe PBE-SHA1-3DES -nomac -inkey contoso.com.key -in contoso.com.crt -out contoso.com-legacy.pfx

Windows Server 2012 R2 and IIS affected by Heartbleed exploit? [closed]

IIS is not vulnerable as it does not use the OpenSSL library Update, quote Troy Hunt: Not all web servers are dependent on OpenSSL. IIS, for example, uses Microsoft’s SChannel implementation which is not at risk of this bug. Does that mean that sites on IIS are not vulnerable to Heartbleed? For the most part, … Read more

Powershell: Set a Scheduled Task to run when user isn’t logged in

I do not like or approve of the currently highest rated answer as then you have to know your credentials into a script to do this and can’t do this from something like Packer or some other system/configuration automation. There is a better/proper way to do this which Aeyoun mentioned but didn’t go into details … Read more

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