Friday, September 27, 2013

Shortcut Keys that works with Remote Desktop

The following is a list of the Remote Desktop Services shortcut keys.
Shortcut key Description.....
ALT+PAGE UP Switches between programs from left to right.
ALT+PAGE DOWN Switches between programs for right to left.
ALT+INSERT Cycles through the programs in the order they were started.
ALT+HOME Displays the Start menu. CTRL+ALT+BREAK Switches the client between full-screen mode and window mode.
CTRL+ALT+END Brings up the Windows Security dialog box.
ALT+DELETE Displays the Windows menu.
CTRL+ALT+MINUS SIGN (-) Places a snapshot of the active window, within the client, on the Remote Desktop Session Host (RD Session Host) server clipboard (provides the same functionality as pressing ALT+PRINT SCREEN on the local computer).
CTRL+ALT+PLUS SIGN (+) Places a snapshot of the entire client windows area on the RD Session Host server clipboard (provides the same functionality as pressing PRINT SCREEN on the local computer).


Monday, September 2, 2013

Change Local or domain user Password from the Command Prompt

One can change Local User / domain user Password from the Command Prompt by using 'net user' command. This is very usefull specially when you work on remote machines and access RDP within RDP(where ALT+CTRL+END doesn't work) and want to change you domain user password. In my case I wanted to change my domain user pwd on a Server 2008 remote machine, where Alt+Ctrl+End or Del is the only way to change your pwd(i couldn't find any other :P ).

To change a user's password at the command prompt, one should have administrator or required rights.

Syntx:- C:\Users\nMohammad>net user nMohammad * /domain

When you are prompted to type a password for the user, type the new password, not the existing password. After you type the new password, the system prompts you to retype the password to confirm. The password is now changed.

Alternatively, you can type the following command:
C:\Users\nMohammad>net user nMohammad asd#123 /domain, where "asd#123" is a new password.
When you do so, the password changes without prompting you again.

To change password of a administrator or local user account do this,

C:\Users\nMohammad>net user nMohammad asd#1234,  where "asd#123" is a new password.

Note:- In case if you don't have sufficient privilage, when attempt to change the password you will get a "Access is denied" error message.


Tuesday, July 23, 2013

How to import cached contacts from an .nk2 file into Outlook 2010

Unlike Outlook 2003/2007, Outlook 2010 no longer uses .NK2 files to cache email addresses for its AutoSuggest/AutoComplete feature. Instead, it now stores these addresses in a Suggested Contacts folder.


When you upgrade to Outlook 2010, the .NK2 file is automatically imported when you start Outlook 2010 for the first time.

However, when you will use a new computer, or create a new mail profile, you can import the .NK2 file this way:

Copy your current .NK2 file from the following folder:

 Windows 7

C:\Users\%username%\AppData\Roaming\Microsoft\Outlook

Windows XP

C:\Documents and Settings\%username%\Application Settings\Microsoft\Outlook

Now Re-copy this same file into same folder in your new computer or new mail profile.

Rename the .NK2 file to the name of your mail profile. Your default mail profile name is “outlook”, so if this is the case, you will rename this file to “outlook.nk2”.

(To check the name of your mail profile, go to Control Panel -> Mail -> Show Profiles).

Start Outlook 2010 with the /importnk2 switch by doing the following:

Windows 7

On the Start menu search box, type outlook.exe /importnk2

Windows XP

On the Start menu, click Run, then type outlook.exe /importnk2,

This cmd will import contacts from old version's .nk2 file to Outlook 2010 suggested contacts folder. 
Thats it....Now Outlook will show you contact suggestions..... enjoy :)


Tuesday, July 16, 2013

Remove custom views from all Outlook folders at once

Today when I was checking my mails, outlook got crashed and when I reopen it, its mail view was different for many folders. To reset mail view to default you may use below listed cmd......

Windows XP


Start-> Run: outlook.exe /cleanviews

Windows Vista and Windows 7

Start-> type: outlook.exe /cleanviews

Windows 8

Start Screen-> type: outlook.exe /cleanviews

Note: There is a space between outlook.exe and /cleanviews.