Category: Windows

June 12th, 2015 by ronny

Allow port forwarding to Remote Desktop

port forwarding to remote desktop
Using remote desktop from outside your home is a convenient way to work on your home computers/servers when your are away. Most my computers and servers are running Linux, and I mostly use SSH to access them. But I have a Windows Server too and here is how I connect to it from outside my home via port forwarding to remote desktop.

The port you need to forward to remote desktop (rdp) is 3389. And you should have set a static ip to the computer you want to access via remote desktop. How it is done in your router vary from router to router. So you better check your manual for how to set the port forwarding.

In this case I set my router to forward port 3389 to 192.168.1.153.
But to access this computer from outside of your home, you also need to know your routers public ip. If you have a dynamic public ip this can change every time you try to log on. Many routers support services like DynDNS which gives you an url you can access. That url stays the same no matter how often your public ip changes. So you dont have to remember or check your public ip every time you go away.

To use DynDNS you usually just create an free account with them, and insert the username and password into the router. Your router will then handle the rest, like updating your public ip with DynDNS every time it changes. If you router doesn’t support DynDNS (or any similar services), you could also download a small program from their website. That program will do the same thing, updating your public ip every time it changes.

So this is how you can do port forwarding to remote desktop.

Happy remoting!

Posted in Internet, Windows

remove search protect
April 30th, 2015 by ronny

I assume you need to remove search protect virus. Or it’s not really a virus. Just an annoying malware. This is, fortunately, one of the easier malware to remove. Search Protect is not directly harmful, more annoying. Check below on how to remove search protect.

I found this piece of software on my kid’s computer. And it looks like a browser hijacker software. Of course, you will not find it your Programs list in your Control Panel, so there is no obvious uninstaller available to you. However they have been kind enough to provide an uninstaller, you just need to find it first.

Remove Search Protect

The first step is to press ctrl+alt+del and open your Task Manager. Go to the process list, and if you are using Windows 7, click “Show processes from all users”. Your list should now expand into a lot more processes. Look for a process called HPnotify.exe. Right-click and select “Open file location”.

When your file browser window opens, you will see a file called uninstall.exe. Just double click that to run it. Once the installer is completed the HPnotify.exe file should be gone from your process window. Your system is now free from search protect.

That’s it on how to remove search protect from your computer.

You might find any of my other windows related articles interesting.

Happy removal!

SearchProtect icon

Posted in Win 7, Win 8, Windows Tagged with: , ,

March 6th, 2015 by ronny

Network-Ip-Address-iconHow do you find your ip? This is actually a two part question. First do you want your global ip or your local ip?

A global ip is the ip you use on the internet. This ip is provided to you by your internet service provider (ISP). The easiest way for you to find your global ip is to visit http://www.whatsmyip.org.

A local ip is the ip on your local (or private) network. The ip your local wifi router (or any other local router) with a DHCP server. DHCP meaning Dynamic Host Configuration Protocol. All private or local networks should have ip addresses in these ranges:
10.0.0.0 – 10.255.255.255
172.16.0.0 – 172.31.255.255
192.168.0.0 – 192.168.255.255

But how do I find my local ip?
This depends on what kind of operating system you are using.
On a windows machine, open command line (press the windows key, and type cmd + ) and type in ipconfig + . You should see something like this. IPv4 Address is your local ip.
local-ip-windows

 

 

 

On a Linux machine open terminal and type ifconfig (you need to be root or using sudo). And you should see something like this. Where is says inet addr is your local ip.
linux-local-ip

 

 

On a unix or a Mac (OS X), open terminal and type netstat -in
And you should see something like this. Here is your local ip.
unix-local-ip

 

Happy iping!

Posted in Linux, Mac, Windows

January 15th, 2015 by ronny

Web-Server-iconIf you are running web applications or hosting websites on IIS, and have your IIS logging enabled. You are in risk of running out of disk space. Of course the logging is needed for debugging and such. If it is not in use, cleared periodically I think you should just disable it.

Here is how to disable IIS logging:
Open IIS Manager, and select the server in the left hand pane.
Select the logging icon, and click Stop in the right hand pane.

If the logging icon can not be found. It is because the logging function is not installed. And if it is not needed, just keep it that way. You will find it in Role Service, under IIS.

Happy logging!

Posted in Server 2008, Windows

December 29th, 2014 by ronny

G12-Web-IE-iconSometimes this just needs to be done. And here is a show how to uninstall Internet Explorer 11.

How to:
——-
1) Go to control panel > Programs > Programs and features.
2) Go to Windows Features and disable Internet Explorer 11
3) Then click on Display installed updates
4) Search for Internet explorer
5) Right click Internet Explorer > Uninstall
6) Restart your computer

Have a happy IE11 free day

Posted in Server 2008, Windows

