среда, 14 марта 2012 г.

Активация Windows Server Core 2008 R2


1)Настроить сетевые интерфейсы для доступа в интернет
2)Набрать следующие комманды –

slmgr.vbs /ipk <ключ>
slmgr.vbs /ato

среда, 7 марта 2012 г.

Управление Outlook 2007 с помощью групповых политик (часть 1)


Эта статья переведена силами и средствами компании Red Line Software. Размещение данного переведенного материала на других сайтах без разрешения компании Red Line Software запрещается.

[31 Марта 2009]

Введение

В этой серии статей мы воспользуемся групповыми политиками для помощи администраторам Exchange в управлении некоторыми функциями Outlook 2007. На форумах Microsoft Technet задается множество вопросов о конфигурации Outlook 2007, и решение большинства из них можно получить с помощью групповой политики. Я не могу помнить все эти вопросы, однако, вот некоторые темы, которые мы будем рассматривать в данной статье, и которые могут быть полезны в вашей среде: автоматическая настройка outlook, вложения outlook, PST, календарь и способы настройки конфигурации разрешения/запрещения (allow/deny) учетных записей POP3/IMAP4.

Установка файлов административных шаблонов Office 2007 System Administrative Template...

Итак, давайте загрузим файлы системных административных шаблонов Office 2007 System Administrative Template с Microsoft Download Center. Дважды нажмите на загруженном файле, после чего откроется страница лицензионного соглашения, прочтите соглашение, и если вы со всем согласны, нажмите Принимаю условия соглашения, а затем нажмите Продолжить. Этот процесс создаст три каталога и xls файл в каталоге, указанном во время процесса извлечения, как показано на рисунке 1.
Рисунок 1 Рисунок 1
Файл Office2007GroupPolicyAndOCTSettings.xls содержит три основных листа учета, первый говорит, какие файлы отвечают за каждую программу Office, в нашем случае мы будем использовать файлы Outlook12.* Второй лист учета содержит все параметры ADM, которые можно настроить в этом файле шаблона, а последний лист учета содержит все настройки, которые могут использоваться инструментом Office Customization Tool. В нашем примере мы будем использовать только второй лист учета этого файла, где мы можем в подробной форме найти все ключи системного реестра, возможные значения, пояснения, умолчания и возможные параметры, которые можно использовать с каждым элементом.
Теперь, когда мы знаем, как использовать excel файл, который идет с административными шаблонами Office 2007, мы можем перейти к добавлению этих шаблонов в нашу среду. Хорошей мыслью при работе с групповой политикой будет создание тестового организационного подразделения (Organization Unit – OU) и перемещение нескольких тестовых пользователей в это тестовое OU, создание групповой политики и ее подключение к тестовому OU, а также последующая проверка результатов на этих объектах. Наконец, необходимо документировать все процесс и создать стратегию отката ситуации при необходимости, после чего вы сможете абсолютно безопасно использовать политики Outlook в производственной среде.
Процедуры добавления шаблонов могут варьироваться в зависимости от вашей среды. Мы извлекли два различных формата (ADM или ADMX), где ADM файлы используются Windows Server 2003 и предыдущими версиями, а ADMX является новым форматом, принятым в Windows Server 2008 и последующих версиях. В следующем разделе мы рассмотрим процесс добавления пакетов шаблонов в обоих сценариях.

Windows Server 2008

В ОС Windows Vista и Windows Server 2008 файлы ADM замещены файлами ADMX, которые используют формат на основе XML для отображения параметров политики на основе реестра. Новый формат не храниться в каждом объекте групповой политики GPO, и мы можем использовать централизованное хранилище для этих шаблонов, а эти хранилища будут реплицироваться между контроллерами доменов в домене.
Если вы не создавали централизованное хранилище, можно это сделать сейчас, следуя нижеприведенным шагам:
  1. Войдите на контроллер домена от имени администратора
  2. Нажмите кнопку Пуск, Выполнить, впишите \\<Domain-Controller-Name> и нажмите OK
  3. Дважды нажмите на SYSVOL
  4. Дважды нажмите на <Your Domain FQDN>
  5. Нажмите на Политики
  6. Нажмите Файл, Новый и Папка
  7. Введите PolicyDefinitions (рисунок 2)
Рисунок 2 Рисунок 2
  1. Откройте новый каталог PolicyDefinitions
  2. Создайте каталог для каждого языка, поддерживаемого в вашей организации, используя формат En-US.
