Tuesday, July 6, 2010

how to find ntp server in domain

I'm assuming that you're looking for the server used by the W32Time service to perform time sync on domain-member computers.
In a stock Active Directory deployment the only computer configured with a time server explicitly will be computer holding the PDC Emulator FSMO role in the forest root domain. All domain controllers in the forest root domain synchronize time with the PDC Emulator FSMO role-holder. All PDC Emulator FSMO role-holders in child domains synchronize their time with domain controllers in their parent domain (including, potentially, the PDF Emulator FSMO role-holder in the forest root domain). All domain member computers synchronize time with domain controller computers in their respective domains.
To determine if a domain member is configured for domain time sync, examine the REG_SZ value at HKLM\System\CurrentControlSet\Services\W32Time\Parameters\Type. If it is set to "Nt5DS" then the computer is synchronizing time with the Active Directory time hierarchy. If it's configured with the value "NTP" then the comptuer is synchronizing time with the NTP server specified in the NtpServer REG_SZ value in the same registry key.
The low-level details of the time synchronization protocol are available in this article: How Windows Time Service Works
Beware that not every domain controller (the KDC's, as James directs you in finding via DNS in his post) may be running a time service. In a stock AD deployment every domain controller will be, but some deployments may use virtualized domain controllers that have the W32Time service disabled (to facilitate hypervisor-based time synchronization) and, as such, you would probably do well to implement functionality as described by the "How Windows Time Service Works" article if you're developing a piece of software that needs to synchronize time in the same manner that a domain member computer would.

some useful commnds
net time
Re-sync: w32tm /resync /nowait
Re-sync to computer: w32tm /resync /nowait /computer:computername
Double check if its working: w32tm /monitor /domain:mydomain.com
See settings: w32tm /dumpreg /subkey:parameters
Then look at the Type:
NoSync: The client does not synchronize time.
NTP: The client synchronizes time from an external time source. Review the values in the NtpServer line in the output to see the name of the server or servers that the client uses for time synchronization.
NT5DS: The client is configured to use the domain hierarchy for its time synchronization.
AllSync: The client synchronizes time from any available time source, including domain hierarchy and external time sources.
Registry settings found here: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters] "NtpServer"="" "Type"="NT5DS"

Monday, July 5, 2010

Cannot start Microsoft Office Outlook. Cannot open the Outlook window

When you start Outlook 2007, you receive the following error:
Cannot start Microsoft Office Outlook. Cannot open the Outlook window.

Cause
This problem can occur when file that maintains the Navigation Pane settings bec...

This problem can occur when file that maintains the Navigation Pane settings becomes corrupted. This file is called profilename.xml, where profilename is the name of your Outlook profile. This file is stored in the following folder:
  • Windows XP

    C:\Documents and Settings\username\Application Data\Microsoft\Outlook
  • Windows Vista, Windows 7

    C:\Users\username\AppData\Roaming\Microsoft\Outlook
A good indication this file is corrupted is when the file size is 0 KB.

Resolution
To resolve this problem, use the following steps. On the Start menu click Run....

To resolve this problem, use the following steps.
  1. On the Start menu click Run.
  2. In the Run dialog box, type the following command:

    Outlook.exe /resetnavpane

    Note:
    There is a space between "Outlook.exe" and "/resetnavpane"
  3. Click OK.
Note If you are using Windows Vista or Windows 7, you may not see Run on the Start menu. In this situation, use the following steps to locate the Run option.
  1. On the Start menu click All Programs.
  2. Click Accessories.
  3. Click Run.

More Information
You can use the following steps to determine the name of your Outlook profile....

You can use the following steps to determine the name of your Outlook profile.
  • Windows XP
  1. Open Control Panel.
  2. Switch to Classic View.
  3. Double-click Mail.
  4. Click Show Profiles.
  5. Note the name of your Outlook profile on the General tab.
  6. If you see more than one profile on the General tab, the default profile is listed in the drop-down control under When starting Microsoft Office Outlook, use this profile.
  7. Click OK to close the Mail control panel.
  • Windows Vista, Windows 7
  1. Open Control Panel.
  2. In the Search Control Panel box, type Mail.
  3. Click Mail.
  4. Click Show Profiles
  5. Note the name of your Outlook profile on the General tab
  6. If you see more than one profile on the General tab, the default profile is listed in the drop-down control under When starting Microsoft Office Outlook, use this profile.
  7. Click OK to close the Mail control panel.

