Group Policy

Citrix policy gone after editing

Problem:

Citrix policies are gone after editing.

Solution:

Restore \\Domain\SYSVOL\domain\Policies\{UniqueID}\User\Citrix\GroupPolicy\Policies.gpf

Links:

Delete Specific Printer Connection

Problem:

When migrating a print driver or moving to another print server you would like to delete existing connections to the printer.

Solution:

Create a Log-on or Logoff script to remove the printer connections based on print server or based on Print driver:

Based on driver:

strComputer = “.”
Set objWMIService = GetObject(“winmgmts:” _
    & “{impersonationLevel=impersonate}!\\” & strComputer & “\root\cimv2”)

Set colInstalledPrinters =  objWMIService.ExecQuery _
    (“Select * from Win32_Printer Where DriverName = ‘Printdriver'”)

For Each objPrinter in colInstalledPrinters
    objPrinter.Delete_
Next

Where ‘Printdriver’ is the name of the print driver when looking at the Print server properties.

Based on print server:

strComputer = “.”
Set objWMIService = GetObject(“winmgmts:” _
    & “{impersonationLevel=impersonate}!\\” & strComputer & “\root\cimv2”)

Set colInstalledPrinters =  objWMIService.ExecQuery _
    (“Select * from Win32_Printer Where ServerName like ‘Printserver'”)

For Each objPrinter in colInstalledPrinters
    objPrinter.Delete_
Next

Where ‘Printserver’ is the name of the old print server.

Links:

Office UserInfo all the same

Problem:

All users are having the same UserInfo within Office.

Solution:

To resolve this issue for new users in a current Terminal Services deployment, the Administrator should do the following:

  1. Close all Office programs.
  2. Click Start, click Run, type regedit, and then click OK or type regedit in the Start Search box and then select regedit.exe
  3. Locate the following key and then right-click and delete the Username and UserInitials values:

HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\Install\Software\Microsoft\Office\Common\UserInfo

         To resolve the issue for all users in a new Terminal Services deployment, the Adminstrator should do the following:

  1. Select Customize during installation and clear the Username and Initials values
  2. Edit the <Office_Edition>.WW\Config.xml file in Notepad with Username set to empty value (“”): <USERNAME Value=”” />
  3. Remove the Username and UserInitials values after installation, as described above, from the registry key:

HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\Install\Software\Microsoft\Office\Common\UserInfo

To resolve the issue for all users in a Existing Terminal Services deployment, the Adminstrator should do the following:

  1. Create a Registry preference were you delete the following key’s:4
  2. HKCU\Software\Microsoft\Office\Common\UserInfo –> UserInitials and
  3. HKCU\Software\Microsoft\Office\Common\UserInfo –> UserName

 

UserInitials

UserName

Common

Links:

http://support.microsoft.com/kb/2001595

Update ADMX files for Windows 8.1 and Windows 2012 R2 on Windows 2008 R2 domain

Problem:

You would like to manage Windows 8.1 and Windows 2012 R2 through GPO from Windows 2008 R2 domain without updating your domain.

Solution:

Download and install the Administrative Templates (.admx) for Windows 8.1 Update and Windows Server 2012 R2 Update and copy the definitions to your central store.

\\Domain\SYSVOL\Domain\Policies\PolicyDefinitions

To see what’s new: Group Policy Settings Reference for Windows and Windows Server

Links:

http://www.microsoft.com/en-us/download/details.aspx?id=43413&WT.mc_id=rss_alldownloads_all