Заметка:следующий документ может помочь вам в проверке корректности вашего идентификатора местоположения.
Итак, у нас уже настроено центральное расположение (Central Location). Давайте заполним наше центральное расположение с помощью шаблонов Outlook 2007, которые мы извлекли в начале этой статьи. По сути, нам нужно переместить расширения admx в корень каталога PolicyDefinitions, а также adml расширения в папку вашего языка и местоположения, как показано на рисунке 3 и 4.
Рисунок 3 Рисунок 3
 Рисунок 4 Рисунок 4
Поскольку мы используем Windows Server 2008, нажимаем Пуск, Все программы, Администрирование и выбираем редактора Group Policy Management Editor. Выбираем OU, созданное для тестирования, нажимаем на нем правой клавишей, жмем Новый GPO, вводим имя нового GPO и нажимаем OK. Правой клавишей нажимаем на только что созданном GPO и выбираем опцию Редактировать (Edit).
Разворачиваем Конфигурацию пользователя (User Configuration), Политики (Policies), а затем разворачиваем Административные шаблоны (Administrative Templates): Дефиниции политик (Policy definitions) (ADMX файлы), полученные с центрального хранилища, разворачиваем Microsoft Office Outlook 2007, в результате чего видим все компоненты, которые можно настроить с помощью этой политики, как показано на рисунке 5.
 Рисунок 5 Рисунок 5

Windows Server 2003

Процесс добавления шаблонов в групповую политику Windows 2003 Group Policy достаточно прост. Мы можем редактировать групповую политику непосредственно из свойств объекта в закладке Групповая политика (Group Policy), или, используя консоль управления Group Policy Management Console, которую можно загрузить с сайта компании Microsoft.
Оба способа работают, как только мы откроем Групповую политику, разворачиваем Конфигурация пользователя (User Configuration), жмем правой клавишей на Административных шаблонах (Administrative Templates), нажимаем Добавить или удалить шаблоны (Add/Remove Templates), в новом окне жмем Добавить (Add..), находим файл outlk12.adm в извлеченных файлах пакета шаблонов Office 2007 Administrative Template, результат должен похож на тот, который показан на рисунке 6.
 Рисунок 6 Рисунок 6
В результате все групповые политики, связанные с Outlook 2007, будут показаны в списке, и можем начинать работу с ними.

Заключение

В этой первой части мы рассмотрели, как добавлять шаблоны Outlook 2007 в обе ОС (Windows Server 2003 и Windows Server 2008), используя форматы ADM или ADMX. В следующей части мы поработаем с существующими шаблонами для блокирования PST, фильтрации вложений, и блокирования пользователей с целью добавления POP3/IMAP4 профилей учетных записей в Outlook.

вторник, 21 февраля 2012 г.

Сохранение писем в "Оправленных" общего ящика

Consider the following scenario. You use Outlook 2010 and are a delegate for your manager. Even though the DelegateSentItemsStyle registry value is set to 1, an email message that you send on behalf of your manager is saved in your Sent Items folder.
Key: HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\Preferences
Name: DelegateSentItemsStyle
Type: DWORD
Value: 1
In earlier versions of Outlook, the same registry value forces the email message to be saved in the Sent Items folder of the person on whose behalf the message was sent.

пятница, 14 октября 2011 г.

Improving Default Monitoring

The monitoring capability within Essentials comes from Management Packs, and the majority Management Packs that work with Operations Manager also work with Essentials. This is great, because it means there is a wealth of deep monitoring that is available for Essentials.
During the Beta and RC period we’ve had lots of great feedback (please keep it coming), and some of this feedback has focused on the monitoring capabilities provided by Management Packs. This post covers the common feedback, and configuration changes to improve the monitoring experience for the following management packs:

Windows Client Operating System Management Pack

Alerts
There is an issue with the Windows 7 Client OS MP that will generate errors after the initial import of the management pack. You are likely to see 4 alerts that are very similar. You can dismiss the alerts and they should not reappear. The 4 alerts you are likely to see will all start with:
OleDb Module encountered a failure 0x80040e37 during execution and will post it as output data item. : Invalid object name
and then have one of the following:
  • 'Win7.vWin7MemoryHealthAggregationRAM'.
  • 'Win7.vWin7ShellPerfAggregationComputer'.
  • 'Win7.vWin7DiskFailureAggregationDisk'.
  • 'Win7.vWin7DiskFailureAggregationComputer'.
These issues may be fixed in a future release of the Windows 7 Client Operating System Management Pack. When an updated version of a management pack is available you will see a yellow notification bar at the top of the Computers workspace in the Essentials console.
Performance Collection
By default, if you attempt to view CPU Performance, Processor Queue Length or Memory in the Computers workspace for computers running XP, Vista or Windows 7 the graphs will be empty.
To show information for Client Computers you will need to enable the following rules for each OS:
  • Memory Available Megabytes
  • Processor % Processor Time Total
  • System Processor Queue Length
