A little something about everything

internet marketing and website development made simple..

How to generate a self signed PEM file on windows using IIS.

First if you have not already install the IIS role on your windows system.

Open IIS and choose the top level folder(your server) then choose Server Certificates

Now choose Create Self Signed Certificate from the far right

friendly name should be the DNS name of the device you need to create the pem file for, then choose ok.

Now open the certificate manager on your system, to do this run mmc

File > Add/Remove snap-in

Choose Certificates > Add > Computer account > Next > Local computer > Finish > OK

Now expand the certificates folder you create the cert in, by default this is Personal > Certificates.

right click on the certificate you created and choose all tasks > export > next > No, > next > Base-64 > next > 

pick a file name

filename.cer

Now, you can rename the .cer file to .pem and that's it you're done.

Unable to access UNC server address from remote location | Logon failure: the user has not been granted the requested logon type at this computer.

This can be one of the most frustrating errors because your UNC path may work from some computers but not others. If you are receiving this error the following steps should solve the issue.

Go to Control Panel

  • change the view by to small icons
  • select "User Accounts"
  • select "Manage your credentials"
  • select "Windows Credentials"
  • then "Add a Windows Credential"

 

Now enter your UNC server and share path for example: \\UNCServer\SharedFolder 

Username and password, then click OK.

Now you should be able to access your UNC share from the windows explorer shell.

Windows 10 Professional mouse stutter/lag Fix

One of the most annoying things about Windows 10 is random mouse lag/stutter. To clarify if you move your mouse in a constant circle and it pauses every few seconds this is the fix.

Disable Cortana!

Cortana is constantly recording and sending data to Microsoft, which causes system performance issues. This is most apparent on slower internet connections but can also be seen on all systems based on how much data Cortana is collecting and sending back to Microsoft.

Warning! Incorrectly editing your system registry can cause your system to stop functioning. Follow instructions accurately.

To disabled Cortana do the following:

  • "Windows" Key + "R" Key to open the run command
  • type in "regedit"
  • Navigate to "Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows"
  • Right click the "Windows" key folder and choose New > Key
  • Name this new key "Windows Search"
  • Now Right click the "Windows Search" key folder and choose New > DWORD (32-bit) Value
  • Name this "AllowCortana"
  • Close the registry editor and restart your computer.

That's it, your done. Mouse lag/stuttering should be fixed.

maxview Storage Manager - Error message: Login Failed: Internal Error Occurred

This can be caused if you've changed your administrative account user to improve security on a server.

In order to resolve this issue you will need to stop the max view services in this order:

Then edit cimserver_planned.conf in your maxview storage manager, default path is:

C:\Program Files\Adaptec\maxView Storage Manager\pegasus\cimserver_planned.conf

open with text editor and alter the line from

enableAuthentication=true

to

enableAuthentication=false

It may look something like this: 

save and exit the conf file.

Now start the maxview Storage Manager services in this order:

Now you can login with your admin account correctly.

 

Intermittent Error: "an internal error has occurred" using remote desktop to a windows server virtual machine from windows 10

This can occur with with to many rdp connection attempts, someone may be trying to break into your computer/server. 

Check your resource monitor network usage, if you see many connections (10, 20+) with svchost.exe (termsvcs) then someone is attempting to break into the system.

Its best practice to limit RDP connections to specific IP addresses or via a VPN to prevent this. However, in some cases this may not be possible, so you may change the port number which may help mitigate the attack.

WARNING, Incorrectly editing your registry can cause your system to become non functional. Proceed at your own risk.

open regedit, and go to "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp" then select the PortNumber REG_DWORD entry and change the value data in Decimal to the new port number. Restart the service or system to make the change active.,

Solution #2

It can also be cause when a windows servers is running on vmware or hyper-v and in some cases with a stand alone server where hardware has changed. In most cases this error starts after virtual machine resource changes, or some windows updates.

The solution:

On the computer you are connecting to...

Open GPEdit

Then go to Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Security

Then choose Require use of specific security layer for remote (RDP) connections

Enable > then choose Security Layer: RDP

Reboot the system.

Done.

note: I am not actually sure of the actual cause of this error, if someone has some details please share them below.