Wednesday, June 30, 2010

Windows Server 2008 R2 and BranchCache

Driven by challenges of reducing the costs and complexity of Branch IT, organizations are seeking to centralize applications. However, as organizations centralize applications, the dependency on the availability and quality of the wide-area network (WAN) link increases. The increased utilization of the WAN link is a direct result of centralization, as is the degradation of application performance. Recent studies have shown that despite the reduction of costs associated with WAN links, WAN costs are still a major component of enterprises’ operational expenses.
BranchCache in the Windows 7 and Windows Server 2008 R2 operating systems can help increase network responsiveness of centralized applications when accessed from remote offices, giving users in those offices the experience of working on your local area network. BranchCache also helps reduce WAN utilization.
When BranchCache is enabled, a copy of data accessed from intranet Web and file servers is cached locally within the branch office. When another client on the same network requests the file, the client downloads it from the local cache without downloading the same content across the WAN.
Watch a video about BranchCache
BranchCache can operate in one of two modes:
  • Distributed Cache. Using a peer-to-peer architecture, Windows 7 client computers cache copies of files and send them directly to other Windows 7 client computers, as needed. Improving performance is as easy as enabling BranchCache on your Windows 7 client and Windows Server 2008 R2-based computers. Distributed Cache is especially beneficial for branch offices that do not have a local server.
  • Hosted Cache. Using a client/server architecture, Windows 7 client computers cache content to a computer on the local network running Windows Server 2008 R2, known as the Hosted Cache. Other clients who need the same content retrieve it directly from the Hosted Cache. The Hosted Cache computer can run the Server Core installation option of Windows Server 2008 R2 and can also host other applications.
The following diagram illustrates these two modes:
Hosted cache and distributed cache
BranchCache can improve the performance of applications that use one of the following protocols:
  • HTTP and HTTPS. The protocols used by Web browsers and many other applications, such as Internet Explorer or Windows Media, among others
  • SMB (including signed SMB traffic). The protocol used for shared folders
BranchCache only retrieves data from a server when the client requests it. Because it is a passive cache, it will not increase WAN utilization. BranchCache only caches read requests and thus will not interfere with a user saving a file.
BranchCache improves the responsiveness of common network applications that access intranet servers across slow links. Because it does not require any infrastructure, you can improve the performance of remote networks simply by deploying Windows 7 to client computers, deploying Windows Server 2008 R2 to server computers, and enabling BranchCache.
BranchCache works seamlessly alongside network security technologies, including SSL, SMB Signing, and end-to-end IPsec. You can use BranchCache to reduce network bandwidth utilization and to improve application performance, even if the content is encrypted

Application Has Failed to Start Because Framedyn.dll Was Not Found

When you double-click System in Control Panel, or when you right-click My Computer and then click Properties, you may receive the following error message:
rundll32.exe - Unable To Locate Component

This application has failed to start because framedyn.dll was not found. Re-installing the application may fix this problem.

CAUSE
This behavior can occur if either of the following conditions is true: The %SYS...

This behavior can occur if either of the following conditions is true:
  • The %SYSTEMROOT%\System32\Wbem\framedyn.dll file is missing or damaged.

    -or-
  • The Windows Path environment variable does not point to the %SYSTEMROOT%\System32\Wbem folder.

RESOLUTION
To resolve this issue, use both of the following methods. Replace the Framedyn...

To resolve this issue, use both of the following methods.

Replace the Framedyn.dll File

  1. Click Start, and then click Run.
  2. In the Open box, type %systemroot%\system32\dllcache, and then click OK.
  3. Right-click framedyn.dll, and then click Copy on the shortcut menu that appears.
  4. Click Start, and then click Run.
  5. In the Open box, type %systemroot%\system32\wbem, and then click OK.
  6. On the Edit menu, click Paste. If you are prompted to replace the existing file, click Yes.