November 30th, 2014 by ronny

filezilla-rsa-screenshotHere is how to connect to your sftp account with FileZilla using RSA certificate. You will need to refer to my previous article if you haven’t already created the certificate. The link to Debian/Ubuntu  – Use RSA certificate with Putty. After you have created the certificate, you can continue on this article. After you have created the certificate, it doesn’t take much to setup FileZilla.

In FileZilla go to Edit -> Settings. In the settings window, select SFTP. Then select Add Keyfile, and select the private ppk file you made with the Puttygen tool as shown in previous article. You are now ready to connect to your server. So to connect to my test server, I type in sftp://192.168.1.103, and ronny as username and connect.

And thats it, happy uploading!

Posted in Linux, Software, Windows

November 19th, 2014 by ronny

Places-certificate-server-iconHere is how to connect to a Debian based server using RSA certificate with Putty. First thing you need is to download Puttygen, and you will find that on putty’s offical download page here.

Puttygen

puttygen3
Start puttygen.exe and click generate. Now you need to move the mouse pointer around at the empty area at the top of puttygen. This is to generate random information for you RSA key. After the progress bar is full, you RSA certificate (both public and private) is generated.

Enter a not easy to guess password in the passphrase field. It will work fine without a passphrase, but it is for your extra security. It is not needed when you log into your server. It may also be a good idea to change key comment to something useful. Like example john-laptop, if your name is john and this is on your laptop.

Click Save public key. And save it somewhere on your computer.
Then click Save private key. This should be saved somewhere where only you can access it.

Server

Log on to your Debian server like you normally do, and make sure you are in your home folder. Then we need first to create a place for our ssh keys.

mkdir .ssh
chmod 700 .ssh
cd .ssh
vim authorized_keys

Now you need to paste your key information from puttygen into authorized_keys. Here is an example of the key. Make sure it starts with ssh-rsa

ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAocbZcf1/YVDYLVdAZBR62SYsurkRbEAQSgBHhxkFjEf/omW+IkO2BEhEYcdjRDNCSWguIiGMi1pkIjoNwNg5aEimuDIQpy+FX6D1lAiiTFhUEGgBcR7XLxNY+rcdhQpZ0Iu5BXMHGsI7pSCZMOjPElJ4NmIU0uA00Qj7NDMEMDeT3n8v9ccxMcB2l1nr0JARuLaffm9QGcLXS+wbMLf3OJ/m6rjX3UjKuvG8PvNO0zTWRqBQ6vk7huu1OHIUwVDGa9uOd9ftJ9UhYJL2L2aKd6kZpGAm8c5etyRLad47oC3NE1VF1KfPPYxI1TjatEnB3cQTbceqU7Lwkl+ztkDwMQ== john vaio-laptop

That’s it for the server part, now we need to configure Putty.

Putty

To make it work with Putty, we need to save a Putty session. So start with entering the ip or domain address for your server into the host field.
Port will normally be 22.

In the category menu at the left side, click on Data under Connections. If you don’t want to type in your user name every time you connect, type in your username into auto-login username.

Expand the SSH menu, and select auth. Click on Browse, and locate your Private key.
Click Save.

Click on Session at the top of the category list at the left. And chose a name for your session in the Saved Session field. And then click Save. Do not click connect before clicking save, or you will have to config your putty again.

Now from your saved session list, you should be able to logon to your system without typing your username and password.

Happy sshing!

Posted in Debian, Linux Mint, Ubuntu, Windows

September 16th, 2014 by ronny

internet-explorer-iconOn web based systems, when getting automatic restarts, power loss, etc, it can be a pain with the re-open closed tabs feature in Internet Explorer. It’s not really possible to dissable it, but you can choose what to do. So you can set it to open a blank page instead. That is the same as dissabling the re-open closed tabs feature. Here is how to do it:

First open your contro panel, and go to Internet Options.
Then select tabs, as shown in the picture below.
tabs

 

 

In the next window, locate as shown in the picture below. Make sure to select “A blank page”.
new-tab

 

 

And voila, no more re-open closed tabs in your internet Explorer.

Happy surfing!

Posted in Server 2008, Win 7, Win 8, Win XP, Windows

September 3rd, 2014 by ronny

network-ring-iconHere is a cool (if you happens to need this) program for redirecting incoming nmea udp strings. Check it out here.

Happy redirecting!

Posted in Server 2008, Win 7, Win 8, Win XP, Windows

August 20th, 2014 by ronny

Maps-Satellite-Sending-Signal-icon

I’ve released a small cute little program to read UDP packets sent to your computer.
You can have a look, or download it here.

udp-listener

Posted in Server 2008, Win 7, Win 8, Win XP, Windows

Optimization WordPress Plugins & Solutions by W3 EDGE