Friday, November 21, 2008
 
  
 
Microsoft RDP Client

Mstsc

Creates connections to terminal servers or other remote computers, edits an existing Remote Desktop Connection (.rdp) configuration file, and migrates legacy connection files that were created with Client Connection Manager to new .rdp connection files.

For examples of how to use this command, see Examples [http://technet2.microsoft.com/WindowsServer2008/en/library/59801227-1e7e-4dbd-96e6-f54102a3ce921033.mspx#BKMK_examples] .

Syntax

mstsc.exe [<Connection File>] [/v:<Server>[:<Port>]] [/admin] [/f] [/w:<Width> /h:<Height>] [/public] [/span]
mstsc.exe /edit <Connection File>
mstsc.exe /migrate

Parameters

ParameterDescription

<Connection File>

Specifies the name of an .rdp file for the connection.

/v:<Server[:<Port>]

Specifies the remote computer and, optionally, the port number to which you want to connect.

/admin

Connects you to a session for administering the server.

/f

Starts Remote Desktop Connection in full-screen mode.

/w:<Width>

Specifies the width of the Remote Desktop window.

/h:<Height>

Specifies the height of the Remote Desktop window.

/public

Runs Remote Desktop in public mode. In public mode, passwords and bitmaps are not cached.

/span

Matches the Remote Desktop width and height with the local virtual desktop, spanning across multiple monitors if necessary.

/edit <Connection File>

Opens the specified .rdp file for editing.

/migrate

Migrates legacy connection files that were created with Client Connection Manager to new .rdp connection files.

/?

Displays help at the command prompt.

Remarks

Default.rdp is stored for each user as a hidden file in the user's Documents folder. User created .rdp files are saved by default in the user's Documents folder but can be saved anywhere.

To span across monitors, the monitors must use the same resolution and must be aligned horizontally (that is, side by side). There is currently no support for spanning multiple monitors vertically on the client system.

Examples

To connect to a session in full-screen mode, type:

mstsc /f

To open a file called filename.rdp for editing, type:

mstsc /edit filename.rdp

Additional references

Command-Line Syntax Key [http://technet2.microsoft.com/WindowsServer2008/en/library/338c0381-ad63-4a4c-bd2c-42c7a93821fe1033.mspx]

Terminal Services Command Reference [http://technet2.microsoft.com/WindowsServer2008/en/library/2f371848-5c48-470c-908c-afbc95d3a8051033.mspx]

>
 
>
Forgot your admin password?

Here is a “must have” tool for IT professionals. Yes, it can reset administrative password on some (if not most) Windows Systems - NT 4, all through Vista x86/x64. And yes, it can be used to “hack” computers or a hard drives as long as you can gain physical access and reboot the target system from your own media. I have found however, that it can be very useful for legitimate unlocks of the old backups or archived VMware images.

Download the binaries from http://home.eunet.no/~pnordahl/ntpasswd/. Make an ISO image to boot from or even go further – create a bootable USB drive and you are done.

Note:  Source and extensive FAQ is also available, courtesy of pnordahl@eunet.no

>
Can your computer do this?

Multi-monitor support within remote sessions is becoming a hot subject for VDI implementations. Here is a link to Virtual Display Manger that can do something like this within Microsoft RDP or Citrix ICA sessions. This is also an excellent supplement for local use when you can afford 30” high resolution monitor and would like to slice it into custom virtual displays:

Virtual Display Manager and Microsoft RDP

Fig.1. Can your computer do this?

>
Upgrade Vista Enterprise to Ultimate

There is a way to upgrade Windows Vista Enterprise to Ultimate (not enabled by default):

  • Before inserting the Windows Vista Ultimate CD go to, Start, Run: and type: regedit.exe
  • Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion
  • Change the key : ProductName from "Windows Vista ™ Enterprise” to “Windows Vista ™ Business”
  • Change the key: EditionID from "Enterprise" to “Business”

    Make sure you use legal licenses from Microsoft :)
>
How to Force EdgeSync Synchronization @ Exchange 2007 Sp1

You can use the Start-EdgeSynchronization cmdlet to force synchronization to start immediately. You may want to do this to start initial replication immediately after you create the Edge Subscription or if you have made significant changes to the configuration or recipients in Active Directory. The Start-EdgeSynchronization cmdlet resets the EdgeSync synchronization schedule. The time of the subsequent synchronization intervals is based on the time that this command is initiated.

Run the following command and specify the identity of a Hub Transport server that is located in the Active Directory site to which the Edge Transport server is subscribed if you are running the command remotely:

Start-EdgeSynchronization -Server <Hub Transport server name>

Source: Exchange Server 2007 SP1

>
Cloning an Existing Exchange 2007 Certificate

Exchange 2007 creates a self-signed certificate during installation that uses all the server and domain names that are known to Exchange at the time of installation. These certificates are valid for 12 months. In some cases, it may make sense to clone these certificates if the Subject and Subject Alternative Names can be used for other computers. Be aware that only the certificate metadata and not the key sets are cloned.

To run the following cmdlets on a computer that has the Edge Transport server role installed, you must log on by using an account that is a member of the local Administrators group on that computer.

To clone a new certificate from an existing certificate, you must first identify the current certificate for the domain by running the following command:
Get-ExchangeCertificate –DomainName mail1.mydomain.com

The first certificate that is listed in the output is the default SMTP TLS certificate for the server. To clone the certificate, run the following command:

Get-ExchangeCertificate –Thumbprint c4248cd7065c87cb942d60f7293feb7d533a4afc | New-ExchangeCertificate

Where the value for Thumbprint is from the first certificate that was listed in the output for Get-ExchangeCertificate.

This command extracts the names from the existing certificate that are identified by the thumbprint and uses them in the new self-signed certificate.

Source: Exchange 2007

>
Microsoft XNA Game Studio 2.0
 XNA Studio 2.0Brief Description
Microsoft XNA Game Studio is a revolutionary toolset and technology that makes creating great video games for Windows-based computers and the Xbox 360 console (with an active XNA Creators Club membership) easier than ever.

Related Resources

XNA FAQ

>