Tuesday, October 30, 2012

Migrate Printers from Server 2003 x32 to Server 2008 R2 x64 using Print Migrator 3.1

This article is the step-by-step process from migrating printers from Windows Server 2003 to Windows Server 2008 R2 x64 using the Printer Migration Wizard. If you are migrating Windows 2000 Server to Windows Server 2003, you must use Print Migrator 3.1. Print Migrator 3.1 will not work with Windows Server 2008. To migrate between Windows Server 2003 systems and Windows Server 2008 R2 x64 you must use the Print Migration Wizard.


Notes
* You cannot migrate directly from older operating systems (Windows NT Server 4.0, Windows 2000 Server) to Windows Server 2008 R2 x64.
* For an in-place upgrade of print servers, use the Print Migration Wizard to back up and restore the print server configuration. A standard system migration will not preserve print server information, and can result in print configuration data loss if the data has not been properly backed up before installing the new operating system.
* Windows 32-bit printer drivers don’t migrate to Windows 64-bit editions due to the changes in the way the kernel interacts with printers. For each printer on the x32 server, you must install a Windows 2008 R2 x64 compatible driver.
    Prereqs:
    • Use the Microsoft Print Migrator 3.1รข€ tool to backup the existing printers and drivers on the source 2003 server (optional but I recommend)
    • Install x64 drivers for each printer on the 2003 server. Windows Server 2008 R2 requires a native 64 bit driver. If the 64 bit driver is missing the Printer Migration Wizard will fail.
    • Install the Print and Document Services Tools via Features > Add Features Wizard > Remote Server Administration Tools > Role Administration Tools > Print and Document Services Tools
    Migration
    Launch Server Manager > Roles > Print and Document Services > Right-click Print Management and select Migrate Printers
    Chose Export printer queues and printer drivers to a file and click Next
    Click Browse or type in the source server name. Click Next.
    Review the objects that will be exported. Click Next.
    Click Browse and select location for the export file. Click Next.
    The export process begins.
    Export is complete. Click Next.
    Right-click on the print server name and select Import printers from a file
    Click Browse and select the export file to import. Click Next.
    Review the objects that will be imported Click Next.
    Select Keep existing printers and List all printers. Click Next.

    Import mode: Specifies what to do if a specific print queue already exists on the destination computer. (Keep or Overwrite)
    List in the directory: Specifies whether to publish the imported print queues in the Active Directory Domain Services.
    Convert LPR Ports to Standard Port Monitors: Specifies whether to convert Line Printer Remote (LPR) printer ports in the printer settings file to the faster Standard Port Monitor when importing printers.
    The import process begins.
    Verify that printers are active and shared.
    Post Migration Tasks
    • Verify each printer has a x32 and x 64 printer driver installed Properties > Sharing > Additional Drivers
    • If applicable, verify security settings on data sensitive printers (HR, Execs, Etc)
    • Review application events (using the custom-built View) with the Printbrm.exe source to determine whether further action is needed.
    • Connect to each printer and submit test page.
    Command line option
    You can also use the following command-line options to migrate print servers to Windows Server 2008 R2 x64
    To perform a remote backup:
    1. CD %WINDIR%\System32\Spool\Tools
    2. Printbrm -s \\ -b -f .printerExport
    To perform a remote restore:
    1. Printbrm -s \\ -r -f .printerExport

    Office 2007 and Windows 7 Slow saving file to the network

    In Windows 7, when saving MS Word document or MS Excel file to the shared folder in Windows 2008 R2 File Server it is very slow, like it hung up

    I research the solution and it works fine.


    You will need to disable SMB2 on the  server that holds the share folder.

    Add a REG_DWORD entry named Smb2 with a value of 0 to
    HKLM\System\CurrentControlSet\Services\LanmanServer\Parameters



    Then reboot the server.


    Tuesday, October 2, 2012

    Enable Single Item Recovery for a Mailbox


    Applies to: Exchange Server 2010 SP2
    Topic Last Modified: 2011-03-19
    You can use the Exchange Management Shell to enable single item recovery on a mailbox.
    Looking for other management tasks related to recovery items? Check out Managing Recoverable Items.
    You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Retention and legal holds" entry in the Mailbox Permissions topic.
    Ee633460.note(en-us,EXCHG.141).gifNote:
    You can't use the EMC to enable recoverable items.
    This example uses the Set-Mailbox command to enable single item recovery and sets the number of days that deleted items are retained.
    Set-Mailbox -Identity MBX01 -SingleItemRecoveryEnabled $True -RetainDeletedItemsFor 30
    
    Ee633460.note(en-us,EXCHG.141).gifNote:
    By default, the mailbox uses the deleted item retention settings of the mailbox database,
    but you can override the default can be overridden by setting it at the mailbox level for
    specific mailboxes.
    For detailed syntax and parameter information, see Set-Mailbox.

    Perform Single Item Recovery


    Applies to: Exchange Server 2010 SP2
    Topic Last Modified: 2012-07-23
    Single item recovery provides an additional layer of protection so that you can recover items accidentally deleted by a user or by automated processes such as the Managed Folder Assistant. Single item recovery simplifies recovery and reduces recovery time because you can recover items without recovering an entire mailbox or mailbox database from backup media.
    Ff660637.note(en-us,EXCHG.141).gifNote:
    In addition to using this procedure to search for and recover deleted items (which are moved to the Recoverable Items\Purges folder if either single item recovery or litigation hold is enabled), you can also use this procedure to search for items residing in other folders in the mailbox and to delete items from the source mailbox (also known assearch and destroy). For details, see Use Mailbox Search to Delete Messages.
    The method you use to search for and recover missing items depends on the client access license (CAL) for the mailbox you're searching. If the mailbox has an enterprise CAL, you can use the Multi-Mailbox Search feature in the Exchange Control Panel (ECP) or the New-MailboxSearch cmdlet in the Shell. These features also allow you to search multiple mailboxes simultaneously.
    You can also use the Search-Mailbox cmdlet in the Shell to search for and recover missing items. If the mailbox has a standard CAL, this is the only method you can use. If you use this cmdlet, you can search only one mailbox at a time.
    The following flowchart illustrates the different methods available for performing single item recovery.
    Performing single item recoveryTo search for and recover items, you must have the following information:
    • Source mailbox   This is the mailbox being searched.
    • Target mailbox   This is the discovery mailbox in which messages will be recovered. Exchange Setup creates a default discovery mailbox. If required, you can create additional discovery mailboxes. For details, see Create a Discovery Mailbox.
      Ff660637.note(en-us,EXCHG.141).gifNote:
      When using the Search-Mailbox cmdlet, you can also specify a target mailbox that isn't a discovery
      mailbox. However, you can't specify the same mailbox as the source and target mailbox.
    • Search criteria   Criteria include sender or recipient, or keywords (words or phrases) in the message.
    The process consists of two steps:
    1. Search   Searching for the missing items and recovering them to a discovery mailbox. 
    2. Restore   Restoring the items to the user's mailbox or a .pst file.
    Looking for other management tasks related to recoverable items? Check out Managing Recoverable Items.
    Before the item you want to recover is deleted, single item recovery must be enabled for a mailbox. For details, see Enable Single Item Recovery for a Mailbox.
    You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Multi-Mailbox Search" entry in the Messaging Policy and Compliance Permissions topic.
    Ff660637.note(en-us,EXCHG.141).gifNote:
    You can't use the EMC to search for and recover missing items.
    The first step in the recovery process is to search for messages in the source mailbox. Use one of the following methods to search a user mailbox and copy messages to a discovery mailbox.
    This example searches for messages in April Stewart's mailbox that meet the following criteria:
    • Sender: Ken Kwok
    • Keyword: Seattle
    Search-Mailbox "April Stewart" -SearchQuery "from:'Ken Kwok' AND seattle" -TargetMailbox "Discovery Search Mailbox" -TargetFolder "April Stewart Recovery" -LogLevel Full
    
    Ff660637.note(en-us,EXCHG.141).gifNote:
    When using the Search-Mailbox cmdlet, you can scope the search by using the SearchQuery
    parameter to specify a query formatted using Advanced Query Syntax (AQS). You can also use the
     SearchDumpsterOnly switch to search only items in the dumpster.
    For detailed syntax and parameter information, see Search-Mailbox.
    For details about how to perform a Multi-Mailbox Search in the ECP, see Multi-Mailbox Searches.
    You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Multi-Mailbox Search" entry in the Messaging Policy and Compliance Permissions topic.
    Ff660637.note(en-us,EXCHG.141).gifNote:
    You can't use the EMC to restore recovered items.
    After messages have been recovered to a discovery mailbox, you can restore them to the user's mailbox by using the Search-Mailbox cmdlet. You can also use the New-MailboxExportRequest and New-MailboxImportRequest cmdlets to export the messages to or import the messages from a .pst file.
    This example restores messages to April Stewart's mailbox and deletes them from the Discovery Search Mailbox.
    Search-Mailbox "Discovery Search Mailbox" -SearchQuery "from:'Ken Kwok' AND seattle" -TargetMailbox "April Stewart" -TargetFolder "Recovered Messages" -LogLevel Full -DeleteContent
    
    For detailed syntax and parameter information, see Search-Mailbox.
    In Microsoft Exchange Server 2010 Service Pack 1 (SP1), you can export messages from and import messages to .pst files without requiring the installation of Microsoft Outlook. To learn more about mailbox import and export, see Understanding Mailbox Import and Export Requests.
    This example uses the following settings to export messages from the folder April Stewart Recovery in the Discovery Search Mailbox to a .pst file:
    • Mailbox   Discovery Search Mailbox
    • Source folder   April Stewart Recovery
    • ContentFilter   april travel plans
    • PST file path   \\MYSERVER\HelpDeskPst\AprilStewartRecovery.pst
    New-MailboxExportRequest -Mailbox "Discovery Search Mailbox" -SourceRootFolder "April Stewart Recovery" -ContentFilter {Subject -eq "april travel plans"} -FilePath \\MYSERVER\HelpDeskPst\AprilStewartRecovery.pst
    
    For detailed syntax and parameter information, see New-MailboxExportRequest.
    This example uses the following settings to import messages from a .pst file to the folder Recovered By Helpdesk in April Stewart's mailbox:
    • Mailbox   April Stewart
    • Target folder   Recovered By Helpdesk
    • PST file path   \\MYSERVER\HelpDeskPst\AprilStewartRecovery.pst
    New-MailboxImportRequest -Mailbox "April Stewart" -TargetRootFolder "Recovered By Helpdesk" -FilePath \\MYSERVER\HelpDeskPst\AprilStewartRecovery.pst 
    

    Exchange 2010 Hub Transport - building an automated signature