To enable collection of these performance counters:
  1. Go to the Authoring Workspace
  2. Expand Management Pack Objects and select Rules
  3. In the Look For box (press Ctrl-F if it is not visible) enter Memory Available and click Find Now
  4. Select Memory Available Megabytes for each client operating system to enable
  5. Select Overrides -> Override this Rule -> For all objects of class
  6. Check the box next to Enabled, change the Override Value to True and click OK
  7. Repeat steps 3 to 6, searching for:
    • Processor % Processor
    • Processor Queue
More information is in the Management Pack Guide.

Exchange 2007 Management Pack

By default, the Microsoft Exchange 2007 Management Pack will not automatically discover any Exchange 2007 Server roles, and no monitoring is distributed to Exchange 2007 servers.
Initially, the only discovery that runs automatically is called the Exchange 2007 Discovery Helper Discovery. It is a lightweight registry discovery that runs on all Windows servers. Its only purpose is to discover Exchange 2007 servers in your environment without actually starting monitoring.
To verify that Discovery Helper has discovered your Exchange 2007 servers
  1. Ensure that you have not scoped your views.
  2. Go to the Discovered Inventory view in the Monitoring section of the Operations console.
  3. Right-click and choose Select Target Type.
  4. In the Look for field, type Exchange 2007 Discovery Helper, select it, and then click OK. A list of Exchange 2007 servers appears with a status of “Not Monitored.”
If no Exchange 2007 servers are discovered, you might want to make the discovery run more frequently than the default. You can change the frequency of the Exchange 2007 Discovery Helper Discovery in Object Discoveries located under Authoring in the Operations console.
To enable Exchange 2007 Server Role Discovery
  1. Go to the Object Discoveries node located under Authoring in the Operations console.
  2. In the Look for field, type Exchange 2007 Server Role and click Enter. A list of Exchange 2007 Server Role Discoveries appears. You need to enable Server Role Discoveries of the following discoveries:

Discovery Name
Description
Exchange 2007 CCR Clustered Mailbox Server Role Discovery
Discovers CCR and SCC clustered Mailbox servers
Exchange 2007 CCR Node Role Discovery
Discovers CCR node servers in a CCR cluster (the physical nodes)
Exchange 2007 Standalone CCR Node Discovery
Discovers standalone CCR node roles (nodes that are participating in log shipping but are not part of an active Mailbox server) and standalone mailbox roles
Exchange 2007 CAS Role Discovery
Discovers Client Access server roles
Exchange 2007 Hub Transport Role Discovery
Discovers Hub Transport server roles
Exchange 2007 Edge Role Discovery
Discovers Edge Transport server roles
Exchange 2007 UM Role Discovery
Discovers Unified Messaging (UM) roles
For example, to enable discovery of all Hub Transport servers, right-click the Exchange 2007 Hub Transport Role Discovery and select Overrides\Enable the Object Discovery\for all objects of type Exchange 2007 Discovery Helper. If you want, you can choose to discover servers using a group (containing Exchange 2007 Discovery Helper instances) or a single instance of Exchange 2007 Discovery Helper. It is also possible to use a group containing the computer objects of the Exchange servers.
More information is in the Management Pack Guide and also on the Operations Manager blog.

Exchange 2010 Management Pack

Importing the Exchange 2010 Management Pack on the Release Candidate of Essentials 2010 will cause the following alert to be generated:
Critical hotfixes required for reliable operation of the Exchange Server 2010 and other management packs are not installed on this server. Please see the appropriate KB article for more information, and to download the required hotfix.
The hotfixes referred to by this alert are included in the released version of Essentials 2010.
These updates resolve issues affecting state rollup using dependency monitors. These updates allow the Exchange Server 2010 Management Pack to accurately monitor whether Exchange databases are mounted. Without these updates you are also likely to see inaccurate availability reporting.
If desired, you can disable this alert:
  1. Go to the Authoring workspace
  2. Expand Management Pack Objects and select Rules
  3. In the Look For box (press Ctrl-F if it is not visible) enter SCOM and click Find Now
  4. Select The required SCOM hotfixes for Exchange MP are not installed.
  5. Select Overrides -> Disable the Rule -> For all objects of class
This is only a temporary workaround for use with the RC and should be reverted when upgrading to the RTM version of Essentials 2010.
More information is in the Management Pack Guide

SQL Server 2008 Management Pack

