22 de setembro de 2015

Configuring external time source on your Primary Domain Controller

  1. Find out what your primary domain controller (PDC) is for your domain by executing the following powershell commands from any machine in the domain
    1. [System.DirectoryServices.ActiveDirectory.Forest]::GetCurrentForest().RootDomain.PdcRoleOwner.Name
      PowerShell - PdcRoleOwner
  2. Login to your primary domain controller
  3. Open up a command prompt/powershell window with administrative privilegesServer 2012 - PowerShell - Run as Administrator
  4. Execute the following command to configure the domain controller to look at an external time source
    1. w32tm.exe /config /manualpeerlist:”0.us.pool.ntp.org 1.us.pool.ntp.org 2.us.pool.ntp.org 3.us.pool.ntp.org” /syncfromflags:manual /reliable:YES /update
      w32tm config manualpeerlist syncfromflags manual ntp
      1. Notes: You can find the closest time server near you by browsing the following page and clicking on the nearest zone: http://www.pool.ntp.org/zone/@
  5. Execute the following command to actually perform a time synchronization with the external source
    1. w32tm.exe /config /update
      w32tm config update
  6. Execute the following command for the changes to take effect
    1. Restart-Service w32time
      Restart-Service w32time

Source: jackstromberg

Outlook Archive Problems

Outlook 2010

For Outlook 2010, the ArchiveIgnoreLastModifiedTime registry setting was introduced with the Microsoft Outlook 2010 hotfix package dated April 26, 2011 (KB2516474).
2516474 Description of the Outlook 2010 hotfix package (outlook-x-none): April 26, 2011

To create the ArchiveIgnoreLastModifiedTime registry value, follow these steps:
  1. Click Start, click Run, type regedit in the Open box, and then click OK.
  2. Locate and then click the following registry subkey:

    HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\Preferences
  3. On the Edit menu, point to New, click DWORD Value, type ArchiveIgnoreLastModifiedTime, and then press ENTER.
  4. Right-click ArchiveIgnoreLastModifiedTime, and then click Modify.
  5. In the Value data box, type 1, and then click OK.
  6. Exit Registry Editor.

Outlook 2013

To create the ArchiveIgnoreLastModifiedTime registry value, follow these steps:
  1. Click Start, click Run, type regedit in the Open box, and then click OK.
  2. Locate and then click the following registry subkey:

    HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Outlook\Preferences
  3. On the Edit menu, point to New, click DWORD Value, type ArchiveIgnoreLastModifiedTime, and then press ENTER.
  4. Right-click ArchiveIgnoreLastModifiedTime, and then click Modify.
  5. In the Value data box, type 1, and then click OK.
  6. Exit Registry Editor.

Restart requirement

You must restart Outlook after you add the ArchiveIgnoreLastModifiedTime registry.

View Startup programs

Start > Run

shell:startup
shell:common startup

10 de setembro de 2015

How to solve Windows cannot read the setting from unattended answer file

When it appears the command prompt digit notepad c:\autounattend.xml
You have to search the string <ProductKey> and below this insert a new line that contains the string
<Key></Key>
You don't have to insert a code, only the tags.
Save the file and relaunch manually the command X:\Windows\Hpssbem.exe again
The installation will end fine.