<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-28619147</id><updated>2012-01-12T07:22:20.182+01:00</updated><title type='text'>Els's blog</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://elssblog.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28619147/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://elssblog.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Els</name><uri>http://www.blogger.com/profile/04526470295431436444</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>16</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-28619147.post-8971825998487219895</id><published>2006-12-13T22:14:00.001+01:00</published><updated>2006-12-13T22:14:33.360+01:00</updated><title type='text'>File Replication Service Problems</title><content type='html'>&lt;p&gt;&lt;strong&gt;Situation:&lt;br&gt;&lt;/strong&gt;Your Active Directory environment seems to be working fine. Yet you discover that policies are not always being executed. Sometimes they are, sometimes they're not.&lt;br&gt;When you check AD replication everything is ok and new objects are replicated to all of the domain controllers. But when you check the Sysvol, one of your DCs seems to be out of date.&lt;br&gt;After testing Sysvol replication (by adding a file to the sysvol on a good DC and forcing replication to the outdated DC) you discover that this domain controller never receives group policy updates.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Problem:&lt;br&gt;&lt;/strong&gt;When you check the Event Viewer on the problem DC, you see the following error message:&lt;/p&gt; &lt;blockquote&gt; &lt;p&gt;&lt;font color="#333333" size="2"&gt;Event Id 13561: The File Replication Service has detected that the replica set "Sysvol" is in JRNL_WRAP_ERROR. &lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font color="#333333" size="2"&gt;A replica set hits JRNL_WRAP_ERROR when the record it is trying to read from the NTFS USN journal is not found. This can occur because of one of the following reasons: ...&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;&lt;strong&gt;Solution:&lt;br&gt;&lt;/strong&gt;You will have to remove the server from the Replica Set and then add it again. This will cause the DC to replicate the entire Sysvol again. To accomplish this, do the following:&lt;/p&gt; &lt;p&gt;1. Start Registry Editor.&lt;/p&gt; &lt;p&gt;2.&amp;nbsp;Find the following key: HKEY_LOCAL_MACHINE\System \CurrentControlSet\Services\Ntfrs\Parameters&lt;/p&gt; &lt;p&gt;3. Add a new Dword value: Enable Journal Wrap Automatic Restore&lt;/p&gt; &lt;p&gt;4. Set the value to 1.&lt;/p&gt; &lt;p&gt;5. Wait for the Sysvol to get replicated. During this time you will see the following events in the Event Viewer:&lt;/p&gt; &lt;blockquote&gt; &lt;p&gt;&lt;u&gt;13560&lt;/u&gt;: FRS is deleting the computer from the replica set.&lt;br&gt;&lt;u&gt;13553&lt;/u&gt;: FRS has added the computer to the replica set.&lt;br&gt;&lt;u&gt;13516&lt;/u&gt;: FRS is no longer preventing the computer from becoming a DC.&lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;At that moment everything should be fine again!&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Remark:&lt;br&gt;&lt;/strong&gt;Do not forget to change the value of the Journal Wrap Automatic Restore back to 0!&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28619147-8971825998487219895?l=elssblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://elssblog.blogspot.com/feeds/8971825998487219895/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28619147&amp;postID=8971825998487219895' title='333 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28619147/posts/default/8971825998487219895'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28619147/posts/default/8971825998487219895'/><link rel='alternate' type='text/html' href='http://elssblog.blogspot.com/2006/12/file-replication-service-problems.html' title='File Replication Service Problems'/><author><name>Els</name><uri>http://www.blogger.com/profile/04526470295431436444</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>333</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28619147.post-2507526799429773234</id><published>2006-12-04T20:16:00.001+01:00</published><updated>2006-12-04T20:16:01.512+01:00</updated><title type='text'>Bitlocker for Data Partitions</title><content type='html'>&lt;p&gt;Vista does not support encryption of data partitions using BDE. (Longhorn server will have full support for this feature.)&lt;/p&gt; &lt;p&gt;But if you really want to protect your data&amp;nbsp;with Bitlocker, there is a way! You have to use the same method as described in my previous post: manage-bde. &lt;/p&gt; &lt;p&gt;And what about unlocking this encrypted data drive?&lt;br&gt;That will not happen automatically. If you reboot your machine after the encryption process, you will no longer be able to access your files.&lt;/p&gt; &lt;p&gt;Your&amp;nbsp;decryption options:&lt;/p&gt; &lt;ol&gt; &lt;li&gt;Manually&lt;br&gt;cscript manage-bde.wsf -unlock E: -rk "path to encryption key (.bek file)"&lt;br&gt;You will have to run this command after every reboot.&lt;br&gt;&lt;/li&gt; &lt;li&gt;Automatically&lt;br&gt;cscript manage-bde.wsf -autounlock -enable E:&lt;br&gt;This command will create an external key protector on the data volume and stores the associated external key onto the bitlocker-protected OS volume. For this to work, your OS volume has to be encrypted with BDE too.&lt;/li&gt;&lt;/ol&gt; &lt;p&gt;Happy encrypting!&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28619147-2507526799429773234?l=elssblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://elssblog.blogspot.com/feeds/2507526799429773234/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28619147&amp;postID=2507526799429773234' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28619147/posts/default/2507526799429773234'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28619147/posts/default/2507526799429773234'/><link rel='alternate' type='text/html' href='http://elssblog.blogspot.com/2006/12/bitlocker-for-data-partitions.html' title='Bitlocker for Data Partitions'/><author><name>Els</name><uri>http://www.blogger.com/profile/04526470295431436444</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28619147.post-5735546026021769638</id><published>2006-11-27T08:56:00.001+01:00</published><updated>2006-11-27T08:56:28.135+01:00</updated><title type='text'>Bitlocker Drive Encryption (without TPM)</title><content type='html'>&lt;p&gt;Most of you have probably already heard about Bitlocker. But for those of you who don't know it, here's a short overview.&lt;/p&gt; &lt;p&gt;Bitlocker is a data protection feature available in Windows Vista and Longhorn Server. It is implemented to address the threats of data theft or exposure from lost or stolen PCs.&lt;/p&gt; &lt;p&gt;Bitlocker prevents a thief who boots another operating system or runs a software hacking tool from breaking Windows Vista file and system protections or performing offline viewing of the files stored on the protected drive.&lt;/p&gt; &lt;p&gt;Bitlocker enhances data protection by bringing together two major sub-functions: full drive encryption and the integrity checking of early boot components:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;Drive encryption protects data by preventing unauthorized users from breaking Windows file and system protection on lost or stolen computers. This protection is achieved by encrypting the entire Windows volume. With Bitlocker all user and system files are encrypted including the swap and hibernation files.  &lt;li&gt;Integrity checking the early boot components helps to ensure that data decryption is performed only if those components appear unmolested and that the encrypted drive is located in the original computer.&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;The feature ideally uses a Trusted Platform Module (TPM 1.2) to protect user data and to ensure that the PC has not been tampered with while the system was offline.&lt;br&gt;A TPM is a microchip designed to provide basic security-related functions, primarily involving encryption keys.&lt;/p&gt; &lt;p&gt;Now what if you do not have a TPM, but you would like to use Bitlocker Drive Encryption?&lt;br&gt;No problem, BDE is supported on machines without TPM. The only tricky part is that you cannot enable it using the GUI. In Control Panel (where you would normally enable Bitlocker), you'll see the following:&lt;/p&gt; &lt;p&gt;&lt;a title="bitlocker01" href="http://www.flickr.com/photos/35768037@N00/304805986/"&gt;&lt;img alt="bitlocker01" src="http://static.flickr.com/104/304805986_a981237a30_t.jpg" border="0"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;So, how do you enable bitlocker then?&lt;br&gt;You will have to use manage-bde, a cscript tool that works with Bitlocker through the WMI interface.&lt;/p&gt; &lt;p&gt;This is what you do:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;Open a Command Prompt as administrator! (Rightclick the cmd shortcut in the Start menu and choose "Run as administrator".)  &lt;li&gt;cscript manage-bde.wsf -on C: -sk h: -rp -rk f:&lt;/li&gt;&lt;/ul&gt; &lt;blockquote&gt; &lt;p&gt; &lt;table width="100%" border="1"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt;&amp;nbsp;&lt;strong&gt;Command&lt;/strong&gt;&lt;/td&gt; &lt;td&gt;&lt;strong&gt;&amp;nbsp;Explanation&lt;/strong&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&amp;nbsp;-on C:&lt;/td&gt; &lt;td&gt;&amp;nbsp;Enable BDE on drive C:&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&amp;nbsp;-sk h:&lt;/td&gt; &lt;td&gt;&amp;nbsp;Create a startup key and save it on drive h:&lt;br&gt;&amp;nbsp;Drive h: will normally be a USB key&amp;nbsp;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&amp;nbsp;-rp&lt;/td&gt; &lt;td&gt;&amp;nbsp;Create a recovery password&amp;nbsp;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&amp;nbsp;-rk f:&lt;/td&gt; &lt;td&gt;&amp;nbsp;Create a recovery key and save it on drive f:&lt;br&gt;&amp;nbsp;Drive f: can be a USB key, hard drive, network drive&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/p&gt;&lt;/blockquote&gt; &lt;ul&gt; &lt;li&gt;Save the numerical recovery password in a save place!  &lt;li&gt;Insert your USB drive.  &lt;li&gt;Restart your computer for a hardware test.  &lt;li&gt;Use manage-bde -status to check whether the test was successful. If it was, encryption will begin. You can use the same command to keep track of the encryption progress.&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;&lt;a title="bitlocker05" href="http://www.flickr.com/photos/35768037@N00/304805988/"&gt;&lt;img alt="bitlocker05" src="http://static.flickr.com/110/304805988_1065201a5e_t.jpg" border="0"&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28619147-5735546026021769638?l=elssblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://elssblog.blogspot.com/feeds/5735546026021769638/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28619147&amp;postID=5735546026021769638' title='14 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28619147/posts/default/5735546026021769638'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28619147/posts/default/5735546026021769638'/><link rel='alternate' type='text/html' href='http://elssblog.blogspot.com/2006/11/bitlocker-drive-encryption-without-tpm.html' title='Bitlocker Drive Encryption (without TPM)'/><author><name>Els</name><uri>http://www.blogger.com/profile/04526470295431436444</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>14</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28619147.post-7824120670352829794</id><published>2006-11-24T09:07:00.001+01:00</published><updated>2006-11-24T09:07:59.506+01:00</updated><title type='text'>ADMX files</title><content type='html'>&lt;p&gt;Using&amp;nbsp;Administrative Templates in Group Policy you can change lots of the default Windows settings, like the Desktop, the Start Menu, Windows Explorer, ...&lt;br&gt;The settings that can be altered are described in .adm files. One of the benefits of these .adm files is that they can be adjusted. By modifying an .adm file, an administrator can manage almost every registry setting using a friendly interface and deploy these settings using Group Policy.&lt;/p&gt; &lt;p&gt;But there are a few disadvantages as well.&lt;/p&gt; &lt;ol&gt; &lt;li&gt;.adm files are stored in individual GPOs.&lt;br&gt;For organizations with lots of GPOs, this means that every policy has a copy of every .adm file used in the policy. And these policies, including the .adm files are replicated to all domain controllers in the environment. If you know that the .adm files take about 4 Mb of a policy's size, you can do your own math.  &lt;li&gt;.adm files are added in a specific language.&lt;br&gt;This can be annoying in an environment where administrators speak different languages and would like to see the templates in their own language.&lt;/li&gt;&lt;/ol&gt; &lt;p&gt;Vista and Longhorn Server introduce a new format for registry-based policy settings: ADMX files (in XML format) to address these issues.&lt;/p&gt; &lt;p&gt;ADMX files are divided into language-neutral and language-specific resources, available to all Group Policy administrators. These factors allow Group Policy tools to adjust their UI according to the administrator's configured language. Adding a new language to a set of policy definitions is achieved by ensuring that&amp;nbsp;the language-specific resource file is available.&lt;/p&gt; &lt;p&gt; &lt;table width="100%" border="1"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt;&amp;nbsp;&lt;strong&gt;File Type&lt;/strong&gt;&lt;/td&gt; &lt;td&gt;&lt;strong&gt;&amp;nbsp;File Location&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&amp;nbsp;ADM&lt;/td&gt; &lt;td&gt;&amp;nbsp;C:\inf&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&amp;nbsp;ADMX language neutral&lt;/td&gt; &lt;td&gt;&amp;nbsp;C:\policydefinitions&amp;nbsp;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&amp;nbsp;ADMX language specific&lt;/td&gt; &lt;td&gt; &lt;p&gt;&amp;nbsp;C:\policydefinitions\en-us&lt;br&gt;&amp;nbsp;for the US English ADMX language&amp;nbsp;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/p&gt; &lt;p&gt;One of the main benefits of using the new ADMX files is the central store. This option is available when you are managing domain-based GPOs, although the central store is not used by default.&lt;br&gt;In Vista and Longhorn the GPO Editor will no longer copy the adm files to each edited GPO, but will provide the ability to read from either a single domain-level location on the domain controller's Sysvol or from the local administrative workstation when the central store is unavailable.&lt;/p&gt; &lt;ol&gt; &lt;li&gt;To create the central store:  &lt;ol&gt; &lt;li&gt;Create the root folder for the central store:&lt;br&gt;C:\Sysvol\domain\policies\PolicyDefinitions on your DC  &lt;li&gt;Create a subfolder in the central store for each language your Group Policy administrators will use. Each subfolder is named after the appropriate ISO-style &lt;a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/indexsrv/html/ixuwebqy_7gfn.asp" target="_blank"&gt;Language/Culture&lt;/a&gt;&amp;nbsp;name. For example, to create a subfolder for US English:&lt;br&gt;C:\Sysvol\domain\policies\PolicyDefinitions\en-us&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;/ol&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;ol&gt; &lt;li&gt;Populate the central store:  &lt;ol&gt; &lt;li&gt;Copy all the language-neutral ADMX files from your Vista workstation to the central store on your DC using the xcopy command:&lt;br&gt;xcopy c:\PolicyDefinitions\* &lt;br&gt;%logonserver%\sysvol\%userdnsdomain%\policies\PolicyDefinitions  &lt;li&gt;Copy all the ADMX language resource files from your Vista workstation to the central store on your DC:&lt;br&gt;xcopy C:\PolicyDefinitions\en-us\*&lt;br&gt;%logonserver%\sysvol\%userdnsdomain%\policies\PolicyDefinitions\en-us&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;/ol&gt; &lt;p&gt;&lt;u&gt;Important factors:&lt;/u&gt;&lt;/p&gt; &lt;ul&gt; &lt;li&gt;New Vista or Longhorn-based policy settings can only be managed from Vista or Longhorn-based computers. These policies are defined only in ADMX files and, as such, are not exposed on&amp;nbsp;the Windows Server 2003, XP or 2000 versions of the group policy management tools.&lt;/li&gt; &lt;li&gt;The Vista and Longhorn version of the GPMC can be used to manage all OS systems that support Group Policy.&lt;/li&gt; &lt;li&gt;In the majority of situations, you will not notice the presence of ADMX files during your day-to-day Group Policy administration tasks.&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28619147-7824120670352829794?l=elssblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://elssblog.blogspot.com/feeds/7824120670352829794/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28619147&amp;postID=7824120670352829794' title='46 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28619147/posts/default/7824120670352829794'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28619147/posts/default/7824120670352829794'/><link rel='alternate' type='text/html' href='http://elssblog.blogspot.com/2006/11/admx-files.html' title='ADMX files'/><author><name>Els</name><uri>http://www.blogger.com/profile/04526470295431436444</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>46</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28619147.post-3511046841296178881</id><published>2006-11-23T11:29:00.001+01:00</published><updated>2006-11-23T12:22:56.954+01:00</updated><title type='text'>Print Management in Windows Vista</title><content type='html'>&lt;p&gt;Print Management is an MMC&amp;nbsp;snap-in that enables you to install, view and manage all of the printers in your organization from any computer running Windows Vista or Windows Server 2003 R2.&lt;/p&gt; &lt;p&gt;You can use Print Management to install printer connections to a group of client computers simultaneously. It can help you find printers that have an error condition by using filters. It allows you to send e-mail notifications or run scripts when a printer or print server needs attention. On printer models that provide a web page, Print Management has access to more data, such as toner and paper levels, which you can manage from remote locations.&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;a title="Print Mgmt" href="http://www.flickr.com/photos/35768037@N00/304129302/"&gt;&lt;img alt="Print Mgmt" src="http://static.flickr.com/104/304129302_fe9f6ce199_t.jpg" border="0"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;But one of the best features of Print Management is that you can use it to deploy printers to users or computers using Group Policy.&lt;/p&gt; &lt;p&gt;To do this, you use the &lt;strong&gt;Deploy with Group Policy&lt;/strong&gt; dialog box to automatically add a printer connection to an existing GPO. You simply&amp;nbsp;right click the printer you wish to deploy and select deploy with Group Policy.&amp;nbsp;When group policy processing runs on client computers, the printer connection settings are applied to the users or computers associated with the GPO. &lt;/p&gt; &lt;p&gt;To enable this feature on computers running versions of Windows earlier than Windows Vista, you must use a utility called PushPrinterConnections.exe.&lt;br&gt;Add this utility to a startup script or a logon script for all computers or users that will get the GPO with the printer settings.&lt;br&gt;Use the same policy for the script and the printer connection settings.&lt;br&gt;You can find the PushPrinterConnections.exe in the following directory: %Systemdrive%\Windows\PmcSnap on a Windows Server 2003 R2 machine.&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;a title="Print Mgmt GPO" href="http://www.flickr.com/photos/35768037@N00/304129303/"&gt;&lt;img alt="Print Mgmt GPO" src="http://static.flickr.com/103/304129303_9136184729_t.jpg" border="0"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;u&gt;Remarks:&lt;/u&gt;&lt;/p&gt; &lt;ol&gt; &lt;li&gt;On computers running Windows 2000 only per-user printer connections are supported. For computer policies, you need at least Windows XP.  &lt;li&gt;Before you can use Group Policy to deploy printers this way, your Active Directory environment has to support these features. That means that you will have to update your AD Schema to match the R2 version using the following command: &lt;em&gt;&lt;strong&gt;adprep.exe /forestprep&lt;/strong&gt;&lt;/em&gt;. &lt;br&gt;(Adprep can be found on the R2 CD in the following directory: Cmpnents\r2\adprep.)&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28619147-3511046841296178881?l=elssblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://elssblog.blogspot.com/feeds/3511046841296178881/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28619147&amp;postID=3511046841296178881' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28619147/posts/default/3511046841296178881'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28619147/posts/default/3511046841296178881'/><link rel='alternate' type='text/html' href='http://elssblog.blogspot.com/2006/11/print-management-in-windows-vista.html' title='Print Management in Windows Vista'/><author><name>Els</name><uri>http://www.blogger.com/profile/04526470295431436444</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28619147.post-115227966137867480</id><published>2006-07-07T15:37:00.000+02:00</published><updated>2006-07-07T15:48:08.350+02:00</updated><title type='text'>Booting from USB Stick</title><content type='html'>&lt;span xmlns=""&gt;&lt;p&gt;Most computers don’t have floppy drives anymore these days. But every now and then, I bet you still wish you had one!&lt;br /&gt;&lt;/p&gt;&lt;p&gt;A USB stick is a great and far better alternative, but you can’t boot from your stick. And in some cases that is exactly what you need.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;After some searching and testing, I now have a bootable USB Stick. I use it to boot into Windows PE and from there you can start a complete OS install, troubleshoot a system, install additional drivers, …&lt;br /&gt;&lt;/p&gt;&lt;p&gt;First thing you need: a number of freeware tools.&lt;br /&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;div&gt;Bootpart (&lt;a href="http://www.winimage.com/bootpart.htm"&gt;http://www.winimage.com/bootpart.htm&lt;/a&gt;)&lt;br /&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;HP USB Stick Format Tool (&lt;a href="http://www.pctipp.ch/downloads/dl/32594.asp"&gt;http://www.pctipp.ch/downloads/dl/32594.asp&lt;/a&gt;)&lt;br /&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;Virtual Floppy Driver (&lt;a href="http://chitchat.at.infoseek.co.jp/vmware/vfd.html#download"&gt;http://chitchat.at.infoseek.co.jp/vmware/vfd.html#download&lt;/a&gt;)&lt;br /&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;strong&gt;Step 1: Format a floppy as DOS boot disk&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;Don’t worry; you don’t need a real physical floppy drive. Instead we will create a virtual floppy using ‘Virtual Floppy Driver’.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Install the Virtual Floppy Driver: &lt;/p&gt;&lt;p&gt;c:\VirtualFlop\vfd.exe install&lt;br /&gt;&lt;/p&gt;&lt;p&gt;c:\VirtualFlop\vfd.exe start&lt;br /&gt;&lt;/p&gt;&lt;p&gt;c:\VirtualFlop\vfd.exe link a /L&lt;br /&gt;&lt;/p&gt;&lt;p&gt;c:\VirtualFlop\vfd.exe open c:\flop.img&lt;br /&gt;&lt;/p&gt;&lt;p&gt;When the system asks you to create the file, say yes.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;If you check Windows Explorer now, you should see the A: drive. Rightclick drive A: and choose format. Format the floppy as a DOS startup disk.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Step 2: Format your USB stick as a bootable device&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;Install the HP USB Disk Storage Format Tool. Then run the tool with the following options:&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Device: USB Device&lt;br /&gt;&lt;/p&gt;&lt;p&gt;File system: FAT 16&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Deselect Quick format&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Select Create a DOS startup disk using DOS system files located at A: (virtual floppy drive)&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;Step 3: Copy Windows boot files to the memory stick&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;This depends on the version of Windows that you would like to boot in of course.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;For XP, Windows 2003 and Windows 2000, you need the following boot files:&lt;br /&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Ntldr&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Ntdetect.com&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Boot.ini&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;For Vista, you need the following files:&lt;br /&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Bcd&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Bootfix.bin&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Bootmgr&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Then copy Bootpart to your memory stick and the Windows PE image that you want to boot into.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;Step 4: Set your BIOS to boot from USB&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;Make sure your USB stick is plugged in, restart your computer and enter the BIOS. There move USB device to the top of the boot order list.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;On most Dell systems you can simply press F12 during the Dell screen and the list of available boot devices will show up. Select your USB device and press enter.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;At this moment you are booting from your USB stick, but since you made a DOS boot stick, you boot in DOS.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;To boot in Vista or XP or Windows 2003: at the DOS prompt, go to the bootpart directory and type the following:&lt;br /&gt;&lt;/p&gt;&lt;p&gt;C:\Bootpart\bootpart &amp;lt;part_type&amp;gt; boot:c:&lt;br /&gt;&lt;/p&gt;&lt;p&gt;where &amp;lt;part_type&amp;gt; is DOS622 – Win95 – Winnt – Vista. This will rewrite the bootsector on the C: drive to boot under the OS that you need.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Reboot your machine, boot from the USB stick again and the Windows boot process will start.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;By the way, I am blogging in Word 2007 here. Pretty cool, isn’t it?&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Just open a new document, choose new blog entry. Then select your blog provider from the list. You will be asked for your blog credentials and when you are ready you can just publish your blog!&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Simple.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I’ll do that now.&lt;/p&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28619147-115227966137867480?l=elssblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://elssblog.blogspot.com/feeds/115227966137867480/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28619147&amp;postID=115227966137867480' title='31 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28619147/posts/default/115227966137867480'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28619147/posts/default/115227966137867480'/><link rel='alternate' type='text/html' href='http://elssblog.blogspot.com/2006/07/booting-from-usb-stick.html' title='Booting from USB Stick'/><author><name>Els</name><uri>http://www.blogger.com/profile/04526470295431436444</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>31</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28619147.post-115221629379752138</id><published>2006-07-06T21:06:00.000+02:00</published><updated>2006-07-06T22:04:53.813+02:00</updated><title type='text'>Vista deployment</title><content type='html'>The last few days I've been looking at Vista deployment methods.&lt;br /&gt;And today I'll share some of my experiences with you.&lt;br /&gt;&lt;br /&gt;There are quite some tools available for you to deploy Vista to your client machines.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Windows Deployment Services (the next version of RIS)&lt;/li&gt;&lt;li&gt;BDD 2007 Beta 1 (Business Desktop Deployment)&lt;/li&gt;&lt;li&gt;WAIK (Windows Automated Installation Kit)&lt;/li&gt;&lt;li&gt;Windows System Image Manager (the new Setup Manager)&lt;/li&gt;&lt;li&gt;Windows Image Format or WIM files&lt;/li&gt;&lt;li&gt;ImageX&lt;/li&gt;&lt;/ul&gt;Using BDD you can perform what is called a Lite Touch Installation. You can prepare almost everything on the server and only minimal user interaction will be required on the client.&lt;br /&gt;To boot the client, you can use a CD containing a Windows PE image that you created with BDD.&lt;br /&gt;When the client starts, this image will be loaded and it will ask you for credentials, a computername and whether you want to join a domain or not. Then you select an image from the list of available images, you choose extra applications to install and that's it. Everything else will happen automatically and after a few minutes your new Vista machine is up and running!&lt;br /&gt;&lt;br /&gt;The images used are all Wim images, the new image file format for Vista.&lt;br /&gt;By the way, even a normal manual Vista install uses Wim images. If you extract the Vista iso, you'll see that all there is in the iso is a bunch of Wim files.&lt;br /&gt;So everything is Wim.&lt;br /&gt;&lt;br /&gt;Since most IT Pros are lazy by default, we don't like to create boot CDs for every image that we need. No, it would be so much better if we could just boot from the network and start downloading the necessary image files.&lt;br /&gt;That's what you need Windows Deployment Services for. As I said it is the next version of RIS and it works almost the same way. The only difference is that you can deploy Wim images with WDS. (In mixed mode it still supports deploying RIS and Riprep images too.)&lt;br /&gt;With WDS you use a PXE boot to start the client, press F12 when the system tells you to and load a Windows PE image. From within the Windows PE environment, you select the correct image to load and there you go, Vista will be installed and ready to use in no time.&lt;br /&gt;&lt;br /&gt;I do have 1 remark here, I keep wondering why Microsoft did not use ADS as a basis for WDS? I like ADS so much more than RIS.&lt;br /&gt;It has everything you need (ADS already uses XML files, it uses imaging, task sequences, ...), all they had to do is make it support Wim images.&lt;br /&gt;And it does not require you to do anything on the client, not even press F12!&lt;br /&gt;So why???&lt;br /&gt;If anyone has the answer, please enlight me!&lt;br /&gt;&lt;br /&gt;Next week I hope to give you a detailed description on how to use all the tools I just mentioned and the steps to take.&lt;br /&gt;&lt;br /&gt;By the way, during my experiments, I also tried to boot Windows PE from my USB stick. After a lot of googling, swearing and testing, I finally succeeded.&lt;br /&gt;I can boot into Windows PE from my USB stick now, but I can't download the full Vista image.&lt;br /&gt;Anyway, since I saw how many people have questions on how to boot from USB (for Vista or XP or whatever), I'll give you the details on how to accomplish this tomorrow!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28619147-115221629379752138?l=elssblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://elssblog.blogspot.com/feeds/115221629379752138/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28619147&amp;postID=115221629379752138' title='11 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28619147/posts/default/115221629379752138'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28619147/posts/default/115221629379752138'/><link rel='alternate' type='text/html' href='http://elssblog.blogspot.com/2006/07/vista-deployment.html' title='Vista deployment'/><author><name>Els</name><uri>http://www.blogger.com/profile/04526470295431436444</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>11</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28619147.post-115192077874542471</id><published>2006-07-03T11:30:00.000+02:00</published><updated>2006-07-03T16:01:16.033+02:00</updated><title type='text'>Lingering Objects</title><content type='html'>Last week I taught my Active Directory In-Depth course, so today one more blog on AD.&lt;br /&gt;&lt;br /&gt;This one is about lingering objects, an annoying phenomenon that could cause deleted objects to return in your Active Directory database.&lt;br /&gt;&lt;br /&gt;Lingering objects will appear if one of your domain controllers hasn't been able to synchronize with its replication partners during a tombstone lifetime.&lt;br /&gt;&lt;br /&gt;This is what happens: you create a number of objects. These objects will nicely replicate to all your DCs. Then, for some reason 1 of the DCs can no longer replicate with the others (due to a network problem, DNS failures, issues with time synchronization, ...).&lt;br /&gt;In the mean time you delete a user from your database. The problem DC does not replicate this change however and the object still exists in that database.&lt;br /&gt;After a tombstone lifetime (default 60 days, and 180 days if the forest was created on Windows Server 2003 SP1) the deleted objects are actually removed from the AD database on the good DCs, but the bad one still sees these objects as normal objects.&lt;br /&gt;At that moment, you become aware of the problem. You solve the issues and try to replicate with the bad DC to get it up to date again.&lt;br /&gt;&lt;br /&gt;Then, one of two things can happen.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;If your DC is a Windows 2000 server, the bad DC will replicate with the good ones and the deleted objects will return in your environment.&lt;/li&gt;&lt;li&gt;If your DC is a Windows Server 2003 machine, the bad DC will not be allowed to replicate because it has been out of date for more than one tombstone lifetime.&lt;/li&gt;&lt;/ul&gt;How do you fix this?&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Use repadmin (Support Tools) to remove the lingering objects from the bad DC.&lt;br /&gt;repadmin /removelingeringobjects 'DNS name bad DC' 'GUID good DC' 'Directory partition DN' /advisory_mode&lt;br /&gt;For example: repadmin /removelingeringobjects dc1.example.com A0AE6093-15F5-4DB8-836B-4495E3A15396 dc=example,dc=com /advisory_mode&lt;br /&gt;This will display a list of lingering objects in the Directory Services event log (look for event id 1946). Then you can run the same command again, this time without the advisory_mode switch. This will actually remove all lingering objects from the problem DC (look for event id 1945).&lt;/li&gt;&lt;li&gt;At this point, you still won't be able to replicate with the bad DC. To fix this, add the following registry key:&lt;br /&gt;HKEY_LM\System\CurrentControlSet\Services\Ntds\Parameters&lt;br /&gt;Allow Replication With Divergent and Corrupt Partner&lt;br /&gt;REG_DWORD&lt;br /&gt;1&lt;/li&gt;&lt;li&gt;Force replication: everything should be fine now.&lt;/li&gt;&lt;li&gt;After replication succeeded, do not forget to reset the above registry key to 0!!&lt;/li&gt;&lt;/ol&gt;This week, I'll be looking at Vista again. So you can expect more Vista blogs!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28619147-115192077874542471?l=elssblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://elssblog.blogspot.com/feeds/115192077874542471/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28619147&amp;postID=115192077874542471' title='30 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28619147/posts/default/115192077874542471'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28619147/posts/default/115192077874542471'/><link rel='alternate' type='text/html' href='http://elssblog.blogspot.com/2006/07/lingering-objects.html' title='Lingering Objects'/><author><name>Els</name><uri>http://www.blogger.com/profile/04526470295431436444</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>30</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28619147.post-115130631209251600</id><published>2006-06-26T09:04:00.000+02:00</published><updated>2006-06-26T09:18:32.103+02:00</updated><title type='text'>Recovering from USN Rollback</title><content type='html'>&lt;p&gt;A bit later as promised, but here it is: part 2 on the USN Rollback.&lt;br /&gt;Enjoy!&lt;/p&gt;&lt;p&gt;There are 3 methods to recover from a USN Rollback.&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Reinstall AD.&lt;br /&gt;Use Dcpromo to remove AD from the faulty DC and demote the machine to a standalone server. Clean up all references to the DC, if this DC was hosting FSMO roles, make sure to transfer them to another (healthy) DC.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Restore the system state.&lt;br /&gt;If a valid system state backup was made before the rolled-back DC was restored from image, restore the system state from the most recent backup.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Fool your image-restored DC (requires Windows Server 2003 SP1!).&lt;br /&gt;- Restore your image.&lt;br /&gt;- Start the DC in Directory Services Restore Mode. Do NOT start normally or it’s all too late!!!&lt;br /&gt;- Open Registry Editor and look for the value ‘DSA Previous Restore Count’ (HKEY_LM\System\CurrentControlSet\Services\NTDS\Parameters). Make a note of this value. If the entry is not there, assume a value of 0. Do not add the entry.&lt;br /&gt;- Add the registry entry ‘Database restored from backup’ in HKEY_LM\System\CurrentControlSet\Services\NTDS\Parameters&lt;br /&gt;Data type: REG_DWORD&lt;br /&gt;Value: 1&lt;br /&gt;- Restart the DC normally.&lt;br /&gt;- Check the registry to be sure that the value of ‘DSA Previous Restore Count’ is equal to its previous value plus 1.&lt;br /&gt;- In the Directory Service event log, check to see that Event ID 1109 or 1587 appears.&lt;br /&gt;- This event confirms that AD has been restored and that the Invocation ID has changed. &lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28619147-115130631209251600?l=elssblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://elssblog.blogspot.com/feeds/115130631209251600/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28619147&amp;postID=115130631209251600' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28619147/posts/default/115130631209251600'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28619147/posts/default/115130631209251600'/><link rel='alternate' type='text/html' href='http://elssblog.blogspot.com/2006/06/recovering-from-usn-rollback.html' title='Recovering from USN Rollback'/><author><name>Els</name><uri>http://www.blogger.com/profile/04526470295431436444</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28619147.post-115092148875901660</id><published>2006-06-21T21:17:00.000+02:00</published><updated>2006-06-21T22:24:48.773+02:00</updated><title type='text'>USN Rollback</title><content type='html'>Lately, the only thing I've talked about is Vista. And although there is a lot more, today I would like to discuss something else: USN Rollback.&lt;br /&gt;&lt;br /&gt;When talking about backup and restore of Active Directory, a question that I get regularly is: can we restore a Domain Controller from an image?&lt;br /&gt;At first sight you might say: why not?&lt;br /&gt;Restoring a system state backup to get Active Directory back to a previous state, or restoring a disk image you took a few days ago: the end result will be the same.&lt;br /&gt;&lt;br /&gt;And that would be true in an environment with only 1 domain controller.&lt;br /&gt;But in most situations there will be multiple DCs and then you will encounter a serious, yet very difficult to troubleshoot, problem: USN Rollback.&lt;br /&gt;&lt;br /&gt;When you restore a DC by performing a system state restore, AD will change the database Invocation ID. The Invocation ID identifies the version of the database. After a correct system state restore this ID is reset before AD starts. (Event ID 1587 of source Replication will be logged in the Directory Services event log.)&lt;br /&gt;For the other DCs this indicates that the database version has changed and in response they reset their high-water marks and update the restored DC with changes that occurred after the backup.&lt;br /&gt;&lt;br /&gt;If you restore a DC from an image on the other hand, the Invocation ID will not be reset and noone will be aware of the fact that one of the DCs actually rolled back to a previous state. This will lead to inconsistencies in the database, since the restored DC will not get any updates that were taken since the backup and never will.&lt;br /&gt;Why is this?&lt;br /&gt;&lt;br /&gt;AD replication is triggered by comparing USNs (Update Sequence Numbers). Every DC has a USN table for every attribute. In that table it keeps track of the highest USN it received for this attribute from a given replication partner. If the current USN on the replication partner is higher than the one in his list, the DC knows that a change has been made and that it still has to copy these changes.&lt;br /&gt;&lt;br /&gt;Imagine the following scenario: You have a domain containing 3 domain controllers DC1, DC2 and DC3.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;You create 10 new users on DC1 corresponding to USN 1 through 10. These user accounts replicate to DC2 and DC3.&lt;/li&gt;&lt;li&gt;At this moment an image is created on DC1.&lt;/li&gt;&lt;li&gt;You make more changes to AD: you reset the passwords on the 10 user accounts (USNs 11 to 20), you create 10 computer accounts (USNs 21 to 30), you create 10 security groups (USNs 31 to 40).  All these changes replicate to DC2 and DC3.&lt;/li&gt;&lt;li&gt;Then DC1 encounters a hardware or software failure. The image that was created is used to restore DC1. DC1 now uses a database that has a record of USNs 1 to 10 when AD starts.&lt;/li&gt;&lt;li&gt;DC1 maintains its original invocation ID and DC2 and DC3 maintain their original up-to-dateness vector of USN 40 for DC1.&lt;/li&gt;&lt;/ol&gt;As a result DC1 will never receive the changes for USNs 11 to 40 and its database will be inconsistent (resulting in logon failures and other problems).&lt;br /&gt;A second problem arises when new objects are now created on DC1.&lt;br /&gt;If you create a new user, that account will be given the next unused USN on DC1: USN 11.&lt;br /&gt;Since DC2 and DC3 think that they already have every update from DC1 up until USN 40 they will not do anything and the new changes are not replicated.&lt;br /&gt;All changes created on DC1 with USNs 11 to 40 will never be available on DC2 and DC3.&lt;br /&gt;&lt;br /&gt;In case of a proper system state restore these problems do not arise, since the reset of the Invocation ID informs the replication partners of the restore and causes them to reset their up-to-dateness vector for the restored DC.&lt;br /&gt;&lt;br /&gt;A USN rollback can be very difficult to detect, since no errors are logged in the Event Viewer (unless you are running W2003 SP1 or hotfix 875495, then Event ID 2095 is logged).&lt;br /&gt;&lt;br /&gt;One way to detect a USN rollback is running the following command on a DC and its replication partners: &lt;strong&gt;repadmin /showutdvec&lt;/strong&gt;.&lt;br /&gt;If the USN for the DC on the replication partners is higher than the one the DC has for itself and no replication errors are reported, you are probably dealing with USN rollback!&lt;br /&gt;&lt;br /&gt;Tomorrow: Recovering from USN rollback!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28619147-115092148875901660?l=elssblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://elssblog.blogspot.com/feeds/115092148875901660/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28619147&amp;postID=115092148875901660' title='12 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28619147/posts/default/115092148875901660'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28619147/posts/default/115092148875901660'/><link rel='alternate' type='text/html' href='http://elssblog.blogspot.com/2006/06/usn-rollback.html' title='USN Rollback'/><author><name>Els</name><uri>http://www.blogger.com/profile/04526470295431436444</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>12</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28619147.post-115072853555491716</id><published>2006-06-19T16:00:00.000+02:00</published><updated>2006-06-19T16:48:55.566+02:00</updated><title type='text'>Multiple Local Policies in Windows Vista</title><content type='html'>Group Policy is for sure one of the best inventions in Windows. Configuring multiple client computers has never been easier. And with Vista and Longhorn numerous extra settings will be available.&lt;br /&gt;&lt;br /&gt;Group Policy really has only one limitation: it requires Active Directory.&lt;br /&gt;&lt;br /&gt;And sometimes you can't (or you don't want to) use Active Directory, but you would like to create policies to control the things people can change or have access to on your pc.&lt;br /&gt;For example, a kiosk computer, PCs in a cybercafé, your home machine (especially when the children are using it more and more).&lt;br /&gt;&lt;br /&gt;In XP it is possible to use the Local Computer Policy to make changes to a single computer that is not part of a domain. And while you can implement the exact same settings as with group policy, there is one serious drawback.&lt;br /&gt;You cannot make exceptions to policy settings for individual users. Once the policy is applied, it will enforce restrictions for everyone, including the Administrator.&lt;br /&gt;&lt;br /&gt;But now there is Vista!&lt;br /&gt;And one of the great new things in Vista is that you can create multiple local policies! Different policies per user. Or you could create 1 policy for the Administrators and another one for the Non-administrators.&lt;br /&gt;It is very easy to limit everyone accessing your computer, except for yourself!&lt;br /&gt;&lt;br /&gt;This is the way to go:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Open a Management Console.&lt;/li&gt;&lt;li&gt;Add the Group Policy Object Editor snap-in.&lt;/li&gt;&lt;li&gt;In the "Local Computer" policy window, click Browse.&lt;/li&gt;&lt;li&gt;Click on the Users tab.&lt;/li&gt;&lt;li&gt;Select the user that you want to create a policy for.&lt;/li&gt;&lt;li&gt;Configure the settings that you want to apply for this individual user.&lt;/li&gt;&lt;/ol&gt;Note: the only users you see are local users. Besides the users you will also find the local Administrators group and the non-administrators group.&lt;br /&gt;&lt;br /&gt;If multiple policies apply, the end result wil be a combination of these policies and the user policy will win in case of conflicts.&lt;br /&gt;For example: User 1 is a normal user (no administrator). You create an individual Local policy for user 1 that prohibits access to the Control Panel and explicitly allows him to access Search from the Start Menu.&lt;br /&gt;You also create a policy for the Non-Administrators, that removes the Search from the Start Menu.&lt;br /&gt;&lt;br /&gt;When user 1 logs on, both policies will be applied, but user 1's policy will override the conflicting Search setting in the Non-Administrators policy.&lt;br /&gt;End result: user 1 has no access to Control Panel, but he will be able to use the Search from the Start Menu.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28619147-115072853555491716?l=elssblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://elssblog.blogspot.com/feeds/115072853555491716/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28619147&amp;postID=115072853555491716' title='9 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28619147/posts/default/115072853555491716'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28619147/posts/default/115072853555491716'/><link rel='alternate' type='text/html' href='http://elssblog.blogspot.com/2006/06/multiple-local-policies-in-windows.html' title='Multiple Local Policies in Windows Vista'/><author><name>Els</name><uri>http://www.blogger.com/profile/04526470295431436444</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28619147.post-115029787633206143</id><published>2006-06-14T16:48:00.000+02:00</published><updated>2006-06-14T17:11:16.346+02:00</updated><title type='text'>Disk management in Windows Vista</title><content type='html'>In earlier versions of Windows it was not possible to extend your system and boot partition. You can extend data partititons in Windows Server 2003, even on a basic disk (using diskpart), but system/boot is not an option unless you turn to some third-party tool.&lt;br /&gt;And shrinking partitions was completely impossible.&lt;br /&gt;&lt;br /&gt;Up until now!&lt;br /&gt;&lt;br /&gt;In Vista, you can do it all:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;You can shrink any partition.&lt;/li&gt;&lt;li&gt;You can extend any partition.&lt;/li&gt;&lt;li&gt;Including system and boot partition.&lt;/li&gt;&lt;li&gt;Both on dynamic and on basic disks.&lt;/li&gt;&lt;li&gt;Using Disk Management (GUI) or Diskpart (cmd).&lt;/li&gt;&lt;/ul&gt;There is only 1 limitation: when you try to extend a partition, you'll see that it is still only possible to extend with contiguous free space.&lt;br /&gt;Thus, let's say you have the following situation:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;C: drive (50 Gb)&lt;/li&gt;&lt;li&gt;D: drive (50 Gb)&lt;/li&gt;&lt;li&gt;Free space (100 Gb)&lt;/li&gt;&lt;/ul&gt;Then you will be able to extend drive D: but you will not be able to extend drive C: since the last one does not have any white space directly following the partition.&lt;br /&gt;If you're in this situation, you still need a third-party tool.&lt;br /&gt;&lt;br /&gt;Another thing that seems to have changed, has to do with the types of partitions.&lt;br /&gt;When you try to create a new partition in Vista, you'll see that the only thing you can create is a "volume".&lt;br /&gt;What happened to primary and extended partitions?&lt;br /&gt;&lt;br /&gt;Let's take a look at Windows Server 2003.&lt;br /&gt;There are 2 types of disks there: basic disks and dynamic disks.&lt;br /&gt;On a basic disk, you create partitions (primary or extended). On a dynamic disk, you create volumes.&lt;br /&gt;&lt;br /&gt;How does this work in Vista?&lt;br /&gt;The only thing you can create here on a basic disk is a volume. But in fact you are creating a primary partition. Vista does not give you the choice anymore, it decides for you.&lt;br /&gt;The first 3 volumes that you create, are actually primary partitions. When you create a fourth volume, Vista will automatically create 1 extended partition using the remainder of the free space on the disk. Within that partition a logical drive will be created with the size you specified in the new volume wizard.&lt;br /&gt;&lt;br /&gt;So, basically nothing has really changed there, you just don't get to choose the type of partition to create anymore.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28619147-115029787633206143?l=elssblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://elssblog.blogspot.com/feeds/115029787633206143/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28619147&amp;postID=115029787633206143' title='151 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28619147/posts/default/115029787633206143'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28619147/posts/default/115029787633206143'/><link rel='alternate' type='text/html' href='http://elssblog.blogspot.com/2006/06/disk-management-in-windows-vista.html' title='Disk management in Windows Vista'/><author><name>Els</name><uri>http://www.blogger.com/profile/04526470295431436444</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>151</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28619147.post-115020458749183266</id><published>2006-06-13T15:06:00.000+02:00</published><updated>2006-06-13T15:16:27.516+02:00</updated><title type='text'>Log on as builtin administrator in Vista</title><content type='html'>The builtin administrator is disabled by default in Windows Vista.&lt;br /&gt;&lt;br /&gt;If you want to use this account, the first thing you'll have to do is enable the administrator using Computer Management.&lt;br /&gt;&lt;br /&gt;But then it still does not show up on the Welcome Screen.&lt;br /&gt;Like in XP, you have to add a registry key to accomplish this.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Start the registry editor.&lt;/li&gt;&lt;li&gt;Browse to HKEY_LocalMachine\Software\Microsoft\WindowsNT\CurrentVersion\Winlogon\&lt;/li&gt;&lt;li&gt;Create a new key: SpecialAccounts&lt;/li&gt;&lt;li&gt;In the SpecialAccounts key, create another new key: UserList&lt;/li&gt;&lt;li&gt;In this key, create a new DWORD value: Administrator&lt;/li&gt;&lt;li&gt;Set this value to 1&lt;/li&gt;&lt;/ol&gt;Then you should be able to logon with the builtin administrator.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28619147-115020458749183266?l=elssblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://elssblog.blogspot.com/feeds/115020458749183266/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28619147&amp;postID=115020458749183266' title='211 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28619147/posts/default/115020458749183266'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28619147/posts/default/115020458749183266'/><link rel='alternate' type='text/html' href='http://elssblog.blogspot.com/2006/06/log-on-as-builtin-administrator-in.html' title='Log on as builtin administrator in Vista'/><author><name>Els</name><uri>http://www.blogger.com/profile/04526470295431436444</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>211</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28619147.post-114901734975165170</id><published>2006-05-30T20:38:00.000+02:00</published><updated>2006-05-30T21:29:09.766+02:00</updated><title type='text'>Vista, Longhorn and Office 2007</title><content type='html'>These days everyone at Microsoft is very busy and so they are keeping us busy as well.&lt;br /&gt;Yesterday I downloaded and installed Windows Vista Beta 2, Windows Longhorn server Beta 2 and Office 2007 Beta 2.&lt;br /&gt;&lt;br /&gt;Now, the testing can begin.&lt;br /&gt;It all looks very good at first sight. The Vista Aero Glass is nice, Internet Explorer 7 has some great features (tabbed pages - search - rss feeds) and for the gadget freaks there is the Sidebar: here you can add all kinds of gadgets like a clock, a slideshow, postits, ...&lt;br /&gt;But of course there is much more to Vista than good looks. So in the next weeks we'll take a closer look at all the exciting new stuff Microsoft has to offer.&lt;br /&gt;&lt;br /&gt;Office is nice too, by the way. I think it's going to take some getting used to, but at the first glimpse I like it.&lt;br /&gt;&lt;br /&gt;Everyone seems to be very caught up in the Vista mania, and I feel that noone is ever talking about Longhorn server. I know that it's still a long time before the server is released and Vista will be available a lot sooner, but still, it's worth looking at the server as well.&lt;br /&gt;&lt;br /&gt;And for all the Unix and Linux fans and everyone else that is fond of commands, when you install Longhorn Server, you can choose to install the full package (Windows as we know it) or you can install the LonghornserverCore only. This is a basic server that can only host a limited number of server roles and after installation all you have is a command prompt (well, 2 actually, that's even better!)!&lt;br /&gt;&lt;br /&gt;Over the next days and weeks, I'll be checking out Vista and Longhorn and I'll let you know what I find!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28619147-114901734975165170?l=elssblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://elssblog.blogspot.com/feeds/114901734975165170/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28619147&amp;postID=114901734975165170' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28619147/posts/default/114901734975165170'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28619147/posts/default/114901734975165170'/><link rel='alternate' type='text/html' href='http://elssblog.blogspot.com/2006/05/vista-longhorn-and-office-2007.html' title='Vista, Longhorn and Office 2007'/><author><name>Els</name><uri>http://www.blogger.com/profile/04526470295431436444</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28619147.post-114892996950900540</id><published>2006-05-29T20:49:00.000+02:00</published><updated>2006-05-29T21:12:49.520+02:00</updated><title type='text'>ABDE</title><content type='html'>Last week, someone asked me if it was possible to show only the folders that users actually have permissions on in Windows.&lt;br /&gt;This is a comment most Novell people have as well, since Novell automatically only shows folders that you can access.&lt;br /&gt;And you must admit that it is annoying to see an entire list of directories, but when you click on them, you receive "Access Denied" over and over again.&lt;br /&gt;&lt;br /&gt;Well the solution came with SP1 of Windows Server 2003. One of the features listed is called Access-based Enumeration.&lt;br /&gt;There is not much to explain, by enabling Access-based enumeration, users will only see those folders they have permissions on. Simple.&lt;br /&gt;&lt;br /&gt;The only problem is that SP1 doesn't really provide an interface to enable this feature, only the API is available.&lt;br /&gt;Luckily for us, in the mean time Microsoft has made both a graphical and a commandline tool available for Abde. You can download these tools here: &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=04A563D9-78D9-4342-A485-B030AC442084&amp;displaylang=en"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyId=04A563D9-78D9-4342-A485-B030AC442084&amp;amp;displaylang=en&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;So from now on, you can make sure that a user will only see the folders he/she actually has access to!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28619147-114892996950900540?l=elssblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://elssblog.blogspot.com/feeds/114892996950900540/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28619147&amp;postID=114892996950900540' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28619147/posts/default/114892996950900540'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28619147/posts/default/114892996950900540'/><link rel='alternate' type='text/html' href='http://elssblog.blogspot.com/2006/05/abde.html' title='ABDE'/><author><name>Els</name><uri>http://www.blogger.com/profile/04526470295431436444</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28619147.post-114841471076899689</id><published>2006-05-23T21:45:00.000+02:00</published><updated>2006-05-23T22:07:54.023+02:00</updated><title type='text'>First post</title><content type='html'>Today I started my own blog, like so many others out there.&lt;br /&gt;It is surprisingly simple to do anything on the internet nowadays and so was setting up this blog.&lt;br /&gt;The hardest thing I had to do was come up with a name.&lt;br /&gt;That took me like 10 minutes, and as you can see, it is not that original.&lt;br /&gt;But I've never been a very creative mind.&lt;br /&gt;&lt;br /&gt;As a Microsoft trainer, I work with Microsoft products every day, and in this blog I will try to share the things I experience and learn with you.&lt;br /&gt;The technologies I work with most are R2, Active Directory, DNS, Exchange and clustering.&lt;br /&gt;And of course, Vista and Longhorn are also on my list.&lt;br /&gt;&lt;br /&gt;See you tomorrow, for my first real post!&lt;br /&gt;&lt;br /&gt;Note to Hans: I hope you're happy now and you'd better read my blog!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28619147-114841471076899689?l=elssblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://elssblog.blogspot.com/feeds/114841471076899689/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28619147&amp;postID=114841471076899689' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28619147/posts/default/114841471076899689'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28619147/posts/default/114841471076899689'/><link rel='alternate' type='text/html' href='http://elssblog.blogspot.com/2006/05/first-post.html' title='First post'/><author><name>Els</name><uri>http://www.blogger.com/profile/04526470295431436444</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry></feed>