Monitoring SQL 2008
A number of workflows in the SQL Server 2008 Management Pack run scripts, which rely on SQL Data Management Objects (SQL-DMO) to query information from the SQL Server. SQL-DMO is now deprecated and is not shipped as a part of SQL Server 2008. Every system with SQL Server 2008 that will be monitored must have SQL-DMO installed from the Microsoft SQL Server 2005 Backward Compatibility Components.
To install SQL-DMO on computers running SQL Server 2008:
  1. On the Microsoft SQL Server 2008 Feature Pack, August 2008 download page, in the Microsoft SQL Server 2005 Backward Compatibility Components section, download the package that is appropriate for the version of SQL Server.
  2. Run the .msi file on the computers running SQL Server 2008 that the SQL Server 2008 Management Pack will monitor.
  3. On the Feature Selection screen, ensure that the SQL Distributed Management Objects (SQL-DMO) feature is set to This feature will be installed on local hard drive. None of the other features are required for the SQL Server 2008 Management Pack.
  4. Complete the installation wizard to install the SQL-DMO backward compatibility components.
These issues may be fixed in a future release of the SQL Server 2008 Management Pack. When an updated version of a management pack is available you will see a yellow notification bar at the top of the Computers workspace in the Essentials console.
Alerts
If you are using the Express edition of SQL (installed by Essentials) you will see the following errors:
Warning Service Check Data Source Module Failed Execution
Warning Service Check Probe Module Failed Execution
Both errors will mention the following workflow:
Workflow name: Microsoft.SQLServer.2008.DBEngine.FullTextSearchServiceMonitor or
Workflow name: Microsoft.SQLServer.2005.DBEngine.FullTextSearchServiceMonitor
This will happen on any system that has SQL installed without the Full Text Search Engine. You can apply an override on that monitor to disable it for the systems that don't have that service installed.
To disable these monitors, perform the following steps:
  1. Go to the Authoring workspace
  2. Expand Management Pack Objects and select Monitors
  3. In the Look For box (press Ctrl-F if it is not visible) enter Full Text and click Find Now
  4. In turn, select each of the SQL Server Full Text Search Service Monitor (one for SQL 2005, and the other for SQL 2008)
  5. Select Overrides -> Disable the Monitor -> For all objects of class
More information is in the Management Pack Guide.

Windows Client Operating System Management Pack

Windows Client Operating System Management Pack

Alerts
There is an issue with the Windows 7 Client OS MP that will generate errors after the initial import of the management pack. You are likely to see 4 alerts that are very similar. You can dismiss the alerts and they should not reappear. The 4 alerts you are likely to see will all start with:
OleDb Module encountered a failure 0x80040e37 during execution and will post it as output data item. : Invalid object name
and then have one of the following:
  • 'Win7.vWin7MemoryHealthAggregationRAM'.
  • 'Win7.vWin7ShellPerfAggregationComputer'.
  • 'Win7.vWin7DiskFailureAggregationDisk'.
  • 'Win7.vWin7DiskFailureAggregationComputer'.
These issues may be fixed in a future release of the Windows 7 Client Operating System Management Pack. When an updated version of a management pack is available you will see a yellow notification bar at the top of the Computers workspace in the Essentials console.
Performance Collection
By default, if you attempt to view CPU Performance, Processor Queue Length or Memory in the Computers workspace for computers running XP, Vista or Windows 7 the graphs will be empty.
To show information for Client Computers you will need to enable the following rules for each OS:
  • Memory Available Megabytes
  • Processor % Processor Time Total
  • System Processor Queue Length
To enable collection of these performance counters:
  1. Go to the Authoring Workspace
  2. Expand Management Pack Objects and select Rules
  3. In the Look For box (press Ctrl-F if it is not visible) enter Memory Available and click Find Now
  4. Select Memory Available Megabytes for each client operating system to enable
  5. Select Overrides -> Override this Rule -> For all objects of class
  6. Check the box next to Enabled, change the Override Value to True and click OK
  7. Repeat steps 3 to 6, searching for:
    • Processor % Processor
    • Processor Queue
More information is in the Management Pack Guide.

среда, 31 августа 2011 г.

Создаем загрузочную флешку с Windows 7

Создаем загрузочную флешку с Windows 7 (актуально для владельцев нетбуков). Для этого необходимо иметь: флеш-диск 4 Гб (желательно достаточно скоростной) и программу Daemon Tools (или любую другую для создания образа). Итак приступим. Для начала создаем образ дистрибутива и подготавливаем флешку, для этого делаем следующие манипуляции:
Вставляем флешку в компьютер, запускаем консоль(пуск->выполнить->cmd.exe). Теперь вводим следующие команды:
diskpart
list disk

select disk 1(тот номер диска, которому соответствует ваша флешка, то что показывает команда list disk, предпологается что он равен 1)
clean
create partition primary
select partition 1
active
format fs=fat32
assign
exit