<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>about administration</title>
	<atom:link href="http://adminfo.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://adminfo.wordpress.com</link>
	<description>Заметки о системном администрировании</description>
	<lastBuildDate>Fri, 20 Nov 2009 14:26:50 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>ru</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='adminfo.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/2d6accd72849071b275db3375de68b2d?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>about administration</title>
		<link>http://adminfo.wordpress.com</link>
	</image>
			<item>
		<title>проблема с Normal.dot на терминальном сервере</title>
		<link>http://adminfo.wordpress.com/2009/11/03/%d0%bf%d1%80%d0%be%d0%b1%d0%bb%d0%b5%d0%bc%d0%b0-%d1%81-normal-dot-%d0%bd%d0%b0-%d1%82%d0%b5%d1%80%d0%bc%d0%b8%d0%bd%d0%b0%d0%bb%d1%8c%d0%bd%d0%be%d0%bc-%d1%81%d0%b5%d1%80%d0%b2%d0%b5%d1%80%d0%b5/</link>
		<comments>http://adminfo.wordpress.com/2009/11/03/%d0%bf%d1%80%d0%be%d0%b1%d0%bb%d0%b5%d0%bc%d0%b0-%d1%81-normal-dot-%d0%bd%d0%b0-%d1%82%d0%b5%d1%80%d0%bc%d0%b8%d0%bd%d0%b0%d0%bb%d1%8c%d0%bd%d0%be%d0%bc-%d1%81%d0%b5%d1%80%d0%b2%d0%b5%d1%80%d0%b5/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 12:16:09 +0000</pubDate>
		<dc:creator>Sharm</dc:creator>
				<category><![CDATA[MS Office]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Office 2003]]></category>
		<category><![CDATA[Server 2003]]></category>
		<category><![CDATA[Terminal Server]]></category>
		<category><![CDATA[Windows Server]]></category>

		<guid isPermaLink="false">http://adminfo.wordpress.com/?p=176</guid>
		<description><![CDATA[MS Word 2003, установленный на терминальном сервере Windows 2003 Server, начал через раз выдавать предложение создать новый файл шаблонов Normal.dot в связи с его повреждением.
Выглядело это так:
Word has detected a problem with the existing Normal.dot. Would you like to create a new Normal.dot?
Полное удаление существующих шаблонов и временныз файлов никак не влияло &#8211; Word стабильно [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adminfo.wordpress.com&blog=2493530&post=176&subd=adminfo&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>MS Word 2003, установленный на терминальном сервере Windows 2003 Server, начал через раз выдавать предложение создать новый файл шаблонов Normal.dot в связи с его повреждением.</p>
<p>Выглядело это так:</p>
<p>Word has detected a problem with the existing Normal.dot. Would you like to create a new Normal.dot?</p>
<p>Полное удаление существующих шаблонов и временныз файлов никак не влияло &#8211; Word стабильно выдавал свое предупреждение, есть шаблон или его нет.</p>
<p>Помогло выполнение действий, описанных в статьях базы знаний Microsoft:</p>
<address><a title="Every other time that you open a document in Word, the document opens in recovery mode or you receive an error message" href="http://support.microsoft.com/kb/885380">Every other time that you open a document in Word, the document opens in recovery mode or you receive an error message</a></address>
<address></address>
<address>
<address><a title="You are prompted to save the changes to the Normal.dot or Normal.dotm or Normal.dotm global template every time that you quit Word" href="http://support.microsoft.com/kb/291352">You are prompted to save the changes to the Normal.dot or Normal.dotm or Normal.dotm global template every time that you quit Word</a></address>
</address>
<address></address>
<address><span id="more-176"></span></p>
<h3>Every other time that you open a document in Word, the document opens in recovery mode or you receive an error message</h3>
<p>To work around this issue, delete the DisabledItems subkey and the Startup subkey. To do this, follow these steps:</p>
<ol>
<li>Log      on as an administrator to the console of the computer that is a terminal      server.</li>
<li>Click <strong>Start</strong>,      click <strong>Run</strong>, type <strong>regedit</strong> in the <strong>Open</strong> box,      and then click <strong>OK</strong>.</li>
<li>Locate and then      click the following registry subkey, as appropriate for your version of      Word.</li>
</ol>
<p><strong>Word 2002</strong></p>
<p><strong>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\Install\Software\MICROSOFT\Office\10.0\Word\Resiliency</strong></p>
<p><strong>Word 2003</strong></p>
<p>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\Install\Software\MICROSOFT\Office\11.0\Word\Resiliency</p>
<p><strong>Word 2007</strong></p>
<p>HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Terminal Server\Install\Software\Microsoft\Office\12.0\Word\Resiliency</p>
<ol>
<li>With the registry subkey that is specified in step 3 selected, follow these steps:
<ol>
<li>Right-click <strong>DisabledItems</strong>, and then click <strong>Delete</strong>.</li>
<li>Click <strong>Yes</strong> to confirm that you want to delete the DisabledItems subkey.</li>
<li>Right-click <strong>Startup</strong>, and then click <strong>Delete</strong>.</li>
<li>Click <strong>Yes</strong> to confirm that you want to delete the Startup subkey.</li>
</ol>
</li>
<li>Locate and then select the following registry subkey, as appropriate for your version of Word.</li>
</ol>
<p><strong>Word 2002</strong></p>
<p><strong>HKEY_CURRENT_USER\Software\Microsoft\Office\10.0\Word\Resiliency</strong></p>
<p><strong>Word 2003</strong></p>
<p><strong>HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Word\Resiliency</strong></p>
<p><strong>Word 2007</strong></p>
<p>HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Word\Resiliency</p>
<ol>
<li>With the registry subkey that is specified in step 5 selected, follow these steps:</li>
</ol>
<p>.      Right-click <strong>DisabledItems</strong>, and then click <strong>Delete</strong>.</p>
<ol>
<li>Click <strong>Yes</strong> to confirm that you want to delete the DisabledItems subkey.</li>
<li>Right-click <strong>Startup</strong>, and then click <strong>Delete</strong>.</li>
<li>Click <strong>Yes</strong> to confirm that you want to delete the Startup subkey.</li>
<li>On the <strong>File</strong> menu, click <strong>Exit</strong> to exit Registry Editor.</li>
</ol>
<p>&nbsp;</p>
<h3>You are prompted to save the changes to the Normal.dot or Normal.dotm or Normal.dotm global template every time that you quit Word</h3>
<h3>Cause 1: The &laquo;Prompt to save Normal template&raquo; check box is selected</h3>
<p>You receive this message if the <strong>Prompt to save Normal template</strong> check box is selected.</p>
<h4>Workaround</h4>
<p>To turn off this message, follow these steps.</p>
<p><strong>Important</strong> If you turn off this message in Word, you may still have a problem. Word will automatically save the changes to your global template, Normal.dot or Normal.dotm, but you will not be prompted. You may still have to perform the other steps listed in this article.</p>
<p><strong>If you use Microsoft Office Word 2003 or an earlier version of Word:</strong></p>
<ol>
<li>On the <strong>Tools</strong> menu, click <strong>Options</strong>.</li>
<li>On the <strong>Save</strong> tab, click to clear the <strong>Prompt to save Normal template</strong> check box.</li>
</ol>
<p><strong>If you use Microsoft Office Word 2007:</strong></p>
<ol>
<li>In the upper-left corner of the      screen, click the <strong>Office</strong> button.</li>
<li>In the lower-right area of the drop-down box,      click <strong>Word      Options</strong>.</li>
<li>In the Word Options page, click <strong>Advanced</strong> in the left menu.</li>
<li>Use the scroll bar to scroll down to the <strong>Save</strong> section.</li>
<li>In the <strong>Save</strong> section, click to clear the <strong>Prompt before saving Normal template</strong> check box.</li>
</ol>
<h3>Cause 2: An installed add-in or an installed macro is changing the global template Normal.dot or Normal.dotm</h3>
<p>You may receive the message that is listed in the &laquo;Symptoms&raquo; section if an add-in or a macro on your computer modified the Normal.dot or Normal.dotm template. Add-ins that are known to cause this behavior include the following:</p>
<ul>
<li>Stamps.com Internet postage</li>
<li>Works Suite add-in for Microsoft Word</li>
</ul>
<p>An add-in installed in Word may add one or more of the following items to your computer:</p>
<ul>
<li>WLL file</li>
<li>Templates</li>
<li>COM add-in</li>
<li>Auto macros</li>
</ul>
<h4>Workaround</h4>
<p><strong>How to remove WLL add-ins and templates in the Word and Office Startup folders</strong></p>
<p>When you start Word, Word automatically loads templates and add-ins that are located in the Startup folders. Problems in Word may be the result of conflicts or of problems with an add-in. To determine whether an item in a Startup folder is causing the problem, temporarily empty the folder.</p>
<p>Word loads items from the Office Startup folder and the Word Startup folder. To remove items from the Startup folders, follow these steps:</p>
<ol>
<li>Quit all instances of Word. If you use      Word as your e-mail editor, make sure that you quit Outlook also.</li>
<li>On your Windows desktop, double-click <strong>My Computer</strong>, and then      locate your Office Startup folder. The default location is:</li>
</ol>
<p>C:\Program Files\Microsoft Office\<var>Office</var>\Startup</p>
<p><strong>Note</strong> For Office versions 2000 and earlier, the <var>Office</var> folder is <strong>Office</strong>. For Office XP, the <var>Office</var>folder is <strong>Office10</strong>. For Office 2003, the <var>Office</var> folder is <strong>Office11</strong>.</p>
<ol>
<li>Drag each item from the Startup folder to the desktop. (Or create a folder on your desktop and drag each item to this new folder.)
<p><strong>Note</strong> To create a new folder on the desktop, right-click a blank area on the desktop, point to<strong>New</strong>, and then click <strong>Folder</strong>.</li>
<li>Find the Word Startup folder, and then drag each item from the Startup folder to the desktop. (Or create a folder on your desktop and drag each item to this new folder.) The default location for the Word Startup folder depends on the operating system.
<p>On Microsoft Windows 98 and Windows Millennium Edition without profiles enabled, the location is:</li>
</ol>
<p>C:\Windows\Application Data\Microsoft\Word\Startup</p>
<p>On Windows 98 and Windows Millennium with profiles enabled or on Windows NT 4.0, the location is:</p>
<p>C:\Windows\<var>user name</var>\Application Data\Microsoft\Word\Startup</p>
<p>On Windows 2000, Windows XP, and Windows Server 2003, the location is:</p>
<p>C:\Documents and Settings\<var>user name</var>\Application Data\Microsoft\Word\Startup</p>
<ol>
<li>Start Word.
<p>If you can no longer reproduce the problem, and you removed multiple items from the Startup folder or folders, you can try to isolate the problem by adding the files back to the appropriate Startup folder, one by one. Try to reproduce the problem after each addition to determine which file causes the problem.</li>
</ol>
<p><strong>How to remove COM Add-ins</strong></p>
<p>COM add-ins can be installed in any location. COM add-ins are installed by programs that interact with Word. To view the list of installed COM add-ins, follow these steps:</p>
<p><strong>If you use Word 2003 or an earlier version of Word:</strong></p>
<ol>
<li>On the <strong>Tools</strong> menu, click <strong>Customize</strong>.</li>
<li>Click the <strong>Commands</strong> tab.</li>
<li>On the <strong>Commands</strong> tab, click <strong>Tools</strong> in the <strong>Categories</strong> list.</li>
<li>Use the mouse to drag the COM Add-Ins command to a toolbar.</li>
<li>Click <strong>Close</strong> to close the <strong>Customize</strong> dialog box.</li>
<li>Click the new <strong>COM Add-Ins</strong> button to view the COM add-ins that are loaded with Word.</li>
</ol>
<p>If add-ins are listed in the <strong>COM Add-Ins</strong> dialog box, temporarily turn off each of the add-ins. To do this, click to clear the check box for each COM add-in that is listed, and then click <strong>OK</strong>. When you restart Word, Word starts without loading the COM add-ins that you turned off.</p>
<p>If the problem is resolved after you turn off the COM add-ins, one of the listed COM add-ins is the cause of the problem. If you have multiple COM add-ins listed, you may want to determine which one is causing the specific problem. To determine this, turn the COM add-ins back on one at a time, and then restart Word.</p>
<p><strong>If you use Word 2007:</strong></p>
<ol>
<li>In the upper-left corner of the      screen, click the <strong>Office</strong> button.</li>
<li>In the lower-right area of the drop-down box,      click <strong>Word      Options</strong>.</li>
<li>In the Word Options page, click <strong>Add-ins</strong> in the left menu.</li>
<li>At the bottom of the page, select <strong>COM Add-ins</strong> in the <strong>Manage:</strong> drop-down list, and then click<strong>Go</strong>.
<p><strong>Note</strong> If add-ins are listed in the <strong>COM Add-Ins</strong> dialog box, temporarily turn off      each add-in. To do this, click to clear the check box for each COM add-in      that is listed. Then, click <strong>OK</strong>.      When you restart Word, Word starts without loading the COM add-ins that      you turned off.</p>
<p>If the problem is resolved after you turn off the COM add-ins, one of the      COM add-ins is the cause of the problem. If you have multiple COM add-ins      listed, you may want to determine which one is causing the specific      problem. To determine this, turn the COM add-ins back on one at a time,      and then restart Word.</li>
</ol>
<p><strong>How to remove Word auto macros</strong></p>
<p>Some macros are named &laquo;auto&raquo; macros. These auto macros run automatically when Word is started. The following table lists these auto macros. To start Microsoft Word without running the auto macros, hold the SHIFT key while you start Word. To do this, click <strong>Start</strong>, point to <strong>Programs</strong>, and then hold the SHIFT key and click <strong>Microsoft Word</strong>.</p>
<table border="0" cellspacing="1" cellpadding="0">
<tbody>
<tr>
<td valign="top"><strong>Macro</strong></td>
<td valign="top"><strong>Storage location</strong></td>
<td valign="top"><strong>Automatically runs</strong></td>
</tr>
<tr>
<td valign="top">AutoExec</td>
<td valign="top">In the   Normal template or in a global add-in</td>
<td valign="top">When you   start Word</td>
</tr>
<tr>
<td valign="top">AutoNew</td>
<td valign="top">In a   template</td>
<td valign="top">When a new   document that is based on the template is created</td>
</tr>
<tr>
<td valign="top">AutoOpen</td>
<td valign="top">In document   or template</td>
<td valign="top">When a   document that is based on the template or that contains the macro is opened</td>
</tr>
<tr>
<td valign="top">AutoClose</td>
<td valign="top">In document   or template</td>
<td valign="top">When a   document that is based on the template or that contains the macro is closed</td>
</tr>
<tr>
<td valign="top">AutoExit</td>
<td valign="top">In the   Normal template or a global add-in</td>
<td valign="top">When you   quit Word</td>
</tr>
</tbody>
</table>
<p>Word recognizes a macro with a name that begins with &laquo;Auto&raquo; as a macro that automatically runs when the situation to which it applies occurs. You can temporarily prevent an auto macro from running by holding SHIFT while performing the action that causes the macro to run. For example, to prevent an AutoOpen macro from running, hold SHIFT while you open a document or a template.</p>
<p>If the problem is resolved by holding the SHIFT key when you start Word or when you perform an action in Word such as opening a document, an auto macro is the problem. To work around this problem, follow these steps:</p>
<p><strong>If you use Word 2003 or an earlier version of Word:</strong></p>
<ol>
<li>Click <strong>Start</strong>, and then click <strong>Run</strong>.</li>
<li>In the <strong>Open</strong> box, type <strong>winword</strong>, and then click<strong> </strong><strong>OK.</strong></li>
<li><strong> </strong>On the <strong>Tools</strong> menu, point to <strong>Macro</strong>, and then click <strong>Macros</strong>.</li>
<li>In the <strong>Macros</strong> dialog box, a list of macros may appear. If any macro listed begins with &laquo;Auto,&raquo; you may want to remove this macro. To remove an auto macro, click the macro, and then click<strong>Delete</strong>.</li>
</ol>
<p><strong>Note</strong> An auto macro may have been added by a Word add-in. To determine what template contains the auto macro, change the <strong>Macros in</strong> box to a listed template. After you determine which template contains the auto macro, you may want to remove that template from your computer. Removing a template that was added by a Word add-in may reduce or stop the add-in&#8217;s functionality.</p>
<ol>
<li>Click <strong>Cancel</strong> or click <strong>Close</strong> to close the <strong>Macros</strong> dialog box.</li>
<li>On the <strong>File</strong> menu, click <strong>Exit</strong> to quit Microsoft Word.</li>
</ol>
<p><strong>Expand this image</strong><strong> </strong></p>
<p>If the problem is resolved after you restart Word, the auto macro was the problem.</p>
<p><strong>If you use Word 2007:</strong></p>
<ol>
<li>In the upper-left corner of the      screen, click the <strong>Office</strong> button.</li>
<li>In the lower-right area of the drop-down box,      click <strong>Word      Options</strong>.</li>
<li>In the Word Options page, click <strong>Popular</strong> in the left menu.</li>
<li>In the <strong>Top      options for working with Word</strong> section, click to select the <strong>Show Developer tab in the Ribbon</strong> check box, and then click <strong>OK</strong>.</li>
<li>At the top of the Word window, click the <strong>Developer</strong> tab.</li>
<li>On the <strong>Developer</strong> tab, click <strong>Macros</strong> in the <strong>Code</strong> group.
<p>In the <strong>Macros</strong> dialog box, a list of macros may      appear. If any macro that is listed begins with &laquo;Auto,&raquo; you may      want to remove this macro. To remove an auto macro, click the macro, and      then click <strong>Delete</strong>.</p>
<p><strong>Note</strong> An auto macro may have been added      by a Word add-in. To determine what template contains the auto macro,      change the <strong>Macros      in</strong> box to a      listed template. After you determine which template contains the auto      macro, you may want to remove that template from your computer. Removing a      template that was added by a Word add-in may reduce or stop the add-in&#8217;s      functionality.</li>
</ol>
<h3>Cause 3: Word is infected with a macro virus</h3>
<p>This problem may occur if your computer is infected with a virus that changes the global template (Normal.dot or Normal.dotm). To help avoid virus infection, keep your antivirus software and your virus definitions updated with the latest versions. Ask your antivirus software vendor for the latest information.</p>
<p>For information about how to contact your antivirus software vendor, click the appropriate article number in the following list to view the article in the Microsoft Knowledge Base:</p>
<p><a href="http://support.microsoft.com/kb/65416/">65416</a> Hardware and software vendor contact information, A-K</p>
<p><a href="http://support.microsoft.com/kb/60781/">60781</a> Hardware and software vendor contact information, L-P</p>
<p><a href="http://support.microsoft.com/kb/60782/">60782</a> Hardware and software vendor contact information, Q-Z</p>
<p>For additional information, click the following article numbers to view the articles in the Microsoft Knowledge Base:</p>
<p><a href="http://support.microsoft.com/kb/211800/">211800</a> How to deal with a macro virus in Word 2000 or Word 2002</p>
<p><a href="http://support.microsoft.com/kb/233396/">233396</a> How to reduce the chances of macro virus infection</p>
<p><a href="http://support.microsoft.com/kb/211607/">211607</a> Frequently asked questions about Word macro viruses</p>
</address>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/adminfo.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/adminfo.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/adminfo.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/adminfo.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/adminfo.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/adminfo.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/adminfo.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/adminfo.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/adminfo.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/adminfo.wordpress.com/176/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adminfo.wordpress.com&blog=2493530&post=176&subd=adminfo&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://adminfo.wordpress.com/2009/11/03/%d0%bf%d1%80%d0%be%d0%b1%d0%bb%d0%b5%d0%bc%d0%b0-%d1%81-normal-dot-%d0%bd%d0%b0-%d1%82%d0%b5%d1%80%d0%bc%d0%b8%d0%bd%d0%b0%d0%bb%d1%8c%d0%bd%d0%be%d0%bc-%d1%81%d0%b5%d1%80%d0%b2%d0%b5%d1%80%d0%b5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Sharm</media:title>
		</media:content>
	</item>
		<item>
		<title>Как обновить Windows 7 Ultimate RC до Windows 7 Enterprise RTM</title>
		<link>http://adminfo.wordpress.com/2009/10/31/%d0%ba%d0%b0%d0%ba-%d0%be%d0%b1%d0%bd%d0%be%d0%b2%d0%b8%d1%82%d1%8c-windows-7-ultimate-rc-%d0%b4%d0%be-windows-7-enterprise-rtm/</link>
		<comments>http://adminfo.wordpress.com/2009/10/31/%d0%ba%d0%b0%d0%ba-%d0%be%d0%b1%d0%bd%d0%be%d0%b2%d0%b8%d1%82%d1%8c-windows-7-ultimate-rc-%d0%b4%d0%be-windows-7-enterprise-rtm/#comments</comments>
		<pubDate>Sat, 31 Oct 2009 03:40:54 +0000</pubDate>
		<dc:creator>Sharm</dc:creator>
				<category><![CDATA[HOW-TO]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[установка]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://adminfo.wordpress.com/?p=165</guid>
		<description><![CDATA[Использование на рабочем ноутбуке Windows 7 RC показало, что эта операционная система гораздо быстрее и удобнее в работе, чем Windows XP и Windows Vista.
Однако вышел официальный релиз, компаниям-партнерам давно доступны RTM версии &#8211; подходит время обновления.
Причем доступна партнерам именно Enterprise редакция. По информации с сайта Майкрософт, Ultimate и Enterprise полностью идентичны &#8211; просто последняя доступна [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adminfo.wordpress.com&blog=2493530&post=165&subd=adminfo&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Использование на рабочем ноутбуке Windows 7 RC показало, что эта операционная система гораздо быстрее и удобнее в работе, чем Windows XP и Windows Vista.</p>
<p>Однако вышел официальный релиз, компаниям-партнерам давно доступны RTM версии &#8211; подходит время обновления.</p>
<p>Причем доступна партнерам именно Enterprise редакция. По информации с сайта Майкрософт, Ultimate и Enterprise полностью идентичны &#8211; просто последняя доступна для лицензирования только организациям.</p>
<p>Некоторое неудобство вызывало уведомление Майкрософт о том, что такое обновление будет недоступно.</p>
<p>И правда, запустив установку мы получим сообщение ошибке.</p>
<p>Но не переставлять же хорошо работающую систему, в самом деле!</p>
<p>Приступим.</p>
<h3>Что делать с Windows 7 Ultimate RC</h3>
<p>Запустить  Registry Editor (Start &gt; Run &gt; regedit)</p>
<p>Открыть раздел HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\Current Version</p>
<p>Заменить слово “Ultimate” на “Enterprise” в ключах <strong>ProductName </strong>и <strong>EditionID</strong>.</p>
<p>На этом изменение Windows 7 RC завершено.</p>
<h3>Модификация установки WIndows 7 Enterprise</h3>
<p>Я рекомендую использовать для установки USB (Flash) диск. Устанавливается система быстрее, чем с DVD. Носить удобнее. Да и модификации можно делать сразу, не записывая ничего на диски. Как это сделать, написано здесь:  <a href="http://blogs.technet.com/iwalker/archive/2009/01/21/windows-7-windows-server-2008-r2-c-usb.aspx"><span style="color:#000000;"><span style="text-decoration:none;">http://blogs.technet.com/iwalker/archive/2009/01/21/windows-7-windows-server-2008-r2-c-usb.aspx</span></span></a></p>
<p>Нам остается открыть для редактирования файл \sources\cversion.ini,  заменить значение MinClient на 7100 и сохранить его.</p>
<p>Это все. Можно запускать установку. Для обновления существующей системы это обязательно нужно сделать внутри нее.</p>
<p>Оригинал взят отсюда: <a href="http://www.gmtaz.com/index.php/how-to-upgrade-windows-7-rc-ultimate-to-rtm-enterprise/"><span style="color:#000000;"><span style="text-decoration:none;">http://www.gmtaz.com/index.php/how-to-upgrade-windows-7-rc-ultimate-to-rtm-enterprise/</span></span></a></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/adminfo.wordpress.com/165/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/adminfo.wordpress.com/165/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/adminfo.wordpress.com/165/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/adminfo.wordpress.com/165/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/adminfo.wordpress.com/165/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/adminfo.wordpress.com/165/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/adminfo.wordpress.com/165/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/adminfo.wordpress.com/165/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/adminfo.wordpress.com/165/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/adminfo.wordpress.com/165/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adminfo.wordpress.com&blog=2493530&post=165&subd=adminfo&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://adminfo.wordpress.com/2009/10/31/%d0%ba%d0%b0%d0%ba-%d0%be%d0%b1%d0%bd%d0%be%d0%b2%d0%b8%d1%82%d1%8c-windows-7-ultimate-rc-%d0%b4%d0%be-windows-7-enterprise-rtm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Sharm</media:title>
		</media:content>
	</item>
		<item>
		<title>How to Run Programs as a Domain User from a Non-domain Computer</title>
		<link>http://adminfo.wordpress.com/2009/10/13/how-to-run-programs-as-a-domain-user-from-a-non-domain-computer/</link>
		<comments>http://adminfo.wordpress.com/2009/10/13/how-to-run-programs-as-a-domain-user-from-a-non-domain-computer/#comments</comments>
		<pubDate>Tue, 13 Oct 2009 13:56:34 +0000</pubDate>
		<dc:creator>Sharm</dc:creator>
				<category><![CDATA[AD]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[network]]></category>

		<guid isPermaLink="false">http://adminfo.wordpress.com/?p=160</guid>
		<description><![CDATA[In most cases, not being joined to a client’s domain doesn’t make one iota of difference. You need to access a network share or printer, browser to it and you will be prompted for domain credentials. The fact that you’re using different domain credentials to access the resource from those that you logged in with [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adminfo.wordpress.com&blog=2493530&post=160&subd=adminfo&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>In most cases, not being joined to a client’s domain doesn’t make one iota of difference. You need to access a network share or printer, browser to it and you will be prompted for domain credentials. The fact that you’re using different domain credentials to access the resource from those that you logged in with doesn’t matter one bit. If you want to expedite the process and not wait for an authentication time-out, you can utilize NET USE from the command line to tell Windows which credentials you want to use when accessing certain computers. You can even make them persistent or roll the whole thing into a batch script that you can execute whenever at a particular client.</p>
<p>net use \\server /user:domain\username /persistent:yes</p>
<p>Unfortunately this doesn’t work in all cases. One of my longstanding development pet peeves has been certain tools – I’m looking at you SQL Server Management Studio and SQL Query Analyzer – that don’t allow you to specify alternate domain credentials for authentication. For example, SQL Server Management Studio allows you to log into a SQL Server instance using Windows Authentication or SQL Server Authentication. If the SQL instance requires Windows Authentication – the recommended configuration – SQL Server Management Studio uses your logged in credentials. This works well if your computer is part of the domain, but fails horribly if not. It doesn’t let you specify alternate credentials or even prompt you for alternate credentials if the log-in fails.</p>
<p><span id="more-160"></span>I’ve tried seemingly everything. NET USE doesn’t help here because NET USE is specifically for network shares.</p>
<p>net use \\sql-server-name /user:domain\username # DOES NOT WORK &#8211; Only provides the domain credentials when accessing shares</p>
<p>RUNAS also fails – either the SHIFT right-click variety or command line – as it tries to run the command locally as the domain user, who is unknown by your computer because you’re not part of the domain.</p>
<p>runas /user:domain\username “C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\Ssms.exe”</p>
<p><img style="display:inline;border-width:0;" title="image" src="http://codebetter.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/james.kovacs/image_5F00_1490ED13.png" border="0" alt="image" width="1029" height="194" /></p>
<p>For years (yes, years) I have resorted to using Remote Desktop to log into a domain computer so that I could run SQL Server Management Studio, used a domain-joined virtual machine, or begged co-workers to run commands for me. Now I feel foolish because I stumbled upon a solution that has been built into Windows for years. It is a simple command line switch for the RUNAS command that I never noticed: /netonly. (Note that the /netonly flag is not accessible via the SHIFT right-click menu, only via the command line.)</p>
<p>runas <strong>/netonly</strong> /user:domain\username “C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\Ssms.exe”</p>
<p><img style="display:inline;border-width:0;" title="image" src="http://codebetter.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/james.kovacs/image_5F00_15D585F2.png" border="0" alt="image" width="1029" height="194" /></p>
<p>Success! And SQL Server Management Studio running using /netonly domain credentials. The command is run as my local user, but uses the supplied domain credentials only when accessing the network.</p>
<p><img style="display:inline;border-width:0;" title="image" src="http://codebetter.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/james.kovacs/image_5F00_3015EF16.png" border="0" alt="image" width="673" height="561" /></p>
<p><img style="display:inline;border-width:0;" title="image" src="http://codebetter.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/james.kovacs/image_5F00_329F20D4.png" border="0" alt="image" width="479" height="558" /></p>
<p>I can access remote SQL Servers using Windows Authentication without problem now! (You’ll have to take my word for it or try it yourself as it would be impolite for me to show screenshots of me accessing a client’s SQL Server.) Hopefully this makes some other consultant’s life a little bit easier.</p>
<p>Original: <a href="http://codebetter.com/blogs/james.kovacs/archive/2009/10/11/tip-how-to-run-programs-as-a-domain-user-from-a-non-domain-computer.aspx">http://codebetter.com/blogs/james.kovacs/archive/2009/10/11/tip-how-to-run-programs-as-a-domain-user-from-a-non-domain-computer.aspx</a></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/adminfo.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/adminfo.wordpress.com/160/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/adminfo.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/adminfo.wordpress.com/160/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/adminfo.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/adminfo.wordpress.com/160/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/adminfo.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/adminfo.wordpress.com/160/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/adminfo.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/adminfo.wordpress.com/160/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adminfo.wordpress.com&blog=2493530&post=160&subd=adminfo&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://adminfo.wordpress.com/2009/10/13/how-to-run-programs-as-a-domain-user-from-a-non-domain-computer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Sharm</media:title>
		</media:content>

		<media:content url="http://codebetter.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/james.kovacs/image_5F00_1490ED13.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://codebetter.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/james.kovacs/image_5F00_15D585F2.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://codebetter.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/james.kovacs/image_5F00_3015EF16.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://codebetter.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/james.kovacs/image_5F00_329F20D4.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Как восстановить отсутствующие разделы в Group Policy Editor</title>
		<link>http://adminfo.wordpress.com/2009/10/02/%d0%ba%d0%b0%d0%ba-%d0%b2%d0%be%d1%81%d1%81%d1%82%d0%b0%d0%bd%d0%be%d0%b2%d0%b8%d1%82%d1%8c-%d0%be%d1%82%d1%81%d1%83%d1%82%d1%81%d1%82%d0%b2%d1%83%d1%8e%d1%89%d0%b8%d0%b5-%d1%80%d0%b0%d0%b7%d0%b4/</link>
		<comments>http://adminfo.wordpress.com/2009/10/02/%d0%ba%d0%b0%d0%ba-%d0%b2%d0%be%d1%81%d1%81%d1%82%d0%b0%d0%bd%d0%be%d0%b2%d0%b8%d1%82%d1%8c-%d0%be%d1%82%d1%81%d1%83%d1%82%d1%81%d1%82%d0%b2%d1%83%d1%8e%d1%89%d0%b8%d0%b5-%d1%80%d0%b0%d0%b7%d0%b4/#comments</comments>
		<pubDate>Fri, 02 Oct 2009 14:10:44 +0000</pubDate>
		<dc:creator>Sharm</dc:creator>
				<category><![CDATA[Group Policy]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Windows XP]]></category>

		<guid isPermaLink="false">http://adminfo.wordpress.com/?p=158</guid>
		<description><![CDATA[Однажды я столкнулся с ситуацией, когда оказалось невозможным включить Windows Firewall. Опции включения и отключения не могли быть изменены. Такое бывает, если эта опция установлена групповой политикой. Причем для этого не обязательно, чтобы компьютер находился в домене. В моем случае с большой вероятностью файервол был отключен вирусом.
Запустив gpedit.msc для редактирования групповой политики, я с удивлением [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adminfo.wordpress.com&blog=2493530&post=158&subd=adminfo&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p style="margin:10px 0;padding:0;">Однажды я столкнулся с ситуацией, когда оказалось невозможным включить Windows Firewall. Опции включения и отключения не могли быть изменены. Такое бывает, если эта опция установлена групповой политикой. Причем для этого не обязательно, чтобы компьютер находился в домене. В моем случае с большой вероятностью файервол был отключен вирусом.</p>
<p style="margin:10px 0;padding:0;">Запустив gpedit.msc для редактирования групповой политики, я с удивлением обнаружил, что там отсутствует раздел, содержащий настройки Windows Firewall. Эта статья описывает методы, позволящие восстановить доступ к настройке отсутствующих политик.</p>
<p style="margin:10px 0;padding:0;">When you open the Group Policy Editor in Windows XP Professional, some of the categories under Administrative Templates may be missing. For example when you expand Administrative Templates, the <strong>System</strong> category may be missing. This article provides information on how to restore the missing folders to the Group Policy Editor.</p>
<p style="margin:10px 0;padding:0;"><img style="border:0 initial initial;" src="http://www.winhelponline.com/blog/wp-content/uploads/q1-09/gpo-missing-1.png" alt="" width="242" height="270" /></p>
<h2 style="font-size:14px;font-weight:bold;font-family:Arial, Helvetica, sans-serif;color:#cc6600;letter-spacing:-1px;margin:0 0 5px;padding:5px 0;"><span id="more-158"></span>Add the Missing ADM File</h2>
<p style="margin:10px 0;padding:0;"><strong>Method 1</strong></p>
<p style="margin:10px 0;padding:0;">1. Open the Group Policy Editor (gpedit.msc)</p>
<p style="margin:10px 0;padding:0;">2. Expand <strong>Computer Configuration</strong></p>
<p style="margin:10px 0;padding:0;">3. Right-click Administrative Templates, and click <strong>Add/Remove Templates…</strong></p>
<p style="margin:10px 0;padding:0;"><img style="border:0 initial initial;" src="http://www.winhelponline.com/blog/wp-content/uploads/q1-09/gpo-missing-2.png" alt="" width="448" height="289" /></p>
<p style="margin:10px 0;padding:0;">4. Click <strong>Add…</strong></p>
<p style="margin:10px 0;padding:0;"><img style="border:0 initial initial;" src="http://www.winhelponline.com/blog/wp-content/uploads/q1-09/gpo-missing-3.png" alt="" width="306" height="249" /></p>
<p style="margin:10px 0;padding:0;">5. Select the file <strong>system.adm</strong> and click <strong>Open</strong></p>
<p style="margin:10px 0;padding:0;">6. Click <strong>Close</strong>.</p>
<p style="margin:10px 0;padding:0;"><strong>Method 2</strong></p>
<p style="margin:10px 0;padding:0;">Using Windows Explorer, copy the file <strong>system.adm</strong> from the C:\Windows\INF folder to C:\Windows\system32\GroupPolicy folder. In a standard Windows XP installation, the target folder has the following ADM files by default:</p>
<ul style="margin:10px 0;padding:0 0 0 40px;">
<li style="list-style-type:disc;list-style-position:initial;list-style-image:initial;margin:0;padding:0;">conf.adm</li>
<li style="list-style-type:disc;list-style-position:initial;list-style-image:initial;margin:0;padding:0;">inetres.adm</li>
<li style="list-style-type:disc;list-style-position:initial;list-style-image:initial;margin:0;padding:0;">wmplayer.adm</li>
<li style="list-style-type:disc;list-style-position:initial;list-style-image:initial;margin:0;padding:0;">wuau.adm</li>
<li style="list-style-type:disc;list-style-position:initial;list-style-image:initial;margin:0;padding:0;">system.adm</li>
</ul>
<p style="margin:10px 0;padding:0;">Copying the missing file from the ADM folder should restore the missing folder in the Group Policy Editor. If that does not work, make sure that filtering is turned off.</p>
<h2 style="font-size:14px;font-weight:bold;font-family:Arial, Helvetica, sans-serif;color:#cc6600;letter-spacing:-1px;margin:0 0 5px;padding:5px 0;">Turn Off Filtering</h2>
<p style="margin:10px 0;padding:0;">1. Expand <strong>Computer Configuration</strong>, and select <strong>Administrative Templates</strong></p>
<p style="margin:10px 0;padding:0;">2. From the View menu, click <strong>Filtering…</strong></p>
<p style="margin:10px 0;padding:0;">3. Uncheck the following checkboxes:</p>
<ul style="margin:10px 0;padding:0 0 0 40px;">
<li style="list-style-type:disc;list-style-position:initial;list-style-image:initial;margin:0;padding:0;">Filter by Requirements information</li>
<li style="list-style-type:disc;list-style-position:initial;list-style-image:initial;margin:0;padding:0;">Only show configured Policy settings</li>
</ul>
<p style="margin:10px 0;padding:0;">4. Click OK.</p>
<p style="margin:10px 0;padding:0;"><img style="border:0 initial initial;" src="http://www.winhelponline.com/blog/wp-content/uploads/q1-09/gpo-missing-4.png" alt="" width="394" height="391" /></p>
<p style="margin:10px 0;padding:0;">Взято здесь: <a href="http://www.winhelponline.com/blog/restore-missing-folders-group-policy-editor-xp/">http://www.winhelponline.com/blog/restore-missing-folders-group-policy-editor-xp/</a></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/adminfo.wordpress.com/158/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/adminfo.wordpress.com/158/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/adminfo.wordpress.com/158/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/adminfo.wordpress.com/158/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/adminfo.wordpress.com/158/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/adminfo.wordpress.com/158/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/adminfo.wordpress.com/158/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/adminfo.wordpress.com/158/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/adminfo.wordpress.com/158/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/adminfo.wordpress.com/158/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adminfo.wordpress.com&blog=2493530&post=158&subd=adminfo&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://adminfo.wordpress.com/2009/10/02/%d0%ba%d0%b0%d0%ba-%d0%b2%d0%be%d1%81%d1%81%d1%82%d0%b0%d0%bd%d0%be%d0%b2%d0%b8%d1%82%d1%8c-%d0%be%d1%82%d1%81%d1%83%d1%82%d1%81%d1%82%d0%b2%d1%83%d1%8e%d1%89%d0%b8%d0%b5-%d1%80%d0%b0%d0%b7%d0%b4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Sharm</media:title>
		</media:content>

		<media:content url="http://www.winhelponline.com/blog/wp-content/uploads/q1-09/gpo-missing-1.png" medium="image" />

		<media:content url="http://www.winhelponline.com/blog/wp-content/uploads/q1-09/gpo-missing-2.png" medium="image" />

		<media:content url="http://www.winhelponline.com/blog/wp-content/uploads/q1-09/gpo-missing-3.png" medium="image" />

		<media:content url="http://www.winhelponline.com/blog/wp-content/uploads/q1-09/gpo-missing-4.png" medium="image" />
	</item>
		<item>
		<title>Как добавить доменного пользователя в локальную группу</title>
		<link>http://adminfo.wordpress.com/2009/09/24/%d0%ba%d0%b0%d0%ba-%d0%b4%d0%be%d0%b1%d0%b0%d0%b2%d0%b8%d1%82%d1%8c-%d0%b4%d0%be%d0%bc%d0%b5%d0%bd%d0%bd%d0%be%d0%b3%d0%be-%d0%bf%d0%be%d0%bb%d1%8c%d0%b7%d0%be%d0%b2%d0%b0%d1%82%d0%b5%d0%bb%d1%8f/</link>
		<comments>http://adminfo.wordpress.com/2009/09/24/%d0%ba%d0%b0%d0%ba-%d0%b4%d0%be%d0%b1%d0%b0%d0%b2%d0%b8%d1%82%d1%8c-%d0%b4%d0%be%d0%bc%d0%b5%d0%bd%d0%bd%d0%be%d0%b3%d0%be-%d0%bf%d0%be%d0%bb%d1%8c%d0%b7%d0%be%d0%b2%d0%b0%d1%82%d0%b5%d0%bb%d1%8f/#comments</comments>
		<pubDate>Thu, 24 Sep 2009 11:44:47 +0000</pubDate>
		<dc:creator>Sharm</dc:creator>
				<category><![CDATA[AD]]></category>
		<category><![CDATA[Batch programming]]></category>
		<category><![CDATA[HOW-TO]]></category>
		<category><![CDATA[net command]]></category>
		<category><![CDATA[Windows console]]></category>

		<guid isPermaLink="false">http://adminfo.wordpress.com/?p=154</guid>
		<description><![CDATA[Иногда нужно добавить пользователя в локальнуюю  группу &#8211; например, дать ему административные права на компьютер.
Это можно сделать следующей командой:
net localgroup Administrators "DOMAIN\username" /ADD
С помощью команды net можно также добавить пользователя и в доменную группу:
net group LocalAdmins "DOMAIN\username" /ADD

The syntax of this command is:

NET GROUP
[groupname [/COMMENT:"text"]] [/DOMAIN]
             groupname {/ADD [/COMMENT:"text"] &#124; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adminfo.wordpress.com&blog=2493530&post=154&subd=adminfo&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Иногда нужно добавить пользователя в локальнуюю  группу &#8211; например, дать ему административные права на компьютер.</p>
<p>Это можно сделать следующей командой:</p>
<pre>net localgroup Administrators "DOMAIN\username" /ADD</pre>
<p>С помощью команды net можно также добавить пользователя и в доменную группу:</p>
<pre>net group LocalAdmins "DOMAIN\username" /ADD</pre>
<p><span id="more-154"></span></p>
<pre><span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;white-space:normal;font-size:13px;">T</span>he syntax of this command is:

NET GROUP
[groupname [/COMMENT:"text"]] [/DOMAIN]
             groupname {/ADD [/COMMENT:"text"] | /DELETE}  [/DOMAIN]
             groupname username [...] {/ADD | /DELETE} [/DOMAIN]

NET GROUP adds, displays, or modifies global groups on servers. Used
without parameters, it displays the groupnames on the server.

groupname        Is the name of the group to add, expand, or delete.
                 Supply only a groupname to view a list of users
                 in a group.
/COMMENT:"text"  Adds a comment for a new or existing group.
                 Enclose the text in quotation marks.
/DOMAIN          Performs the operation on a domain controller
                 of the current domain. Otherwise, the operation is
                 performed on the local computer.
username[ ...]   Lists one or more usernames to add to or remove from
                 a group. Separate multiple username entries with a space.
/ADD             Adds a group, or adds a username to a group.
/DELETE          Removes a group, or removes a username from a group.</pre>
<div></div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:86px;width:1px;height:1px;">The syntax of this command is:</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:86px;width:1px;height:1px;">NET GROUP</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:86px;width:1px;height:1px;">[groupname [/COMMENT:"text"]] [/DOMAIN]</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:86px;width:1px;height:1px;">groupname {/ADD [/COMMENT:"text"] | /DELETE}  [/DOMAIN]</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:86px;width:1px;height:1px;">groupname username [...] {/ADD | /DELETE} [/DOMAIN]</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:86px;width:1px;height:1px;">NET GROUP adds, displays, or modifies global groups on servers. Used</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:86px;width:1px;height:1px;">without parameters, it displays the groupnames on the server.</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:86px;width:1px;height:1px;">groupname        Is the name of the group to add, expand, or delete.</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:86px;width:1px;height:1px;">Supply only a groupname to view a list of users</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:86px;width:1px;height:1px;">in a group.</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:86px;width:1px;height:1px;">/COMMENT:&raquo;text&raquo;  Adds a comment for a new or existing group.</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:86px;width:1px;height:1px;">Enclose the text in quotation marks.</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:86px;width:1px;height:1px;">/DOMAIN          Performs the operation on a domain controller</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:86px;width:1px;height:1px;">of the current domain. Otherwise, the operation is</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:86px;width:1px;height:1px;">performed on the local computer.</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:86px;width:1px;height:1px;">username[ ...]   Lists one or more usernames to add to or remove from</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:86px;width:1px;height:1px;">a group. Separate multiple username entries with a space.</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:86px;width:1px;height:1px;">/ADD             Adds a group, or adds a username to a group.</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:86px;width:1px;height:1px;">/DELETE          Removes a group, or removes a username from a group.</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:86px;width:1px;height:1px;">NET HELP command | MORE displays Help one screen at a time.</div>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/adminfo.wordpress.com/154/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/adminfo.wordpress.com/154/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/adminfo.wordpress.com/154/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/adminfo.wordpress.com/154/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/adminfo.wordpress.com/154/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/adminfo.wordpress.com/154/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/adminfo.wordpress.com/154/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/adminfo.wordpress.com/154/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/adminfo.wordpress.com/154/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/adminfo.wordpress.com/154/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adminfo.wordpress.com&blog=2493530&post=154&subd=adminfo&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://adminfo.wordpress.com/2009/09/24/%d0%ba%d0%b0%d0%ba-%d0%b4%d0%be%d0%b1%d0%b0%d0%b2%d0%b8%d1%82%d1%8c-%d0%b4%d0%be%d0%bc%d0%b5%d0%bd%d0%bd%d0%be%d0%b3%d0%be-%d0%bf%d0%be%d0%bb%d1%8c%d0%b7%d0%be%d0%b2%d0%b0%d1%82%d0%b5%d0%bb%d1%8f/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Sharm</media:title>
		</media:content>
	</item>
		<item>
		<title>Как узнать имя выполняемого командного файла</title>
		<link>http://adminfo.wordpress.com/2009/09/18/%d0%ba%d0%b0%d0%ba-%d1%83%d0%b7%d0%bd%d0%b0%d1%82%d1%8c-%d0%b8%d0%bc%d1%8f-%d0%b2%d1%8b%d0%bf%d0%be%d0%bb%d0%bd%d1%8f%d0%b5%d0%bc%d0%be%d0%b3%d0%be-%d0%ba%d0%be%d0%bc%d0%b0%d0%bd%d0%b4%d0%bd%d0%be/</link>
		<comments>http://adminfo.wordpress.com/2009/09/18/%d0%ba%d0%b0%d0%ba-%d1%83%d0%b7%d0%bd%d0%b0%d1%82%d1%8c-%d0%b8%d0%bc%d1%8f-%d0%b2%d1%8b%d0%bf%d0%be%d0%bb%d0%bd%d1%8f%d0%b5%d0%bc%d0%be%d0%b3%d0%be-%d0%ba%d0%be%d0%bc%d0%b0%d0%bd%d0%b4%d0%bd%d0%be/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 11:58:53 +0000</pubDate>
		<dc:creator>Sharm</dc:creator>
				<category><![CDATA[Batch programming]]></category>
		<category><![CDATA[Microsoft]]></category>

		<guid isPermaLink="false">http://adminfo.wordpress.com/?p=151</guid>
		<description><![CDATA[И другие фишки, которые могут пригодится при batch-programming


%* in a batch script refers to all the arguments (e.g. %1 %2 %3
%4 %5 &#8230;)
Substitution of batch parameters (%n) has been enhanced.  You can
now use the following optional syntax:
%~1         &#8211; expands %1 removing any surrounding quotes (&#171;)
%~f1        - expands %1 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adminfo.wordpress.com&blog=2493530&post=151&subd=adminfo&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><div>И другие фишки, которые могут пригодится при batch-programming</div>
<div></div>
<div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">%* in a batch script refers to all the arguments (e.g. %1 %2 %3</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">%4 %5 &#8230;)</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">Substitution of batch parameters (%n) has been enhanced.  You can</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">now use the following optional syntax:</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">%~1         &#8211; expands %1 removing any surrounding quotes (&laquo;)</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">%~f1        - expands %1 to a fully qualified path name</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">%~d1        - expands %1 to a drive letter only</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">%~p1        - expands %1 to a path only</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">%~n1        - expands %1 to a file name only</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">%~x1        - expands %1 to a file extension only</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">%~s1        - expanded path contains short names only</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">%~a1        - expands %1 to file attributes</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">%~t1        - expands %1 to date/time of file</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">%~z1        - expands %1 to size of file</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">%~$PATH:1   &#8211; searches the directories listed in the PATH</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">environment variable and expands %1 to the fully</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">qualified name of the first one found.  If the</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">environment variable name is not defined or the</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">file is not found by the search, then this</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">modifier expands to the empty string</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">The modifiers can be combined to get compound results:</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">%~dp1       &#8211; expands %1 to a drive letter and path only</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">%~nx1       &#8211; expands %1 to a file name and extension only</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">%~dp$PATH:1 &#8211; searches the directories listed in the PATH</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">environment variable for %1 and expands to the</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">drive letter and path of the first one found.</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">%~ftza1     &#8211; expands %1 to a DIR like output line</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">In the above examples %1 and PATH can be replaced by other</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">valid values.  The %~ syntax is terminated by a valid argument</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">number.  The %~ modifiers may not be used with %*</div>
<div><span style="font-family:'times new roman';line-height:normal;"></p>
<h1 style="font-family:Arial, Helvetica, sans-serif;font-size:21px;font-weight:normal;color:#000000;margin:12px 0 0;">Using batch parameters</h1>
<p><span style="font-family:Verdana;font-size:11px;line-height:15px;">You can use batch parameters anywhere within a batch file to extract information about your environment settings.</span></p>
<p><a href="http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/percent.mspx?mfr=true">http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/percent.mspx?mfr=true</a></p>
<h1 style="font-family:Arial, Helvetica, sans-serif;font-size:21px;font-weight:normal;color:#000000;margin:12px 0 0;">Shift</h1>
<p style="font-family:Verdana, Arial, Helvetica, sans-serif;font-size:11px;line-height:15px;margin:0;padding:0 0 1em;">Changes the position of batch parameters in a batch file.</p>
<p style="font-family:Verdana, Arial, Helvetica, sans-serif;font-size:11px;line-height:15px;margin:0;padding:0 0 1em;"><a href="http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/shift.mspx?mfr=true">http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/shift.mspx?mfr=true</a></p>
<p style="font-family:Verdana, Arial, Helvetica, sans-serif;font-size:11px;line-height:15px;margin:0;padding:0 0 1em;"><span style="font-family:'times new roman';line-height:normal;"> </span></p>
<h1 style="font-family:Arial, Helvetica, sans-serif;font-size:21px;font-weight:normal;color:#000000;margin:12px 0 0;">Using command redirection operators</h1>
<p><span style="font-family:Verdana;line-height:15px;">You can use redirection operators to redirect command input and output streams from the default locations to different locations. The input or output stream location is referred to as a handle</span></p>
<p><span style="font-family:Verdana;line-height:15px;"><a href="http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/redirection.mspx?mfr=true">http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/redirection.mspx?mfr=true</a></span></p>
<p><span style="font-family:Verdana;line-height:15px;"><span style="font-family:'times new roman';line-height:normal;"> </span></span></p>
<h1 style="font-family:Arial, Helvetica, sans-serif;font-size:21px;font-weight:normal;color:#000000;margin:12px 0 0;">Using filters</h1>
<p><span style="font-family:Verdana;line-height:15px;">Used in conjunction with the command redirection pipe character (|), a command filter is a command within a command that reads the command&#8217;s input, transforms the input, and then writes the output. Filter commands help you sort, view, and select parts of a command output.</span></p>
<p><span style="font-size:small;"><span><a href="http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/filters.mspx?mfr=true">http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/filters.mspx?mfr=true</a></span></span></p>
<p><span style="font-size:medium;"><span><span id="more-151"></span></span></span><span style="font-family:Verdana;line-height:15px;">Cmd.exe provides the batch parameter expansion variables %0 through %9. When you use batch parameters in a batch file, %0 is replaced by the batch file name, and %1 through %9 are replaced by the corresponding arguments that you type at the command line. To access arguments beyond %9, you need to use the <strong>shift</strong> command. For more information about the <strong>shift</strong> command, see <a style="color:#800080;" href="http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/shift.mspx">Shift</a> The <em>%*</em> batch parameter is a wildcard reference to all the arguments, not including %0, that are passed to the batch file.</span></p>
<p></span></p>
<p style="font-family:Verdana, Arial, Helvetica, sans-serif;font-size:11px;line-height:15px;margin:0;padding:0 0 1em;">For example, to copy the contents from Folder1 to Folder2, where %1 is replaced by the value Folder1 and %2 is replaced by the value Folder2, type the following in a batch file called Mybatch.bat:</p>
<p style="font-family:Verdana, Arial, Helvetica, sans-serif;font-size:11px;line-height:15px;margin:0;padding:0 0 1em;"><strong>xcopy %1\*.* %2</strong></p>
<p style="font-family:Verdana, Arial, Helvetica, sans-serif;font-size:11px;line-height:15px;margin:0;padding:0 0 1em;">To run the file, type:</p>
<p style="font-family:Verdana, Arial, Helvetica, sans-serif;font-size:11px;line-height:15px;margin:0;padding:0 0 1em;"><strong>mybatch.bat C:\folder1 D:\folder2</strong></p>
<p style="font-family:Verdana, Arial, Helvetica, sans-serif;font-size:11px;line-height:15px;margin:0;padding:0 0 1em;">This has the same effect as typing the following in the batch file:</p>
<p style="font-family:Verdana, Arial, Helvetica, sans-serif;font-size:11px;line-height:15px;margin:0;padding:0 0 1em;"><strong>xcopy C:\folder1 \*.* D:\folder2</strong></p>
<p style="font-family:Verdana, Arial, Helvetica, sans-serif;font-size:11px;line-height:15px;margin:0;padding:0 0 1em;">You can also use modifiers with batch parameters. Modifiers use current drive and directory information to expand the batch parameter as a partial or complete file or directory name. To use a modifier, type the percent (%) character followed by a tilde (~) character, and then type the appropriate modifier (that is, <strong>%~</strong><em>modifier</em>).</p>
<p style="font-family:Verdana, Arial, Helvetica, sans-serif;font-size:11px;line-height:15px;margin:0;padding:0 0 1em;"><span style="font-family:Georgia;line-height:19px;font-size:13px;"> %* in a batch script refers to all the arguments (e.g. %1 %2 %3</span></p>
</div>
<div>%4 %5 &#8230;)</div>
<div></div>
<div>Substitution of batch parameters (%n) has been enhanced.  You can</div>
<div>now use the following optional syntax:</div>
<div></div>
<div>%~1         &#8211; expands %1 removing any surrounding quotes (&laquo;)</div>
<div>%~f1        - expands %1 to a fully qualified path name</div>
<div>%~d1        - expands %1 to a drive letter only</div>
<div>%~p1        - expands %1 to a path only</div>
<div>%~n1        - expands %1 to a file name only</div>
<div>%~x1        - expands %1 to a file extension only</div>
<div>%~s1        - expanded path contains short names only</div>
<div>%~a1        - expands %1 to file attributes</div>
<div>%~t1        - expands %1 to date/time of file</div>
<div>%~z1        - expands %1 to size of file</div>
<div>%~$PATH:1   &#8211; searches the directories listed in the PATH</div>
<div>environment variable and expands %1 to the fully</div>
<div>qualified name of the first one found.  If the</div>
<div>environment variable name is not defined or the</div>
<div>file is not found by the search, then this</div>
<div>modifier expands to the empty string</div>
<div></div>
<div>The modifiers can be combined to get compound results:</div>
<div></div>
<div>%~dp1       &#8211; expands %1 to a drive letter and path only</div>
<div>%~nx1       &#8211; expands %1 to a file name and extension only</div>
<div>%~dp$PATH:1 &#8211; searches the directories listed in the PATH</div>
<div>environment variable for %1 and expands to the</div>
<div>drive letter and path of the first one found.</div>
<div>%~ftza1     &#8211; expands %1 to a DIR like output line</div>
<div></div>
<div>In the above examples %1 and PATH can be replaced by other</div>
<div>valid values.  The %~ syntax is terminated by a valid argument</div>
<div>number.  The %~ modifiers may not be used with %*</div>
</div>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/adminfo.wordpress.com/151/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/adminfo.wordpress.com/151/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/adminfo.wordpress.com/151/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/adminfo.wordpress.com/151/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/adminfo.wordpress.com/151/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/adminfo.wordpress.com/151/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/adminfo.wordpress.com/151/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/adminfo.wordpress.com/151/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/adminfo.wordpress.com/151/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/adminfo.wordpress.com/151/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adminfo.wordpress.com&blog=2493530&post=151&subd=adminfo&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://adminfo.wordpress.com/2009/09/18/%d0%ba%d0%b0%d0%ba-%d1%83%d0%b7%d0%bd%d0%b0%d1%82%d1%8c-%d0%b8%d0%bc%d1%8f-%d0%b2%d1%8b%d0%bf%d0%be%d0%bb%d0%bd%d1%8f%d0%b5%d0%bc%d0%be%d0%b3%d0%be-%d0%ba%d0%be%d0%bc%d0%b0%d0%bd%d0%b4%d0%bd%d0%be/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Sharm</media:title>
		</media:content>
	</item>
		<item>
		<title>Как подключить Samba 3 сервер к домену Active Directory</title>
		<link>http://adminfo.wordpress.com/2009/09/14/%d0%ba%d0%b0%d0%ba-%d0%bf%d0%be%d0%b4%d0%ba%d0%bb%d1%8e%d1%87%d0%b8%d1%82%d1%8c-samba-3-%d1%81%d0%b5%d1%80%d0%b2%d0%b5%d1%80-%d0%ba-%d0%b4%d0%be%d0%bc%d0%b5%d0%bd%d1%83-active-directory/</link>
		<comments>http://adminfo.wordpress.com/2009/09/14/%d0%ba%d0%b0%d0%ba-%d0%bf%d0%be%d0%b4%d0%ba%d0%bb%d1%8e%d1%87%d0%b8%d1%82%d1%8c-samba-3-%d1%81%d0%b5%d1%80%d0%b2%d0%b5%d1%80-%d0%ba-%d0%b4%d0%be%d0%bc%d0%b5%d0%bd%d1%83-active-directory/#comments</comments>
		<pubDate>Mon, 14 Sep 2009 15:59:22 +0000</pubDate>
		<dc:creator>Sharm</dc:creator>
				<category><![CDATA[AD]]></category>
		<category><![CDATA[Samba]]></category>
		<category><![CDATA[Unix and Linux]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[identity management]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://adminfo.wordpress.com/?p=145</guid>
		<description><![CDATA[Join Samba 3 to Your Active Directory Domain
Original: http://www.enterprisenetworkingplanet.com/netos/article.php/3487081

A popular thing to do with Samba these days is to join a Samba 3 host to a Windows Active Directory domain. You may freely set up any number of Samba servers in a Windows network without joining them to the domain. The advantages of domain membership [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adminfo.wordpress.com&blog=2493530&post=145&subd=adminfo&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><h1 style="color:#3f0007;font-family:Arial, Helvetica, sans-serif;font-size:26px;font-weight:normal;line-height:26px;margin:.5em 0;padding:0;">Join Samba 3 to Your Active Directory Domain</h1>
<p>Original: <a href="http://www.enterprisenetworkingplanet.com/netos/article.php/3487081">http://www.enterprisenetworkingplanet.com/netos/article.php/3487081</a></p>
<p><span id="more-145"></span></p>
<p style="margin:0 0 1.5em;">A popular thing to do with Samba these days is to join a Samba 3 host to a Windows Active Directory domain. You may freely set up any number of Samba servers in a Windows network without joining them to the domain. The advantages of domain membership are central management and authentication, and single sign-on. Using Winbind allows Linux clients to log on to the AD domain without requiring local Linux system accounts, which is a lovely time- and hassle-saver.</p>
<p style="margin:0 0 1.5em;">Presumably you already have a functioning Active Directory domain, and know how to run it. AD is very dependent on DNS (domain name system) so I&#8217;ll assume your DNS house is also in order. On your Linux box you&#8217;ll need Samba 3, version 3.0.8 or newer. Plus MIT Kerberos 5, version 1.3.1 or newer, and OpenLDAP. (The Samba documentation states that Heimdal Kerberos, version 0.6.3 or newer, also works. The examples in this article use MIT Kerberos.) Debian users need the<em>krb5-user, krb5-config, krb5-doc,</em> and <em>libkrb53</em> packages. Red Hat and Fedora users need the <em>krb5</em>and <em>krb5-client</em> RPMs.</p>
<p style="margin:0 0 1.5em;">First you should verify that your Samba installation has been compiled to support Kerberos, LDAP, Active Directory, and Winbind. Most likely it has, but you need to make sure. The <strong>smbd</strong> command has a switch for printing build information. You will see a lot more lines of output than are shown here:</p>
<p style="margin:0 0 1.5em;"><tt><strong>root@windbag:/usr/sbin# cd /usr/sbin <br style="font-size:12px;line-height:1em;" />root@windbag:/usr/sbin# smbd -b | grep LDAP</strong> <br style="font-size:12px;line-height:1em;" />HAVE_LDAP_H <br style="font-size:12px;line-height:1em;" />HAVE_LDAP <br style="font-size:12px;line-height:1em;" />HAVE_LDAP_DOMAIN2HOSTLIST <br style="font-size:12px;line-height:1em;" />... <br style="font-size:12px;line-height:1em;" /><strong>root@windbag:/usr/sbin# smbd -b | grep KRB</strong> <br style="font-size:12px;line-height:1em;" />HAVE_KRB5_H <br style="font-size:12px;line-height:1em;" />HAVE_ADDRTYPE_IN_KRB5_ADDRESS <br style="font-size:12px;line-height:1em;" />HAVE_KRB5 <br style="font-size:12px;line-height:1em;" />... <br style="font-size:12px;line-height:1em;" /><strong>root@windbag:/usr/sbin# smbd -b | grep ADS</strong> <br style="font-size:12px;line-height:1em;" />WITH_ADS <br style="font-size:12px;line-height:1em;" />WITH_ADS <br style="font-size:12px;line-height:1em;" /><strong>root@windbag:/usr/sbin# smbd -b | grep WINBIND</strong> <br style="font-size:12px;line-height:1em;" />WITH_WINBIND <br style="font-size:12px;line-height:1em;" />WITH_WINBIND</tt></p>
<p style="margin:0 0 1.5em;">If you are in the unfortunate position of missing any of these, which will be indicated by a blank line, you need to recompile Samba. See <a style="color:#a30010;text-decoration:none;" href="http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/compiling.html">Chapter 37</a> of the The Official Samba-3 HOWTO and Reference Guide.</p>
<h3 style="font-size:13px;color:#3f0007;line-height:1.3em;margin:.2em 0 .5em;">Configure and Test Kerberos</h3>
<p style="margin:0 0 1.5em;">Let&#8217;s say our Active Directory domain server is <em>bigserver.domain.net</em>, and the Samba server is named<em>samba1</em>. This is the absolute minimum Kerberos configuration file, <em>/etc/krb5.conf</em>, for connecting to this domain:<tt></tt></p>
<p><tt></tt></p>
<p><tt></tt></p>
<p><tt></p>
<p style="margin:0 0 1.5em;">'libdefaults' <br style="font-size:12px;line-height:1em;" /> default_realm = DOMAIN.NET</p>
<p><tt></tt></p>
<p><tt></p>
<p style="margin:0 0 1.5em;">'realms'         DOMAIN.NET = { <br style="font-size:12px;line-height:1em;" /> kdc = bigserver.domain.net <br style="font-size:12px;line-height:1em;" /> }</p>
<p style="margin:0 0 1.5em;">'domain_realms' <br style="font-size:12px;line-height:1em;" /> .kerberos.server = DOMAIN.NET</p>
<p></tt></p>
<p style="margin:0 0 1.5em;">
<p style="margin:0 0 1.5em;">Use uppercase where it shows. Now try to connect, and mind your cases:</p>
<p style="margin:0 0 1.5em;"><tt><strong># kinit Administrator@DOMAIN.NET</strong> <br style="font-size:12px;line-height:1em;" />Password for Administrator@DOMAIN.NET</tt></p>
<p style="margin:0 0 1.5em;"><strong>Configure /etc/hosts</strong> <br style="font-size:12px;line-height:1em;" /></p>
<p style="margin:0 0 1.5em;">Even if your DNS servers are perfect in every way, it is a good idea to add important servers to your local <em>/etc/hosts</em> file. It speeds up lookups and provides a fallback in case the DNS servers go down:</p>
<p style="margin:0 0 1.5em;"><tt>192.168.10.5     bigserver.domain.net     bigserver</tt></p>
<p style="margin:0 0 1.5em;">
<h3 style="font-size:13px;color:#3f0007;line-height:1.3em;margin:.2em 0 .5em;">Configure Samba</h3>
<p style="margin:0 0 1.5em;">This example <strong>smb.conf </strong>shows a basic setup for a printer server and home shares. Shares are configured in the usual manner, only the <em>global</em> section changes when you join to an AD domain.</p>
<p style="margin:0 0 1.5em;"><tt># Global parameters <br style="font-size:12px;line-height:1em;" />'global' <br style="font-size:12px;line-height:1em;" />workgroup = DOMAIN <br style="font-size:12px;line-height:1em;" />realm = DOMAIN.NET <br style="font-size:12px;line-height:1em;" />preferred master = no <br style="font-size:12px;line-height:1em;" />server string = Samba file and print server <br style="font-size:12px;line-height:1em;" />security = ADS <br style="font-size:12px;line-height:1em;" />encrypt passwords = yes <br style="font-size:12px;line-height:1em;" />log level = 3 <br style="font-size:12px;line-height:1em;" />log file = /var/log/samba/%m <br style="font-size:12px;line-height:1em;" />max log size = 50 <br style="font-size:12px;line-height:1em;" />winbind separator = + <br style="font-size:12px;line-height:1em;" />printcap name = cups <br style="font-size:12px;line-height:1em;" />printing = cups <br style="font-size:12px;line-height:1em;" />idmap uid = 10000-20000 <br style="font-size:12px;line-height:1em;" />idmap gid = 10000-20000 <br style="font-size:12px;line-height:1em;" /><br style="font-size:12px;line-height:1em;" />'homes' <br style="font-size:12px;line-height:1em;" />comment = Home Directories <br style="font-size:12px;line-height:1em;" />valid users = %S <br style="font-size:12px;line-height:1em;" />read only = No <br style="font-size:12px;line-height:1em;" />browseable = No <br style="font-size:12px;line-height:1em;" /><br style="font-size:12px;line-height:1em;" />'printers' <br style="font-size:12px;line-height:1em;" />comment = All Printers <br style="font-size:12px;line-height:1em;" />browseable = no <br style="font-size:12px;line-height:1em;" />printable = yes <br style="font-size:12px;line-height:1em;" />guest ok = yes</tt></p>
<p style="margin:0 0 1.5em;">The workgroup is the name of your AD domain. Server string is a comment describing the server, make this anything you want. Log level runs from 0, for no logging, to 10, extreme logging. See <strong>man smbd.conf</strong> for the rest.</p>
<p style="margin:0 0 1.5em;">Save your changes and run</p>
<p style="margin:0 0 1.5em;"><tt><strong>$ testparm</strong></tt></p>
<p style="margin:0 0 1.5em;">This checks <em>smb.conf</em> for syntax errors. Any errors must be corrected before going ahead. Then start up Samba:</p>
<p style="margin:0 0 1.5em;"><tt><strong># /etc/init.d/samba start</strong></tt></p>
<p style="margin:0 0 1.5em;">Finally, join your Samba machine to Active Directory:</p>
<p style="margin:0 0 1.5em;"><tt><strong># net ads join -U Administrator</strong> <br style="font-size:12px;line-height:1em;" />Administrator's password: <br style="font-size:12px;line-height:1em;" />Joined 'SAMBA1' to realm 'DOMAIN.NET.'</tt></p>
<p style="margin:0 0 1.5em;">Hurrah! Success. The Samba box will now appear as a machine account under "Computers" in your AD console. Now stop Samba until the final steps are completed.</p>
<h3 style="font-size:13px;color:#3f0007;line-height:1.3em;margin:.2em 0 .5em;">Enabling Windbind</h3>
<p style="margin:0 0 1.5em;">Debian users may need to install the <em>winbind</em> package separately. RPM users will find it in the <em>samba-common</em> RPM. First, edit <em>/etc/nsswitch.conf</em>. The first three lines are the most important; the others vary according to your system:</p>
<p style="margin:0 0 1.5em;">
<p></tt></p>
<table style="width:600px;" border="0">
<tbody>
<tr>
<td>passwd:</td>
<td>compat winbind</td>
</tr>
<tr>
<td>group:</td>
<td>compat winbind</td>
</tr>
<tr>
<td>shadow:</td>
<td>compat</td>
</tr>
<tr>
<td>hosts:</td>
<td>files dns wins</td>
</tr>
<tr>
<td>networks:</td>
<td>files dns</td>
</tr>
<tr>
<td>protocols:</td>
<td>db files</td>
</tr>
<tr>
<td>services:</td>
<td>db files</td>
</tr>
<tr>
<td>ethers:</td>
<td>db files</td>
</tr>
<tr>
<td>rpc:</td>
<td>db files</td>
</tr>
</tbody>
</table>
<p><tt></tt></p>
<p><tt></p>
<p style="margin:0 0 1.5em;">
<p style="margin:0 0 1.5em;">Save your changes, and fire up windbind and Samba:</p>
<p style="margin:0 0 1.5em;"><tt><strong># winbind <br style="font-size:12px;line-height:1em;" /># /etc/init.d/samba start</strong></tt></p>
<p style="margin:0 0 1.5em;">Now verify that windbind is working. These commands pull lists of users and groups from the AD domain controller:</p>
<p style="margin:0 0 1.5em;"><tt><strong># wbinfo -u</strong> <br style="font-size:12px;line-height:1em;" />BIGSERVER+Administrator <br style="font-size:12px;line-height:1em;" />BIGSERVER+Guest <br style="font-size:12px;line-height:1em;" />BIGSERVER+cschroder <br style="font-size:12px;line-height:1em;" />BIGSERVER+mhall <br style="font-size:12px;line-height:1em;" /><strong># wbinfo -g</strong> <br style="font-size:12px;line-height:1em;" />BIGSERVER+Domain Computers <br style="font-size:12px;line-height:1em;" />BIGSERVER+Domain Admins <br style="font-size:12px;line-height:1em;" />BIGSERVER+Domain Guests <br style="font-size:12px;line-height:1em;" />BIGSERVER+Domain Users</tt></p>
<p style="margin:0 0 1.5em;">This command verifies that logins and passwords are coming from the AD server, and not the local machine:</p>
<p style="margin:0 0 1.5em;"><tt><strong># getent passwd</strong> <br style="font-size:12px;line-height:1em;" />BIGSERVER+cschroder:x:1000:1000:,,,:/home/BIGSERVER/cschroder:/bin/bash</tt></p>
<p style="margin:0 0 1.5em;">If winbind is not working and local authentication is still active, they will not have the BIGSERVER+ prefix. Finally, as root run <strong>net ads info</strong> to display the AD server information.</p>
<h3 style="font-size:13px;color:#3f0007;line-height:1.3em;margin:.2em 0 .5em;">Troubleshooting</h3>
<p style="margin:0 0 1.5em;">If you've gotten this far and everything works, your Samba server is now a fully-fledged member of your Active Directory domain, and can be managed like any other AD object. A nice bonus is you may have local Linux accounts on the Samba box that are not visible in Active Directory; which means your Samba admins can SSH directly into the Samba server for admin chores, and not have to fuss with AD roadblocks.</p>
<p style="margin:0 0 1.5em;">A good troubleshooting guide is chapter 9 of "Samba-3 by Example" (<a style="color:#a30010;text-decoration:none;" href="http://go.internet.com/?id=474X1085&amp;url=http%3A%2F%2Fsamba.org%2Fsamba%2Fdocs%2Fman%2FSamba-Guide%2Findex.html">Adding UNIX/LINUX Servers and Clients</a>). Also refer to chapter 12 (<a style="color:#a30010;text-decoration:none;" href="http://samba.org/samba/docs/man/Samba-HOWTO-Collection/index.html">Identity Mapping</a>) of "The Official Samba-3 HOWTO and Reference Guide" to learn about winbind in greater depth.</p>
<h3 style="font-size:13px;color:#3f0007;line-height:1.3em;margin:.2em 0 .5em;">Resources</h3>
<p style="margin:0 0 1.5em;">
<ul>
<li><a style="color:#a30010;text-decoration:none;" href="http://samba.org/samba/docs/">Many good Samba books and howtos here.</a> <br style="font-size:12px;line-height:1em;" /></li>
<li><a style="color:#a30010;text-decoration:none;" href="http://www.linuxdevcenter.com/pub/a/linux/2005/01/13/lnxckbk_samba.html">Network Installation of Windows Printers from Samba</a> tells how to automatically install Windows printers from Samba. <br style="font-size:12px;line-height:1em;" /></li>
<li>Chapter 23 of the <a style="color:#a30010;text-decoration:none;" href="http://www.oreilly.com/catalog/linuxckbk/">Linux Cookbook</a> covers Samba basics in depth, including printing and file sharing, and connecting from both Windows and Linux clients.</li>
</ul>
<p></tt></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/adminfo.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/adminfo.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/adminfo.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/adminfo.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/adminfo.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/adminfo.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/adminfo.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/adminfo.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/adminfo.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/adminfo.wordpress.com/145/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adminfo.wordpress.com&blog=2493530&post=145&subd=adminfo&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://adminfo.wordpress.com/2009/09/14/%d0%ba%d0%b0%d0%ba-%d0%bf%d0%be%d0%b4%d0%ba%d0%bb%d1%8e%d1%87%d0%b8%d1%82%d1%8c-samba-3-%d1%81%d0%b5%d1%80%d0%b2%d0%b5%d1%80-%d0%ba-%d0%b4%d0%be%d0%bc%d0%b5%d0%bd%d1%83-active-directory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Sharm</media:title>
		</media:content>
	</item>
		<item>
		<title>Как упавший контроллер домена поднять</title>
		<link>http://adminfo.wordpress.com/2009/09/10/%d0%ba%d0%b0%d0%ba-%d1%83%d0%bf%d0%b0%d0%b2%d1%88%d0%b8%d0%b9-%d0%ba%d0%be%d0%bd%d1%82%d1%80%d0%be%d0%bb%d0%bb%d0%b5%d1%80-%d0%b4%d0%be%d0%bc%d0%b5%d0%bd%d0%b0-%d0%bf%d0%be%d0%b4%d0%bd%d1%8f%d1%82/</link>
		<comments>http://adminfo.wordpress.com/2009/09/10/%d0%ba%d0%b0%d0%ba-%d1%83%d0%bf%d0%b0%d0%b2%d1%88%d0%b8%d0%b9-%d0%ba%d0%be%d0%bd%d1%82%d1%80%d0%be%d0%bb%d0%bb%d0%b5%d1%80-%d0%b4%d0%be%d0%bc%d0%b5%d0%bd%d0%b0-%d0%bf%d0%be%d0%b4%d0%bd%d1%8f%d1%82/#comments</comments>
		<pubDate>Thu, 10 Sep 2009 12:59:49 +0000</pubDate>
		<dc:creator>Sharm</dc:creator>
				<category><![CDATA[AD]]></category>
		<category><![CDATA[HOW-TO]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[domain controller]]></category>
		<category><![CDATA[restore]]></category>

		<guid isPermaLink="false">http://adminfo.wordpress.com/?p=142</guid>
		<description><![CDATA[http://articles.techrepublic.com.com/5100-10878_11-6082663.html
хорошая статья &#8211; что делать, если упал один из контроллеров домена

This article is also available as a PDF download.
I recently had to sort out an issue with a failed mirror set (i.e., RAID 1) on a Windows Server 2003 domain controller. No problem, I thought. Well, not quite. The mirror had to be deleted, taking everything [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adminfo.wordpress.com&blog=2493530&post=142&subd=adminfo&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://articles.techrepublic.com.com/5100-10878_11-6082663.html">http://articles.techrepublic.com.com/5100-10878_11-6082663.html</a></p>
<p>хорошая статья &#8211; что делать, если упал один из контроллеров домена</p>
<p><span id="more-142"></span></p>
<p style="margin:12px 0;padding:0;"><em>This article is also available as a <a style="color:#003399;text-decoration:none;outline-style:none;outline-width:initial;outline-color:initial;cursor:pointer;" href="http://whitepapers.techrepublic.com.com/abstract.aspx?docid=178300" target="_blank">PDF download</a>.</em></p>
<p style="margin:12px 0;padding:0;">I recently had to sort out an issue with a failed mirror set (i.e., RAID 1) on a Windows Server 2003 domain controller. No problem, I thought. Well, not quite. The mirror had to be deleted, taking everything from both drives with it. Restoring Active Directory through backup failed. To make a bad situation worse, the DC was the holder of all the Flexible Single Master of Operations (FSMO) roles in this (single) domain. Transferring the roles failed; seizing them was problematic. Disaster recovery? Indeed! This article will show you how to get such a DC&#8211;and the whole domain&#8211;back from the brink. As you&#8217;ll see, a disaster recovery plan is about more than generalities.</p>
<h2 style="background-image:none;background-repeat:initial;background-attachment:initial;background-color:initial;color:#000000;font-size:1.5em;clear:none;height:auto;font-weight:bold;display:inline;background-position:initial initial;margin:0;padding:0;">Disaster scenario</h2>
<p style="margin:12px 0;padding:0;">You have your disaster recovery plan all neatly set out. Then disaster strikes: A Windows Server 2003 domain controller goes down. Okay, not a train smash; you&#8217;ve got up-to-date backups. But restoring Active Directory via backup fails. Now what? Well, you can still reinstall Server 2003 and restore user data from backup. (The latter works&#8211;you&#8217;ve checked.)</p>
<p style="margin:12px 0;padding:0;">There&#8217;s only one problem: This server was the holder of all the FSMO roles. So you&#8217;re starting to sweat a little, but not too profusely. You know about transferring FSMO roles to another domain controller. But what if that fails? Yes, you can try seizing it. At this stage, you&#8217;re looking at the stuff disasters are made of, because now your whole domain teeters on the brink. (I&#8217;ll explain why in a moment.)</p>
<p style="margin:12px 0;padding:0;">Admittedly, this is a very particular (and very unfortunate) scenario. But then, the nature of a disaster is its unpredictability. And there are a couple of general lessons to be learned from this specific incident. Here&#8217;s what I did and what I learned along the way.</p>
<p style="margin:12px 0;padding:0;">In this situation, the failed mirror could not be rebuilt in a nondestructive way (I won&#8217;t go into the whys and wherefores here), making loss of all data on both drives inevitable. I tried restoring AD from backup. It failed, presumably because the backup software that was used (an old version for NT) didn&#8217;t back up the system state data. Trying to restore with Server 2003&#8217;s own backup utility (ntbackup.exe) didn&#8217;t work either. It didn&#8217;t recognize the backup format of the legacy software.</p>
<h2 style="background-image:none;background-repeat:initial;background-attachment:initial;background-color:initial;color:#000000;font-size:1.5em;clear:none;height:auto;font-weight:bold;display:inline;background-position:initial initial;margin:0;padding:0;">Lose the roles and you&#8217;re lost</h2>
<p style="margin:12px 0;padding:0;">Next, I tried transferring the <a style="color:#003399;text-decoration:none;outline-style:none;outline-width:initial;outline-color:initial;cursor:pointer;" href="http://support.microsoft.com/?id=255504" target="_blank">FSMO roles</a> that were held by this DC to another DC in the domain. It failed. Then I attempted seizing the roles, but the error messages I got (<strong>Figure A</strong>) did not look promising. I nevertheless attempted seizing every role, and strangely enough, after completing the whole procedure described below, I saw that the roles had been seized successfully. (Don&#8217;t ask me, ask Microsoft.)</p>
<table style="margin:18px 0 25px;padding:0;" border="0">
<tbody>
<tr>
<td style="padding:0;" align="center">
<p style="margin:12px 0;padding:2px 5px;"><strong>Figure A</strong></p>
</td>
</tr>
<tr>
<td style="padding:0;" align="center"><img style="border:0 initial initial;" src="http://techrepublic.com.com/i/tr/downloads/images/ad_dr/seize.jpg" alt="" /></td>
</tr>
<tr>
<td style="padding:0;" align="center">The attempt at seizing the roles resulted in these errors. (Note: the domain name, DC/server name, and CN name have been edited out for security reasons.)</td>
</tr>
</tbody>
</table>
<p style="margin:12px 0;padding:0;">But what happens if you do lose the FSMO roles? Let&#8217;s just say that losing some of them can have bone-chilling implications. For example, without the RID Master, if you have more than one domain, you won&#8217;t&#8211;with immediate effect&#8211;be able to move security principals from one domain to another. You also won&#8217;t be able to add new users, groups, and computers to the domain. You won&#8217;t experience the latter problem immediately, as each DC in the domain has a pool of 512 RIDs. But after that, you&#8217;re dead in the water. Now you&#8217;re faced with the prospect rebuilding the whole domain.</p>
<h2 style="background-image:none;background-repeat:initial;background-attachment:initial;background-color:initial;color:#000000;font-size:1.5em;clear:none;height:auto;font-weight:bold;display:inline;background-position:initial initial;margin:0;padding:0;">Replication to the rescue</h2>
<p style="margin:12px 0;padding:0;">So what are your options (apart from re-creating the domain)? Reinstalling and replicating. If you have a big AD (and maybe slow WAN links), replication is not an attractive option, but it might be your only choice. If you have another DC in the same site as the failed DC, you&#8217;re in luck, because replication will be much faster.</p>
<p style="margin:12px 0;padding:0;"><strong>Tip:</strong> If it will speed up things, take the DC you&#8217;re reinstalling to the same location as the one you intend replicating from. In my case, the two DCs in the same site were separated by a wireless link that would have slowed replication down, so I took the one across.</p>
<p style="margin:12px 0;padding:0;">Reinstall Windows Server 2003 on the failed machine, make it a DC (run DCPromo), and install and restore whatever other services there were on the machine, like DHCP, WINS, DNS, and IIS. When you&#8217;re finished, start replicating. Now you&#8217;re ready to restore your data.</p>
<h2 style="background-image:none;background-repeat:initial;background-attachment:initial;background-color:initial;color:#000000;font-size:1.5em;clear:none;height:auto;font-weight:bold;display:inline;background-position:initial initial;margin:0;padding:0;">First, clean up</h2>
<p style="margin:12px 0;padding:0;">Before you reinstall Windows Server 2003 on the failed machine and make it a DC, there&#8217;s an important job to do: a metadata cleanup. This entails removing the dead DC from AD (more technically speaking, removing the ntdsDSA object). You have to be an Enterprise Administrator to perform this task.</p>
<p style="margin:12px 0;padding:0;">A word of caution: Be absolutely sure this is the route you want to take before you do the metadata cleanup. There&#8217;s no turning back (at least none that I&#8217;m aware of).</p>
<p style="margin:12px 0;padding:0;">How you perform the cleanup will differ depending on whether you want to name your new DC the same as the old (failed) one. I suggest retaining the old name, as it simplifies matters a lot (for example, with shares). However, if you always wanted to rename that DC, now is the time.</p>
<p style="margin:12px 0;padding:0;">Let&#8217;s start with the steps to follow if you want to give the new DC the same name. In this case, you&#8217;ll have to remove the old DC&#8217;s ntdsDSA object.</p>
<p style="margin:12px 0;padding:0;">The commands differ slightly depending on whether the DC in question has Service Pack 1 (SP1) installed. If SP1 is installed, metadata cleanup also removes File Replication Service (FRS) connections and as part of the process, tries to transfer or seize any operations master roles that the retired DC holds.</p>
<ol style="margin:12px 10px 12px 32px;padding:0;">
<li style="margin:6px 0;padding:0;">Type <strong>ntdsutil</strong> at the command prompt.</li>
<li style="margin:6px 0;padding:0;">At the<em> ntdsutil:</em> prompt, type<strong> metadata cleanup</strong> and press [Enter].</li>
<li style="margin:6px 0;padding:0;">If SP1 is installed, type <strong>remove selected server <em>ServerName</em></strong><em>.</em> (See <strong>Figure B</strong>.) If SP1 is not installed and you&#8217;re using the version of Ntdsutil.exe that&#8217;s included with Windows Server 2003 with no service pack, connect to the existing domain controller (in our case, the one in the same site as the failed DC) on which you want to remove the failed DC&#8217;s ntdsDSA object. To do this, type <strong>connections</strong> at the <em>metadata cleanup</em> prompt and press [Enter].</li>
<li style="margin:6px 0;padding:0;">Type <strong>connect to server <em>&lt;servername&gt;</em></strong>, where <em>&lt;servername&gt;</em> is the DC that will be used to clean the metadata, and press [Enter]. It can be any working DC in the same domain, but we&#8217;ll use one in the same site. <strong>Figure C</strong> shows this step on a DC that does not have SP1 installed.</li>
<li style="margin:6px 0;padding:0;">Type <strong>quit</strong> and press [Enter].</li>
<li style="margin:6px 0;padding:0;">Type <strong>select operation target</strong> and press [Enter].</li>
<li style="margin:6px 0;padding:0;">Type <strong>list domains</strong> and press [Enter]. All domains in the forest will be listed.</li>
<li style="margin:6px 0;padding:0;">Type <strong>select domain &lt;number&gt;</strong> and press [Enter].</li>
<li style="margin:6px 0;padding:0;">Type <strong>list sites</strong> and press [Enter].</li>
<li style="margin:6px 0;padding:0;">Type <strong>select site <em>&lt;number&gt;</em></strong> (the number of the site in which the DC was a member) and press [Enter].</li>
<li style="margin:6px 0;padding:0;">Type <strong>list servers in site</strong> and press [Enter].</li>
<li style="margin:6px 0;padding:0;">Type <strong>select server <em>&lt;number&gt;</em></strong>, where <em>&lt;number&gt;</em> is that of the DC to be removed, and press [Enter].</li>
<li style="margin:6px 0;padding:0;">Type <strong>quit</strong> and press [Enter].</li>
<li style="margin:6px 0;padding:0;">Type <strong>remove selected server</strong> and press [Enter].</li>
<li style="margin:6px 0;padding:0;">Type <strong>quit</strong> and press [Enter] until you&#8217;re back at the command prompt.</li>
</ol>
<table style="margin:18px 0 25px;padding:0;" border="0">
<tbody>
<tr>
<td style="padding:0;" align="center">
<p style="margin:12px 0;padding:2px 5px;"><strong>Figure B</strong></p>
</td>
</tr>
<tr>
<td style="padding:0;" align="center"><img style="border:0 initial initial;" src="http://techrepublic.com.com/i/tr/downloads/images/ad_dr/withsp1.jpg" alt="" /></td>
</tr>
<tr>
<td style="padding:0;" align="center">Starting the metadata cleanup process using ntdsutil on a DC with SP1 installed</td>
</tr>
</tbody>
</table>
<table style="margin:18px 0 25px;padding:0;" border="0">
<tbody>
<tr>
<td style="padding:0;" align="center">
<p style="margin:12px 0;padding:2px 5px;"><strong>FigureC</strong></p>
</td>
</tr>
<tr>
<td style="padding:0;" align="center"><img style="border:0 initial initial;" src="http://techrepublic.com.com/i/tr/downloads/images/ad_dr/sans_sp1.jpg" alt="" /></td>
</tr>
<tr>
<td style="padding:0;" align="center">Starting the metadata cleanup process using ntdsutil on a DC without SP1 installed</td>
</tr>
</tbody>
</table>
<p style="margin:12px 0;padding:0;">If you&#8217;re going to take the plunge and give the DC a new name, you&#8217;ll have to remove the failed server from the Sites &amp; Services and Users &amp; Computers snap-ins. NB: Don&#8217;t do this if the new DC will have the same name as the failed one.</p>
<ol style="margin:12px 10px 12px 32px;padding:0;">
<li style="margin:6px 0;padding:0;">Open the Sites &amp; Services snap-in.</li>
<li style="margin:6px 0;padding:0;">Select the relevant site.</li>
<li style="margin:6px 0;padding:0;">Delete the server object representing the failed DC.</li>
</ol>
<ol style="margin:12px 10px 12px 32px;padding:0;">
<li style="margin:6px 0;padding:0;">Open the Users &amp; Computers snap-in.</li>
<li style="margin:6px 0;padding:0;">Select the domain controllers container.</li>
<li style="margin:6px 0;padding:0;">Delete the computer object associated with the failed DC.</li>
</ol>
<h2 style="background-image:none;background-repeat:initial;background-attachment:initial;background-color:initial;color:#000000;font-size:1.5em;clear:none;height:auto;font-weight:bold;display:inline;background-position:initial initial;margin:0;padding:0;">Lessons</h2>
<p style="margin:12px 0;padding:0;">Here are some things you should know, check, and do before disaster strikes:</p>
<p style="margin:12px 0;padding:0;">This might seem pretty obvious (but how many of us do it&#8230;): Plan for what-if (worst-case) scenarios. That&#8217;s what&#8217;s meant by &laquo;disaster&raquo;, right? Don&#8217;t bargain on anything (backups working, etc.)</p>
<p style="margin:12px 0;padding:0;">Outline procedures to recover from disasters like these. Put a fair amount of detail in your disaster recovery documentation. You need more than generalities. Have the procedures for tasks like seizing FSMO roles set out clearly as part of your disaster recovery plan. It will speed up recovery considerably in case of a crisis.</p>
<p style="margin:12px 0;padding:0;">Even better, test your procedures in the calm environment of a test lab.</p>
<p style="margin:12px 0;padding:0;">Regularly check that you have what it takes to recover from a disaster. For instance, how up-to-date is the backup of your system state data? When it comes to system state data, age matters. If your system state backup is older than the tombstone age, you&#8217;re in for trouble. The default tombstone lifetime is 60 days. (A tombstone keeps tabs on objects deleted but not yet completely removed from AD.) To prevent inconsistencies in AD, you&#8217;re prevented from restoring data older than the tombstone lifetime.</p>
<p style="margin:12px 0;padding:0;">Prepare to speed up recovery (and take pressure off yourself) by making separate backups of DNS and DHCP and all server drivers.</p>
<p style="margin:12px 0;padding:0;">Ensure that your disaster recovery procedure is set out clearly and systematically, listing the steps to follow and the order in which things should be done.</p>
<h2 style="background-image:none;background-repeat:initial;background-attachment:initial;background-color:initial;color:#000000;font-size:1.5em;clear:none;height:auto;font-weight:bold;display:inline;background-position:initial initial;margin:0;padding:0;">Potential pitfalls</h2>
<p style="margin:12px 0;padding:0;">Install the relevant service pack(s) and critical updates immediately after reinstallation. Remember to check shares and permissions. I also had to restore mapped drives. Also, remember to set up the time service again if you had to follow the recovery route described above. And just to add to the fun: If you apply Server 2003&#8217;s SP1, you might run into a problem with the time server service not starting. You&#8217;ll find the solution <a style="color:#003399;text-decoration:none;outline-style:none;outline-width:initial;outline-color:initial;cursor:pointer;" href="http://support.microsoft.com/?kbid=892501" target="_blank">here</a>.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/adminfo.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/adminfo.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/adminfo.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/adminfo.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/adminfo.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/adminfo.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/adminfo.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/adminfo.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/adminfo.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/adminfo.wordpress.com/142/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adminfo.wordpress.com&blog=2493530&post=142&subd=adminfo&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://adminfo.wordpress.com/2009/09/10/%d0%ba%d0%b0%d0%ba-%d1%83%d0%bf%d0%b0%d0%b2%d1%88%d0%b8%d0%b9-%d0%ba%d0%be%d0%bd%d1%82%d1%80%d0%be%d0%bb%d0%bb%d0%b5%d1%80-%d0%b4%d0%be%d0%bc%d0%b5%d0%bd%d0%b0-%d0%bf%d0%be%d0%b4%d0%bd%d1%8f%d1%82/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Sharm</media:title>
		</media:content>

		<media:content url="http://techrepublic.com.com/i/tr/downloads/images/ad_dr/seize.jpg" medium="image" />

		<media:content url="http://techrepublic.com.com/i/tr/downloads/images/ad_dr/withsp1.jpg" medium="image" />

		<media:content url="http://techrepublic.com.com/i/tr/downloads/images/ad_dr/sans_sp1.jpg" medium="image" />
	</item>
		<item>
		<title>KIS vs NTFS</title>
		<link>http://adminfo.wordpress.com/2009/09/10/kis-vs-ntfs/</link>
		<comments>http://adminfo.wordpress.com/2009/09/10/kis-vs-ntfs/#comments</comments>
		<pubDate>Thu, 10 Sep 2009 11:40:06 +0000</pubDate>
		<dc:creator>Sharm</dc:creator>
				<category><![CDATA[Kaspersky]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[антивирус]]></category>
		<category><![CDATA[ошибки]]></category>

		<guid isPermaLink="false">http://adminfo.wordpress.com/?p=137</guid>
		<description><![CDATA[Недавно столкнулись с интересной ситуацией:
при выполнении SVN update под Windows 7 TortoiseSVN выдавала сообщение об ошибке &#8211; недоступности каталога. При этом в System логе Windows появлялось сообщение с EventID 55 &#8211; NTFS &#8211; что файловая система повреждена и требуется проверка.
В результате изучения проблемы был обнаружен виновник &#8211; им оказался Kaspersky Internet Security 2010, установленный на [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adminfo.wordpress.com&blog=2493530&post=137&subd=adminfo&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://images.kaspersky.com/ru/boxes/kis2010_rus_big.jpg"><img class="alignnone" title="KIS2010" src="http://images.kaspersky.com/ru/boxes/kis2010_rus_big.jpg" alt="" width="250" height="310" /></a>Недавно столкнулись с интересной ситуацией:</p>
<p>при выполнении SVN update под Windows 7 TortoiseSVN выдавала сообщение об ошибке &#8211; недоступности каталога. При этом в System логе Windows появлялось сообщение с EventID 55 &#8211; NTFS &#8211; что файловая система повреждена и требуется проверка.</p>
<p>В результате изучения проблемы был обнаружен виновник &#8211; им оказался Kaspersky Internet Security 2010, установленный на компьютере. После отключения проверки файлов на-лету, проблема исчезла.</p>
<p>Винчестер, память и операционная система, на которые мы поначалу грешили, оказались невиновны <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/adminfo.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/adminfo.wordpress.com/137/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/adminfo.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/adminfo.wordpress.com/137/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/adminfo.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/adminfo.wordpress.com/137/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/adminfo.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/adminfo.wordpress.com/137/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/adminfo.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/adminfo.wordpress.com/137/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adminfo.wordpress.com&blog=2493530&post=137&subd=adminfo&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://adminfo.wordpress.com/2009/09/10/kis-vs-ntfs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Sharm</media:title>
		</media:content>

		<media:content url="http://images.kaspersky.com/ru/boxes/kis2010_rus_big.jpg" medium="image">
			<media:title type="html">KIS2010</media:title>
		</media:content>
	</item>
		<item>
		<title>Как отрегулировать Теневое копирование тома под Vista/Windows 7</title>
		<link>http://adminfo.wordpress.com/2009/06/16/how-to-config-vss-in-vista-windows7/</link>
		<comments>http://adminfo.wordpress.com/2009/06/16/how-to-config-vss-in-vista-windows7/#comments</comments>
		<pubDate>Tue, 16 Jun 2009 20:43:58 +0000</pubDate>
		<dc:creator>Sharm</dc:creator>
				<category><![CDATA[VSS]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows Vista]]></category>

		<guid isPermaLink="false">http://adminfo.wordpress.com/?p=118</guid>
		<description><![CDATA[Служба &#171;Теневое копирование тома&#187; (Volume Shadowcopy Service, VSS) сохраняет точки восстановления и поддерживает резервирование и восстановление файлов.  Для этого служба выполняет моментальный снимок файлов на определенный момент времени. VSS создаёт статические копии открытых файлов и приложений, которые при других обстоятельствах не могут быть скопированы.
Благодаря этому механизму, в Vista появилась возможность вернуться к предыдущей версии любых [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adminfo.wordpress.com&blog=2493530&post=118&subd=adminfo&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p align="justify">Служба &laquo;Теневое копирование тома&raquo; (Volume Shadowcopy Service, VSS) сохраняет точки восстановления и поддерживает резервирование и восстановление файлов.  Для этого служба выполняет моментальный снимок файлов на определенный момент времени. VSS создаёт статические копии открытых файлов и приложений, которые при других обстоятельствах не могут быть скопированы.</p>
<p align="justify">Благодаря этому механизму, в Vista появилась возможность вернуться к предыдущей версии любых файлов. Теперь можно даже восстановить папку, которая была удалена без помещения в корзину! Для этого достаточно открыть свойства более верхней папки, выбрать &laquo;Предыдущие копии&raquo; (&laquo;Previous versions&raquo;) и открыть последнюю предыдущую версию. Затем вы сможете скопировать удаленную папку на прежнее место.  Конечно, все это возможно при условии, что служба теневого копирования включена и отслеживает изменения на вашем диске.</p>
<p align="justify">Посмотреть, сколько места занимают текущие теневые копии тома можно с помощью команды:</p>
<blockquote>
<p align="justify">vssadmin list shadowstorage</p>
</blockquote>
<p align="justify">Эта команда выведет список всех имеющихся копий с указанием их размера.</p>
<p align="justify">С помощью vssadmin можно также изменить размер, который система сможет выделить для теневых копий.</p>
<p align="justify">Для Windows 7 после установки теневые копии создаются только для системного диска. Если у вас документы находятся на диске D:, стоит открыть Control Panel -&gt; System and Security -&gt; System, выбрать &laquo;System protection&raquo; и включить создание предыдущих копий для этого диска:</p>
<p align="justify"><img class="alignnone size-full wp-image-120" title="System properties" src="http://adminfo.files.wordpress.com/2009/06/system-properties.png?w=426&#038;h=474" alt="System properties" width="426" height="474" /></p>
<p align="justify"><img class="alignnone size-full wp-image-119" title="D System properties" src="http://adminfo.files.wordpress.com/2009/06/d-system-properties.png?w=421&#038;h=472" alt="D System properties" width="421" height="472" /></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/adminfo.wordpress.com/118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/adminfo.wordpress.com/118/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/adminfo.wordpress.com/118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/adminfo.wordpress.com/118/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/adminfo.wordpress.com/118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/adminfo.wordpress.com/118/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/adminfo.wordpress.com/118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/adminfo.wordpress.com/118/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/adminfo.wordpress.com/118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/adminfo.wordpress.com/118/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adminfo.wordpress.com&blog=2493530&post=118&subd=adminfo&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://adminfo.wordpress.com/2009/06/16/how-to-config-vss-in-vista-windows7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Sharm</media:title>
		</media:content>

		<media:content url="http://adminfo.files.wordpress.com/2009/06/system-properties.png" medium="image">
			<media:title type="html">System properties</media:title>
		</media:content>

		<media:content url="http://adminfo.files.wordpress.com/2009/06/d-system-properties.png" medium="image">
			<media:title type="html">D System properties</media:title>
		</media:content>
	</item>
	</channel>
</rss>