Saturday, 26 March 2011

Deploy Junk E-mail Lists Throughout Your Organization

As we know, we can set Outlook's "Safe Senders list", "Block Senders list" and "Safe Recipients list" to help people protect Spam. However, allowing all users to modify their lists is time-consuming and inconvenient. Now, we can use the following steps to deploy such lists throughout your organization (we will use "Safe Sender list" as example).
 
1. Create a share folder on server, say Junk E-mail, and give everyone read permission. Create a text file name SafeSender.txt. Input email addresses into file (one address one line).
2. Install "Microsoft Office 2003 Resource Kit" on the Domain Controller.
3. Start Active Directory Users and Computers (ADUC), Right Click on the OU in which users account is present, Go To "Properties", Click on "Group Policy" tab.
4. Select the Policy in effect, click on "Edit". It will open "Group Policy Object Editor". Right click on "Administrative Templates" under "User Configuration" -> All Tasks -> "Add/Remove Templates" -> Click on "Add" -> Select "Outlk11.ADM" and click "Open" -> Click "Close".
5. Expand "Microsoft Office Outlook 2003" under "Administrative Templates" -> Expand "Tools | Options" -> Expand "Preferences" -> Click on "Junk E-mail".
6. In the right pane double click on "Specify path to Safe Senders list".
7. Click on "Enabled" and under "Specify full path and filename to Safe Senders list" type UNC path of SafeSender.txt file (e.g.\\Server\JunkE-mail\SafeSenders.txt).
8. Double Click "Overwrite/Append Junk Email Import List" to configure if you want to keep user's own list.
9. Click on OK. Close "Group Policy Object Editor". Click OK again. Close Active Directory Users and Computers.
10. Log on to client machine and edit the following registry entry:
 
HKey_Current_User\Software\Microsoft\Office\11.0\Outlook\Options\Mail
DWORD = JunkMailImportLists
Value = 1
 
Note: This registry key should be deployed to the client machines for successfully deploying the Safe Senders List. We can use Group policy again to deploy this key. The value of this registry key will turn back to zero after Outlook applies the safe sender list from group policy. So if you need to modify the list, please change the value to 1 again.
 
11. Log off from the client machine and log on again.
12. Launch Outlook. Now you can see the email addresses in the Safe Sender list.
 
NOTE: The same procedure described above can be used to specify "Safe Recipients" and "Blocked Senders" list.
 
We also can use the Custom Installation Wizard or the Custom Maintenance Wizard to deploy such lists. Please refer to the following article for more information.

The problem now is,
I have export the regedit portion to junk.reg and include in the profile script and the system succesfully change the value from 0 to 1 in client computer. I tried to Enable this  "Overwrite/Append Junk Email Import List" to allow append but when I apply the setting it automatically change back to Disable..where to check for this to allow it Enable?

Wednesday, 23 March 2011

Windows Server 2008 Shortcut Keys

F5
Refresh the active window
F6
Cycle through screen elements in a window or on the desktop
F10
Activate the menu bar in the active program
ALT+F4
Closes the active item, or exit the active program
ALT+ESC
Cycle through items in the order in which they were opened
ALT+UP ARROW
View the folder one level up in Windows Explorer
ALT+TAB
Switch between open items
ALT+SPACEBAR
Open the shortcut menu for the active window
ALT+underlined letter
Perform the menu command (or other underlined command) and displays the corresponding menu
ALT+ENTER
Displays properties for the selected item
CTRL+Mouse scroll wheel
Change the size of icons on the desktop
CTRL+SHIFT+ESC
Opens Task Manager
CTRL+Windows logo key+F
Search for computers on the network
ESC
Cancels the current task
LEFT ARROW
Opens the next menu to the left, or close a submenu
RIGHT ARROW
Opens the next menu to the right, or open a submenu
SHIFT+F10
Displays the shortcut menu for the selected item
Windows logo key (or CTRL+ESC)
Open or closes the Start menu
Windows logo key+F4
Displays the Address bar list in Windows Explorer
Windows logo key+D
Displays the desktop
Windows logo key+E
Open Computer
Windows logo key+F
Searches for a file or folder
Windows logo key+L
Lock your computer or switch users
Windows logo key+M
Minimize all windows
Windows logo key+R
Opens the Run dialog box
Windows logo key+T
Cycle through programs on the taskbar
Windows logo key+U
Open the Ease of Access Center and choose accessibility features
Windows logo key+SHIFT+M
Restores minimized windows to the desktop
Windows logo key+PAUSE
Displays the System Properties dialog box

