Archive for the ‘Windows’ Category

No telnet on Windows 2008 ?

Monday, August 4th, 2008

To enable / install telnet on Windows Server 2008 you can do the following: Open the Command line (start > run > cmd <<enter>>) Type in following command: pkgmgr /iu:TelnetClient <<enter>> If you need to install the Telnet Server you ...

Exchange 2007 services cannot start automatically

Monday, July 28th, 2008

When you install Microsoft Exchange Server 2007 on a global catalog server, Exchange 2007 services cannot start. However, you can start other services manually. Servers in this configuration may take a long time to shut down. SYMPTOMS When you install Microsoft Exchange Server 2007 on ...

T-SQL to attach database

Friday, July 4th, 2008

Attach a db to SQL Server 2005 using this T-SQL statement; sp_attach_db @dbname = 'yourdb', @filename1 = 'C:\Program Files\SWsoft\Plesk\Databases\MSSQLEXPRESS\MSSQL.1\MSSQL\Data\yourdb_Data.MDF'

Activate Remote Desktop Remotely

Wednesday, July 2nd, 2008

Use regedit on a server you can access and go to File > Connect Network Registry. Enter the IP or hostname of the server where you want to activate Remote Desktop. Go to this key; HKLM\System\CurrentControlSet\Control\Terminal Server\fDenyTSConnections Change the key value from 1 to 0.

Forward e-mail to external address with Exchange 2007

Thursday, May 29th, 2008

You can use following command using Exchange Management Shell: [PS] C:\Documents and Settings\Administrator>Set-Mailbox <username> -DeliverToMailboxAndForward:$True -ForwardingAddress name@externaldomain.tld -RecipientLimits 10 Or go to the Exchange Management Console: - Recipient Configuration - Mailbox - Mailbox properties - Mail Flow Settings - Delevery Options - properties - Enable forward to address Remark: If ...

Send-As with Exchange 2007

Thursday, May 29th, 2008

Sometimes you want to "send as" instead of send-on-behalf. If you want to send an e-mail with your account but don't want to see the recipient that it has been send with another account, you can use the send-as function in Exchange 2007. The only problem is that this option ...

Copy directories with xcopy

Wednesday, May 28th, 2008

When copying large directory structures in Windows (when moving to a new disc or server for example), you often encounter locked or inaccessible files which interrupt a normal file copy operation with Windows Explorer. xcopy will save you :) Use the following command to do it. The output will be ...

How to use CTRL+ALT+DEL in a Remote Desktop session

Tuesday, May 27th, 2008

When using Remote desktop, it's not possible to use ctrl+alt+delete. You can use ctrl+alt+end as alternate for this.

Test network performance with nuttcp

Monday, May 26th, 2008

Installation wget http://www.lcp.nrl.navy.mil/nuttcp/stable/rpm/nuttcp-5.3.1-1.i386.rpmrpm -i nuttcp-5.3.1-1.i386.rpm Run as server on target machine nuttcp -S Make sure tcp ports 5000 and 5001 are opened. Test target Basic without bandwidth limitation; nuttcp -i1 hostname With 40Mpbs bandwidth limitation; nuttcp -i1 -Ri40m hostname Output results like this; 4.8125 MB / ...

How to retrieve your Plesk admin password

Friday, April 11th, 2008

Retrieve your Plesk password on Windows: Log on to your webserver and go to start -> run -> cmd c:\cd "%plesk_bin%" The %plesk_bin% here stands for c:\program files\swsoft\plesk\admin\bin folder in case of 'by default' installation. By executing the command plesksrvclient -get you will get your Plesk password in a popup. Retrieve your Plesk password on ...