Technology Blog

Widgets

Archive for the ‘Networking’ Category

Change RDP Port Number

Here’s a quick reference to change the remote desktop protocol port number. This is helpful if you have multiple servers you need to access on a corporate LAN or if you want to create a backdoor for your business computer. Make sure to open the port in your firewall too!

1. Start Registry Editor.
2. Locate and then click the following registry subkey:
HKLM\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp\PortNumber
3. On the Edit menu, click Modify, and then click Decimal.
4. Type the new port number, and then click OK.
5. Quit Registry Editor.

Firewall Greyed out in SBS Environment

Yet again a case where SBS trys to think for you. Like me, you probably checked the default domain policy and found nothing under firewall and started to scratch your head.

Go here:

Server Mgmet > Advance Mgmt > Group Policy > right click SBS Firewall > Edit > then browse to the Group Policy under Network Connections

You can edit the policy and get your firewall settings for your users back..or simply delete the GPO and work in the default policy as normal.

530 User cannot log in, home directory inaccessible

For those setting up FTP in AD mode on Windows 2003 Server, here are some things to keep in mind:

Make sure you use iisftp /setadprop ftpdir
Make sure you use iisftp /setadprop ftproot

Where ftproot = c:\inetpub\ftproot (or whatever root directory you want)
Where ftpdir = test (or whatever you name the folder)

In the above example, the file permissions and structure should be set for:
c:\inetpub\ftproot\test

If it still doesn’t work, make sure you right-click the user properties in active directory and look at the security tab. Each user that needs FTP access has to have “read” set for authenticated users.

If you have any issues, please ask…

Also applies to Event ID 13
Could not access home directory

RAS Registers DHCP Address in DNS

This caused some serious havoc on a client’s network for half a day. I setup RAS as normal, and it worked great for about 5 days. All of a sudden, clients couldn’t access the mail server.

I check DNS and found an extra record of the mail server in there. I checked the NIC to make sure there were no extra IP’s bound to it. At first, I thought someone else might have named their machine the same asa the server..and thought..no way.

I went into RAS and saw a DHCP address for the mail server! I figured it had to be DNS. Sure enough, the “interface” tab in the DNS properties was accepting all IP’s. Here’s the fix:

1. Start DNS Manager.
2. Right-click the computer name, and then click Properties.
3. Click the Interfaces tab, and then click Only the following IP addresses.
4. Remove any Routing and Remote Access IP addresses that are listed.

Hope this helps!

Anonymous Network Printing Windows 2003

If you’re dealing with a client or company that has roaming laptops, you definitely want a way to have anonymous printing. After all, it’s such a pain to have to authenticate these users or guests. You would think that giving “everyone” permissions full access on both NTFS and the printer share would do the trick. Nope..not true. Even if you go into GPO and enable “everyone” to include anonymous logins, it still won’t work. The only way to get this route to work is to turn on the “guest” account and open a lot of holes during authetication through SAM configuration, etc. Regardless, it’s a mute point….THERE’S A BETTER WAY!!

Welcome to “Internet Printing” through IIS. When installing IIS through Windows Add/Remove, make sure to check the “Internet Printing” box in the IIS sub-menu (right above NNTP and SMTP). This will install a virtual directory in your “default web site” called “printers”.

Here’s the next step and most important. Right click the “printers” virtual directory in IIS and go to properties. The “directory security” tab is where all the magic happens. As you probably guessed, you want to allow “anonymous access”. Now, go to the IP Address and Restrictions. Deny all access except your companies/clients subnet. If you don’t this this step, and you have port 80 forwarding through your firewall, anyone will be able to print and view your printers.

Navigate to: http://servername/printers

You will see your servers printers (assuming you already installed them). You can click on a printer then view it’s properties in the left menu. You will see the path to the printer. Copy this path for when installing a new printer on a laptop.

Next, simple go to the laptop and “add printer”. Then choose the “connect” option and type the http:// path from above.

Viola!

Here’s the corresponding KB article:
http://support.microsoft.com/kb/323428

© ZADRO Solutions, Inc. All Rights Reserved. Disclaimer | Privacy Policy
RSS Facebook Digg Delicious Stumble Upon Twitter