shortcut keys


1

ShortcutCommandHow useful(?)
CTRL combination shortcut keys

Microsoft Excel 2007

CTRL+SHFT+(Unhides any hidden rows within the selection. +       –
CTRL+SHFT+)Unhides any hidden columns within the selection. +       –
CTRL+SHFT+&Applies the outline border to the selected cells. +       –
CTRL+SHFT_Removes the outline border from the selected cells. +       –
CTRL SHFT ~Applies the General number format in Microsoft Excel. +       –
CTRL+SHFT+$Applies the Currency format with two decimal places (negative numbers in parentheses). +       –
CTRL+SHFT+%Applies the Percentage format with no decimal places. +       –
CTRL+SHFT+^Applies the Exponential number format with two decimal places. +       –
CTRL+SHFT+#Applies the Date format with the day, month, and year. +       –
CTRL+SHFT+@Applies the Time format with the hour and minute, and AM or PM. +       –
CTRL+SHFT+!Applies the Number format with two decimal places, thousands separator, and minus sign (-) for negative values. +       –
CTRL+SHFT+*Selects the current region around the active cell (the data area enclosed by blank rows and blank columns). In a PivotTable, it selects the entire PivotTable report. +       –
CTRL+SHFT+:Enters the current time. +       –
CTRL+SHFT+Copies the value from the cell above the active cell into the cell or the Formula Bar. +       –
CTRL SHFT Plus ( )Displays the Insert dialog box to insert blank cells in Microsoft Excel. +       –
CTRL+Minus (-)Displays the Delete dialog box to delete the selected cells. +       –
CTRL+;Enters the current date. +       –
CTRL+`Alternates between displaying cell values and displaying formulas in the worksheet. +       –
CTRL+'Copies a formula from the cell above the active cell into the cell or the Formula Bar. +       –

CTRL+1Displays the Format Cells dialog box. +       –
CTRL+2Applies or removes bold formatting. +       –
CTRL+3Applies or removes italic formatting. +       –
CTRL 4Applies or removes underlining in Microsoft Excel. +       –
CTRL+5Applies or removes strikethrough. +       –
CTRL+6Alternates between hiding objects, displaying objects, and displaying placeholders for objects. +       –
CTRL+8Displays or hides the outline symbols. +       –
CTRL+9Hides the selected rows. +       –
CTRL 0Hides the selected columns in Microsoft Excel. +       –
CTRL+ASelects the entire worksheet. If the worksheet contains data, CTRL+A selects the current region. Pressing CTRL+A a second time selects the current region and its summary rows. Pressing CTRL+A a third time selects the entire worksheet. When the insertion point is to the right of a function name in a formula, displays the Function Arguments dialog box. CTRL+SHFT+A inserts the argument names and parentheses when the insertion point is to the right of a function name in a formula. +       –
CTRL+BApplies or removes bold formatting. +       –
CTRL+CCopies the selected cells. CTRL+C followed by another CTRL+C displays the Clipboard. +       –
CTRL+DUses the Fill Down command to copy the contents and format of the topmost cell of a selected range into the cells below. +       –
CTRL+FDisplays the Find and Replace dialog box, with the Find tab selected. SHFT+F5 also displays this tab, while SHFT+F4 repeats the last Find action. CTRL+SHFT+F opens the Format Cells dialog box with the Font tab selected. +       –
CTRL+GDisplays the Go To dialog box. F5 also displays this dialog box. +       –
CTRL+HDisplays the Find and Replace dialog box, with the Replace tab selected. +       –
CTRL IApplies or removes italic formatting in Microsoft Excel. +       –
CTRL+KDisplays the Insert Hyperlink dialog box for new hyperlinks or the Edit Hyperlink dialog box for selected existing hyperlinks. +       –
CTRL+NCreates a new, blank workbook. +       –
CTRL ODisplays the Open dialog box to open or find a file. CTRL SHFT O selects all cells that contain comments in Microsoft Excel. +       –
CTRL+PDisplays the Print dialog box. CTRL+SHFT+P opens the Format Cells dialog box with the Font tab selected. +       –
CTRL+RUses the Fill Right command to copy the contents and format of the leftmost cell of a selected range into the cells to the right. +       –
CTRL+SSaves the active file with its current file name, location, and file format. +       –
CTRL TDisplays the Create Table dialog box in Microsoft Excel. +       –
CTRL+UApplies or removes underlining. CTRL+SHFT+U switches between expanding and collapsing of the formula bar. +       –
CTRL+VInserts the contents of the Clipboard at the insertion point and replaces any selection. Available only after you have cut or copied an object, text, or cell contents. +       –
CTRL+WCloses the selected workbook window. +       –
CTRL+XCuts the selected cells. +       –
CTRL YRepeats the last command or action, if possible in Microsoft Excel. +       –
CTRL+ZUses the Undo command to reverse the last command or to delete the last entry that you typed. CTRL+SHFT+Z uses the Undo or Redo command to reverse or restore the last automatic correction when AutoCorrect Smart Tags are displayed. +       –
 
Function keys

Microsoft Excel 2007

F1Displays the Microsoft Office Excel Help task pane. CTRL+F1 displays or hides the Ribbon, a component of the Microsoft Office Fluent user interface. ALT+F1 creates a chart of the data in the current range. ALT+SHFT+F1 inserts a new worksheet. +       –
F2Edits the active cell and positions the insertion point at the end of the cell contents. It also moves the insertion point into the Formula Bar when editing in a cell is turned off. SHFT+F2 adds or edits a cell comment. CTRL+F2 displays the Print Preview window. +       –
F3Displays the Paste Name dialog box. SHFT+F3 displays the Insert Function dialog box. +       –
F4Repeats the last command or action, if possible. CTRL+F4 closes the selected workbook window. +       –
F5Displays the Go To dialog box. CTRL F5 restores the window size of the selected workbook window in Microsoft Excel. +       –
F6Switches between the worksheet, Ribbon, task pane, and Zoom controls. In a worksheet that has been split (View menu, Manage This Window, Freeze Panes, Split Window command), F6 includes the split panes when switching between panes and the Ribbon area. SHFT+F6 switches between the worksheet, Zoom controls, task pane, and Ribbon. CTRL+F6 switches to the next workbook window when more than one workbook window is open. +       –
F7Displays the Spelling dialog box to check spelling in the active worksheet or selected range. CTRL+F7 performs the Move command on the workbook window when it is not maximized. Use the arrow keys to move the window, and when finished press ENTER, or ESC to cancel. +       –
F8Turns extend mode on or off. In extend mode, Extended Selection appears in the status line, and the arrow keys extend the selection. SHFT+F8 enables you to add a nonadjacent cell or range to a selection of cells by using the arrow keys. CTRL+F8 performs the Size command (on the Control menu for the workbook window) when a workbook is not maximized. ALT+F8 displays the Macro dialog box to create, run, edit, or delete a macro. +       –
F9Calculates all worksheets in all open workbooks. SHFT F9 calculates the active worksheet in Microsoft Excel. CTRL ALT F9 calculates all worksheets in all open workbooks, regardless of whether they have changed since the last calculation. CTRL ALT SHFT F9 rechecks dependent formulas, and then calculates all cells in all open workbooks, including cells not marked as needing to be calculated. CTRL F9 minimizes a workbook window to an icon. +       –
F10Turns key tips on or off. SHFT F10 displays the shortcut menu for a selected item in Microsoft Excel. ALT SHFT F10 displays the menu or message for a smart tag. If more than one smart tag is present, it switches to the next smart tag and displays its menu or message. CTRL F10 maximizes or restores the selected workbook window. +       –
F11Creates a chart of the data in the current range. SHFT+F11 inserts a new worksheet. ALT+F11 opens the Microsoft Visual Basic Editor, in which you can create a macro by using Visual Basic for Applications (VBA). +       –
F12Displays the Save As dialog box. +       –
 
Other useful shortcut keys

Microsoft Excel 2007

ARROW KEYSMove one cell up, down, left, or right in a worksheet. CTRL+ARROW KEY moves to the edge of the current data region (data region: A range of cells that contains data and that is bounded by empty cells or datasheet borders.) in a worksheet. SHFT+ARROW KEY extends the selection of cells by one cell. CTRL+SHFT+ARROW KEY extends the selection of cells to the last nonblank cell in the same column or row as the active cell, or if the next cell is blank, extends the selection to the next nonblank cell +       –
BACKSPACEDeletes one character to the left in the Formula Bar in Microsoft Excel. Also clears the content of the active cell. In cell editing mode, it deletes the character to the left of the insertion point. +       –
DELETERemoves the cell contents (data and formulas) from selected cells without affecting cell formats or comments. In cell editing mode, it deletes the character to the right of the insertion point. +       –
ENDMoves to the cell in the lower-right corner of the window when SCROLL LOCK is turned on. Also selects the last command on the menu when a menu or submenu is visible. CTRL+END moves to the last cell on a worksheet, in the lowest used row of the rightmost used column. If the cursor is in the formula bar, CTRL+END moves the cursor to the end of the text. CTRL+SHFT+END extends the selection of cells to the last used cell on the worksheet (lower-right corner). If the cursor is in the formula bar, CT +       –
ENTERCompletes a cell entry from the cell or the Formula Bar, and selects the cell below (by default). In a data form, it moves to the first field in the next record. Opens a selected menu (press F10 to activate the menu bar) or performs the action for a selected command. In a dialog box, it performs the action for the default command button in the dialog box (the button with the bold outline, often the OK button). ALT+ENTER starts a new line in the same cell. CTRL+ENTER fills the selected cell range +       –
ESCCancels an entry in the cell or Formula Bar in Microsoft Excel. Closes an open menu or submenu, dialog box, or message window. It also closes full screen mode when this mode has been applied, and returns to normal screen mode to display the Ribbon and status bar again. +       –
HOMEMoves to the beginning of a row in a worksheet. Moves to the cell in the upper-left corner of the window when SCROLL LOCK is turned on. Selects the first command on the menu when a menu or submenu is visible. CTRL+HOME moves to the beginning of a worksheet. CTRL+SHFT+HOME extends the selection of cells to the beginning of the worksheet. +       –
PAGE DOWNMoves one screen down in a worksheet. ALT+PAGE DOWN moves one screen to the right in a worksheet. CTRL+PAGE DOWN moves to the next sheet in a workbook. CTRL+SHFT+PAGE DOWN selects the current and next sheet in a workbook. +       –
PAGE UPMoves one screen up in a worksheet. ALT+PAGE UP moves one screen to the left in a worksheet. CTRL+PAGE UP moves to the previous sheet in a workbook. CTRL+SHFT+PAGE UP selects the current and previous sheet in a workbook. +       –
SPACEBARIn a dialog box, performs the action for the selected button, or selects or clears a check box. CTRL+SPACEBAR selects an entire column in a worksheet. SHFT+SPACEBAR selects an entire row in a worksheet. CTRL+SHFT+SPACEBAR selects the entire worksheet. If the worksheet contains data, CTRL+SHFT+SPACEBAR selects the current region. Pressing CTRL+SHFT+SPACEBAR a second time selects the current region and its summary rows. Pressing CTRL+SHFT+SPACEBAR a third time selects the entire worksheet. Wh +       –
TABMoves one cell to the right in a worksheet. Moves between unlocked cells in a protected worksheet. Moves to the next option or option group in a dialog box. SHFT TAB moves to the previous cell in a worksheet or the previous option in a dialog box in Microsoft Excel. CTRL TAB switches to the next tab in dialog box. CTRL SHFT TAB switches to the previous tab in a dialog box.


AD Domains and Trusts
domain.msc
Active Directory Management
admgmt.msc
AD Sites and Services
dssite.msc
AD Users and Computers
dsa.msc
ADSI Edit
adsiedit.msc
Authorization manager
azman.msc
Certification Authority Management
certsrv.msc
Certificate Templates
certtmpl.msc
Cluster Administrator
cluadmin.exe
Computer Management
compmgmt.msc
Component Services
comexp.msc
Configure Your Server
cys.exe
Device Manager
devmgmt.msc
DHCP Management
dhcpmgmt.msc
Disk Defragmenter
dfrg.msc
Disk Manager
diskmgmt.msc
Distributed File System
dfsgui.msc
DNS Management
dnsmgmt.msc
Event Viewer
eventvwr.msc
Indexing Service Management
ciadv.msc
IP Address Manage
ipaddrmgmt.msc
Licensing Manager
llsmgr.exe
Local Certificates Management
certmgr.msc
Local Group Policy Editor
gpedit.msc
Local Security Settings Manager
secpol.msc
Local Users and Groups Manager
lusrmgr.msc
Network Load balancing
nlbmgr.exe
Performance Monitor
perfmon.msc
PKI Viewer
pkiview.msc
Public Key Management
pkmgmt.msc
QoS Control Management
acssnap.msc
Remote Desktops
tsmmc.msc
Remote Storage Administration
rsadmin.msc
Removable Storage
ntmsmgr.msc
Removable Storage Operator Requests
ntmsoprq.msc
Routing and Remote Access Manager
rrasmgmt.msc
Resultant Set of Policy
rsop.msc
Schema management
schmmgmt.msc
Services Management
services.msc
Shared Folders
fsmgmt.msc
SID Security Migration
sidwalk.msc
Telephony Management
tapimgmt.msc
Terminal Server Configuration
tscc.msc
Terminal Server Licensing
licmgr.exe
Terminal Server Manager
tsadmin.exe
UDDI Services Management
uddi.msc
Windows Management Instrumentation
wmimgmt.msc
WINS Server manager
winsmgmt.msc


Troubleshooting Active Directory & DNS


1.  Verify that the source domain controller is using a valid DNS server for DNS services, and that the source domain controller's host record and CNAME record are correctly registered, using the DNS Enhanced version of DCDIAG.EXE available on http://www.microsoft.com/dns

dcdiag /test:dns

2.Verify that the DNS Server service is running.

If the destination domain controller is configured to use a local DNS server, verify that the DNS Server service is running. To do this, type net start “DNS Server” at a command prompt, and then press ENTER.
3. Register DNS resource records in DNS.

The Net Logon service on a domain controller registers the DNS resource records that are required for the domain controller to be located in the network. To manually initiate this registration on the source domain controller, type the following at a command prompt, and then press ENTER after each command:

net stop "net logon"

net start "net logon"


4. The DNS Client service registers the host (A) resource record that the CNAME record points to. To initiate this registration on the source domain controller, type ipconfig /registerdns at a command prompt, and then press ENTER.
5. Force replication on the source and destination domain controllers.
a.                   On the destination domain controller, open Active Directory Sites and Services.
  1. In the console tree, click NTDS Settings for the domain controller that you want to force replication on.
  2. In the details pane, right-click the connection that you want to use to replicate directory information, and then click Replicate Now.
You can also use the repadmin and replmon command-line tools. These tools are available on your Windows Server 2003 installation CD. (The repadmin command is repadmin /syncall /d /e /P source_domain_controller.)

6. You can also use the Netdiag.exe and Dcdiag.exe command-line tools to troubleshoot DNS and Active Directory infrastructure issues. Both tools are available online or on the Windows Server 2003 installation CD. To download these tools, visit the Windows Server 2003 Resource Kit Tools Web page:
7.  NBTSTAT helps to troubleshoot the NETBIOS name resolutions problems.

8.
HOSTNAME
9. NSLOOKUP
10. ARP
ARP displays and modifies IP to Physical address translation table that is used by the ARP protocols.
11. FINGER
Finger command is used to retrieve the information about a user on a network.
12.  Use the nltest /dsgetdc:domainname command to verify that a domain controller can be located for a specific domain. The NLTest tool is installed with the Windows XP support tools.
13. Delete the DNS zones.
14.
Use ipconfig /flushdns command.
15. Recreate the DNS zones.
16.
Restart Net Logon service
17. Use ipconfig /registerdns