Verify System Variables

  1. Click Start, right-click My Computer, and then click Properties on the shortcut menu that appears. If you receive the following error message, click OK:
    rundll32.exe - Unable To Locate Component

    This application has failed to start because framedyn.dll was not found. Re-installing the application may fix this problem.
  2. In the System Properties dialog box, click the Advanced tab.
  3. Click Environment Variables.
  4. Under System variables, click Path, and then click Edit.

    NOTE: If no Path variable is listed, click New. In the Variable name box, type Path.
  5. In the Variable value box, type the following:
    %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\wbem
  6. Click OK three times (each time that you have the option).

Tuesday, June 29, 2010

Clear your local DNS cache

Sometimes when you repair your local area connection from the local area connection status window, you find out that your DNS cache could not be cleared and whatever you do, the cache will not clear up. So here’s the cool way of doing it..


Open your command prompt and type the following command:

C:\>net stop dnscache

If it says that the dnscache is not started then type the following command:

C:\>net start dnscache

It will start your local dns cache. Now try flushing your dns cache by issuing the following command:

C:\>ipconfig /flushdns

It will most probably clear your dns cache and display the results for you.

If you want to see what is in your local dns cache at this time, issue this command to find out:

C:\>ipconfig /displaydns



This can also be done as:



Go to run and type services.msc

select DNS Client, select automatic from drop down menu and start the service.

Thursday, June 24, 2010

Your account does not have access to the vault containing this item' is generated when trying to open an archived item

Exact Error Message
Your account does not have access to the vault containing this item. Try using the same logon details you would use to log on to Microsoft Exchange Server. Alternatively you may ask your administrator to grant you access to the vault."
Details:
"Enterprise Vault is retrieving your item...Your password may be required..." when trying to open an archived email. (Figure 1)
Figure 1
 
Additionally,another window appears with the following information "Your account does not have access to the vault containing this item." (Figure 2)

Figure 2
 

This error can be generated by multiple issues and the following items should be checked:
  • Verify using the same logon details used to log on to the Microsoft Exchange Server.  
  • The account used needs to have access to the vault containing the item.
  • May be an issue with the Enterprise Vault add-in. See Related Documents regarding the ResetEVClient utility to resolve this issue.
  • Add the Enterprise Vault server names to the Exchange Mailbox Policy. On the Advanced tab, select Outlook and modify the Add server to Intranet Zone setting.

Monday, June 21, 2010

there was problem connecting to microsoft office outlook

Office Communicator 2007 and Outlook 2007 Integration Error

After installing the Office Communicator 2007 client you may have two errors indicating that there is a problem with Communicator’s integration with Outlook.
The first error refers to a required hotfix that you can download directly from the link provided in the “Information” dropdown in the Communicator client. Simply select the link in the dropdown and install the patch.
Integration Error

The second possible error is a bit more cryptic.
“There was a problem connecting to Microsoft Office Outlook. The e-mail address used in your default Outlook profile is different from the sign-in address used in Communicator.  Change your default Outlook profile to match the sign-in address you are using in Communicator, and then sign out and sign back in to Communicator.”
This occurs because your Outlook profile was created with an address that is different from the default sip address used when activating the Communicator settings for your user profile in Active Directory.  For example: If your AD login is jsmith@fuzzy.net, Communicator will use that address as your default sip login.  However, if your default SMTP address is something different, such as john.smith@fuzzy.net, Outlook will default to that address when creating your mail profile.  To correct this issue, you need to delete your Outlook profile and recreated it using the jsmith@fuzzy.net SMTP address.
To accomplish this, open your Outlook client and go to “Tools/Account Settings..” and select “Microsoft Exchange Server” from the “E-mail” tab and press the “Remove” icon to delete the profile.  Once, deleted, you can now re-create the account by selecting the “New…” icon and then the “Microsoft Exchange, POP3, IMAP, or HTTP” service and filling out the “Add New E-mail Account” using the SMTP address that matches your sip address.
WARNING: Removing and adding an Outlook profile should not cause any loss of mail, however, anytime you alter configurations on a production system, make sure to get a complete backup first!
If the preceding fails to fix your integration issue, you may have a problem with your mapi32.dll. The mapi32.dll file controls the sending and receiving of messages between Outlook and other applications. If an application install replaced a newer version of mapi32.dll with an older version, Outlook integration could fail. To replace mapi32.dll with the most recent version available on your PC, run the command fixmapi.exe and reboot your PC. Note that if mapi32.dll is marked read-only, this command will fail.