Archiv für die Kategorie „Group Policy“
Error “[strings] section is too long” beim editieren einer Group Policy

Logo Microsoft WindowsBeim editieren oder anschauen eine Group Policy mit dem Group Policy Editor (GPE) kann es vorkommen, dass nachfolgende Fehlermeldung beim Lesen eines ADM-Template erscheint:

The following entry in the [strings] section is too long and has been truncated.

Im KB 842933 beschreibt Microsoft die Ursache für dieses Problem:

This problem occurs because older versions of the Group Policy editor cannot interpret some string types that include more than 255 characters. These string types are included in parts of .adm files that are meant to be excluded by the “IF VERSION” construct.

Typically, the problem occurs when you try to view or modify a GPO that has been viewed by a different workstation, and that workstation contains .adm files that use the “IF VERSION >=5″ construct. When an administrative workstation views a GPO, the workstation automatically updates that GPO with the latest version of the .adm files. If the workstation’s .adm files are newer than the files that are contained in the Adm folder of the domain GPO, the template files are updated. If the template files contain the “IF VERSION >=5″ construct, when an administrative workstation tries to modify or to view the GPO, and the workstation does not have this hotfix installed, the errors occur.

Mit dem Hotfix von Microsoft aus dem genannten KB kann dieses Problem ganz einfach behoben werden.

Group Policy ADM Files

Logo Microsoft WindowsFür neue Microsoft Produkte müssen für die Konfiguration mittels Group Policy auch neue Administrative Templates, sprich ADM Files geladen werden. Microsoft stellt die für die eigenen Produkte im Download Center zur Verfügung:

Windows Server 2003 – SP1 / Windows XP – SP2 / Windows 2000 – SP4

Internet Explorer 7.0

Office 2007 system / Windows Vista / Windows Server 2008

Power-Options als non-Administrator

Logo Microsoft WindowsFür Notebook-User ist es besonders ärgerlich, wenn die Energiesparoptionen “falsch” eingestellt wurden. Mittels zwei Registry-Keys kann nun auch ein “non-Administrator” seine Energiesparoptionen selber einzustellen. Damit diese Konfiguration als User vorgenommen werden kann, muss auf folgenden Registry-Keys eine entsprechende Gruppe, zum Beispiel “Domain Users”, die Berechtigung “Full Control” erteilt werden:

Key: HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Controls Folder\PowerCfg\GlobalPowerPolicy
Entry: -

Key: HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Controls Folder\PowerCfg\PowerPolicies
Entry: -

Diese Einstellung könnte auch mittels Group Policy auf die betroffenen Clients verteilet werden. Die Einstellung dazu findet man unter: Computer Configuration | Windows Settings | Registry. Wenn im Control Panel die entsprechenden Icons ausgeblendet wurden, nicht vergessen das “powercfg.cpl” wieder einzublenden: User Configuration | Administrative Templates | Show only specified Control Panel applets.

Disclaimer

Bevor die Registry bearbeitet wird, sollte ein Backup erstellt und vergewissert werden, dass bei einem Problem ein Restore der Registry durchgeführt werden kann. Die unkorrekte Verwendung eines Registry-Editors kann schwerwiegende Probleme verursachen, die eine Neuinstallation des Betriebssystems erforderlich macht. Die Anpassung erfolgt auf eigene Verantwortung.

  • Microsoft KB 141377: Differences between Regedit.exe and Regedt32.exe
  • Microsoft KB 322756: How to back up and restore the registry in Windows
“Policy Reporter” wertet lokale Protokolldateien aus

Der Policy Reporter von SysPro Software hilft beim Verwalten und Überprüfen von Gruppenrichtlinien. Die Freeware wertet die lokalen Protokolldateien aus, welche durch Windows beim Abarbeiten der Gruppenrichtlinien angelegt werden (userenv.log), und stellt sie als übersichtliche Baumstruktur dar.

About Policy Reporter

It reformats the log provided in %systemRoot%\Debug\UserMode to give a more meaningful display. It provides a tree structure on the left which shows major events reported in the Log. Selecting an entry in the tree structure displays that section of the log in the view window. It also has a “Performance History” tab that loads Group Policy Performance information from the registry, including the time taken to apply the policies and what policies were applied.

Policy Reporter makes it much easier to understand how Microsoft implements Policy Processing.

Source

Die Source für Policy Reporter kann direkt bei SysPro Software heruntergeladen werden, zum Download… Wichtig! Natürlich gibt es andere Lokationen welche weitere Downloads anbieten, es sollte allerdings nur offizielle Builds und Download Centers aufgesucht werden. Zitat Forrest Gump: “Man weiss nie, was man kriegt.”

  • Version: 4.1.6
  • Date Published: 2007-11-01
  • Language: Englisch
  • Format: *.msi
  • Publisher: SysPro Software
  • License: Freeware