<?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:blogger='http://schemas.google.com/blogger/2008' 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-455527173073783378</id><updated>2026-10-17T09:17:09.064+02:00</updated><category term="windows"/><category term="7"/><category term="group"/><category term="permissions"/><category term="policy"/><category term="2007"/><category term="2008"/><category term="2010"/><category term="8"/><category term="AD"/><category term="DirectAccess"/><category term="Exchange"/><category term="IE"/><category term="IE9"/><category term="P2P"/><category term="R2"/><category term="RDP RDS GPO group policy windows 7 sp1"/><category term="SAN"/><category term="access"/><category term="active directory group policy gpo strict replication consistency how to"/><category term="batch"/><category term="block"/><category term="by"/><category term="cluster"/><category term="cmd command prompt windows PowerShell commands"/><category term="connector"/><category term="credentials"/><category term="delegate"/><category term="direct"/><category term="dsacls"/><category term="dsacls.exe"/><category term="error remove printer driver windows 7"/><category term="exchange 2010 outlook oof oab"/><category term="executables"/><category term="explorer"/><category term="extendedrights"/><category term="how"/><category term="internet"/><category term="list"/><category term="microsoft ms sql script backup databases delete files sqlcmd command line cmd"/><category term="migration"/><category term="mozilla firefox enterprise deployment batch"/><category term="printer"/><category term="proxy"/><category term="proxymgr"/><category term="receive"/><category term="save"/><category term="script"/><category term="step"/><category term="to"/><category term="torrent"/><category term="windows 2000 p2v VMware Converter bsod Scsiport.sys"/><category term="windows 2003 cluster p2v san migration"/><category term="windows diskpart error parameter is incorrect extend volume disk partition"/><category term="wizard"/><title type='text'>Luka&#39;s tech blog</title><subtitle type='html'>I&#39;ll try to post as many as possible solutions to the problems I encounter at my dally work as an IT systems engineer.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://lukastechblog.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/455527173073783378/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://lukastechblog.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>luka</name><uri>http://www.blogger.com/profile/01694715765525499386</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>21</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-455527173073783378.post-3796169040405416842</id><published>2014-09-19T12:35:00.002+02:00</published><updated>2014-09-19T12:37:45.432+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="active directory group policy gpo strict replication consistency how to"/><title type='text'>How to enable strict replication consistency in AD</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
I know it&#39;s one from the past, but today I just couldn&#39;t found instructions quick enough. So I decided to write instructions by my own and poste them.&lt;br /&gt;
&lt;br /&gt;
There are few ways (links are at the bottom of this page)&amp;nbsp;how to enable  strict replication consistency in AD but this one will solve this issue&amp;nbsp;permanently :) &lt;br /&gt;
&lt;br /&gt;
How can we do that you&#39;re thinking. By using Group Policy (GPO) of course :)&lt;br /&gt;
&lt;br /&gt;
And how do we do that? Well, here you have it.&lt;br /&gt;
&lt;br /&gt;
Step 01: Open Group Policy Management console&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPFYAzRdLpp54zTpPD1L8gpcyOcJPp-e8OXjC2WtU5nqsn8tqFMK9ccgFsbgNzIelkL7rlzaDi5d1YxoE9Wx9DjEQPLPu-ZaA1UMS4T-aKkLfD1eMeTMxWEOpEjmnaei1cKBBMF2oOfMc/s1600/0.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPFYAzRdLpp54zTpPD1L8gpcyOcJPp-e8OXjC2WtU5nqsn8tqFMK9ccgFsbgNzIelkL7rlzaDi5d1YxoE9Wx9DjEQPLPu-ZaA1UMS4T-aKkLfD1eMeTMxWEOpEjmnaei1cKBBMF2oOfMc/s1600/0.jpg&quot; height=&quot;240&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Step 02: Create new Group Policy for Domain Controllers OU&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQudk-KO6-i1H5kN3StwvBD0imgTnqSRwZBcPKVkzP9vjVoL2xcgUJ6AeuSktJ4ZmF_c7oIBZvv-J1-UX5pc2e8x1ZYklKPoEvs7e2gR3ed0KZWKvqIzV27uAnKQ8FBU50FsvRPI0HD-Y/s1600/1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQudk-KO6-i1H5kN3StwvBD0imgTnqSRwZBcPKVkzP9vjVoL2xcgUJ6AeuSktJ4ZmF_c7oIBZvv-J1-UX5pc2e8x1ZYklKPoEvs7e2gR3ed0KZWKvqIzV27uAnKQ8FBU50FsvRPI0HD-Y/s1600/1.jpg&quot; height=&quot;240&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Step&amp;nbsp;03: Give name to new Group Policy (for example EnableStrictReplicationConsistency)&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEim7AqOiEb1_ySqZV_z5Qi_0k7cnAue2lu2zP1_CEampkFssz1O8wm4cbh2c0sofcCPQY2EM6ywWNTUBRtHPP5i1yf7FI02FZLodpQShiPQURJYykLONoLz3veFBXpxrZSyEegoM7GEz-E/s1600/2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEim7AqOiEb1_ySqZV_z5Qi_0k7cnAue2lu2zP1_CEampkFssz1O8wm4cbh2c0sofcCPQY2EM6ywWNTUBRtHPP5i1yf7FI02FZLodpQShiPQURJYykLONoLz3veFBXpxrZSyEegoM7GEz-E/s1600/2.jpg&quot; height=&quot;240&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Step 04: Edit new Group policy&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9q6ZFX0YoQL7wX-lDaS86trxhmFj13CAcOCWP8gR-CZZDfH8ICWeankiDO2ujTVdl7fmJ6Ua0vw7L6Ksh19wc2TQWu8sfF4gYuNPrhgXOnaFqUITGIdDsdELiU9_n0zcRwS9zmCeiCUY/s1600/3.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9q6ZFX0YoQL7wX-lDaS86trxhmFj13CAcOCWP8gR-CZZDfH8ICWeankiDO2ujTVdl7fmJ6Ua0vw7L6Ksh19wc2TQWu8sfF4gYuNPrhgXOnaFqUITGIdDsdELiU9_n0zcRwS9zmCeiCUY/s1600/3.jpg&quot; height=&quot;240&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Step 05: Browse to &lt;strong&gt;Computer Configuration&lt;/strong&gt; - &lt;strong&gt;Preferences&lt;/strong&gt; - &lt;strong&gt;Windows Settings&lt;/strong&gt; and right click on&amp;nbsp;&lt;strong&gt;Registry&lt;/strong&gt;. Select &lt;strong&gt;New&lt;/strong&gt; - &lt;strong&gt;Registry Item&lt;/strong&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUsJFefO69T0AwMrQsVEl-O9lIZ3Gxkp7rdrDPv27OARiUZzthC9waC-8hxbXC6712qI4GwejJcByTCauzAogS8DPsN8ISlOpoyDniDuuSTVuhRFDmN3V2cB2uFGx1FFKiVCFRXyX0NMQ/s1600/4.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUsJFefO69T0AwMrQsVEl-O9lIZ3Gxkp7rdrDPv27OARiUZzthC9waC-8hxbXC6712qI4GwejJcByTCauzAogS8DPsN8ISlOpoyDniDuuSTVuhRFDmN3V2cB2uFGx1FFKiVCFRXyX0NMQ/s1600/4.jpg&quot; height=&quot;240&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Step 06: Under &lt;strong&gt;Key path&lt;/strong&gt; browse to registry path HKEY_LOCAL_MACHINE\SYSTEM\Current Control Set\Services\NTDS\Parameters and click Select&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYjYnxG49rY5LSujJNX7BfiHGIhh4ZUcwPuahS7NdtocTlZfSP5Cmrcmb-EYe-VZodLeZKdkB20Vo8ZF4uMg_nM-qNiI1mvzfKowqnxQv7V8juvLoItkGQFXeqP-ezkrzulRP-mbDdogM/s1600/4a.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYjYnxG49rY5LSujJNX7BfiHGIhh4ZUcwPuahS7NdtocTlZfSP5Cmrcmb-EYe-VZodLeZKdkB20Vo8ZF4uMg_nM-qNiI1mvzfKowqnxQv7V8juvLoItkGQFXeqP-ezkrzulRP-mbDdogM/s1600/4a.jpg&quot; height=&quot;240&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkl7CKPXQKN0E210IsMP-0GAUX2GBaz8zbhAYxFcMm3AccFQr78XjpaH5hcY7Iys6AlRtJRxzSiKzj7gJxRUGo_fKXxfxHUZxqp9SJJviNuiTHlspuHXjYlj9-IBpdEA_96jAgpC-_ltQ/s1600/4b.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkl7CKPXQKN0E210IsMP-0GAUX2GBaz8zbhAYxFcMm3AccFQr78XjpaH5hcY7Iys6AlRtJRxzSiKzj7gJxRUGo_fKXxfxHUZxqp9SJJviNuiTHlspuHXjYlj9-IBpdEA_96jAgpC-_ltQ/s1600/4b.jpg&quot; height=&quot;240&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Step 07: Under &lt;strong&gt;Value Name&lt;/strong&gt; type &quot;&lt;em&gt;Strict replication consistency&lt;/em&gt;&quot;. Under &lt;strong&gt;Value Type &lt;/strong&gt;select REG_DWORD and under Value Data enter &lt;em&gt;1&lt;/em&gt; (select &lt;strong&gt;Base&lt;/strong&gt; decimal). Confirm new settings by clicking on OK button&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6QUTQWYs9SL_2WoOdCbYA6VdZo2keYCsCctN05ZcwbRX-OwLoBSGHHkEbSY2j6VGGBJSw0QdyEi4iuSavj49gTyad7RTBw1WvmfJAg5-TGJHAQpWUc0L_DQcCxOP_RjbmbCQLSQOElCs/s1600/5.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6QUTQWYs9SL_2WoOdCbYA6VdZo2keYCsCctN05ZcwbRX-OwLoBSGHHkEbSY2j6VGGBJSw0QdyEi4iuSavj49gTyad7RTBw1WvmfJAg5-TGJHAQpWUc0L_DQcCxOP_RjbmbCQLSQOElCs/s1600/5.jpg&quot; height=&quot;240&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Step 08: Stop editing new Group Policy by closing Group Policy Management Editor window&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkzs0v3iKLXnJ3x7Zt7r-sgNKoK2jisguFc0746XTVnF480ySIwCk94dxPmP9bW_6PEUs5UtwTqUBAwbEHvUamnKo3IXGvD-l1_WF0oCgP8zBOMZlKZdXWgGGmHDQbzwIXLyDfTeNwDpo/s1600/6.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkzs0v3iKLXnJ3x7Zt7r-sgNKoK2jisguFc0746XTVnF480ySIwCk94dxPmP9bW_6PEUs5UtwTqUBAwbEHvUamnKo3IXGvD-l1_WF0oCgP8zBOMZlKZdXWgGGmHDQbzwIXLyDfTeNwDpo/s1600/6.jpg&quot; height=&quot;240&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Step 09: Force applying group policies by typing &quot;&lt;em&gt;gpupdate /force&lt;/em&gt;&quot; in Command Prompt&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEHIBTN30tLWCFOXYWe101U69Z7wdhOUOKCUYyKkFQGwPjJPE7ls1r3sgppBBvAotL5yNKkpnhev4MHrsEBEGscYXHaj3jiYcIIrCBC5XxIl-wp5-VY7OxxKtxxTG6L99L2PYYIiQA9Dw/s1600/7.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEHIBTN30tLWCFOXYWe101U69Z7wdhOUOKCUYyKkFQGwPjJPE7ls1r3sgppBBvAotL5yNKkpnhev4MHrsEBEGscYXHaj3jiYcIIrCBC5XxIl-wp5-VY7OxxKtxxTG6L99L2PYYIiQA9Dw/s1600/7.jpg&quot; height=&quot;240&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Step 10: Open registry editor and check that new registry key (Strict replication consistency) was created under HKEY_LOCAL_MACHINE\SYSTEM\Current Control Set\Services\NTDS\Parameters with value 1.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJNG-AYZPs2-vuqgPx-zgel_RAWJVXZQ_EzHh-0S-F9rqQcQwFeh0FKs0x_Of5pUP58lWUpMbxQD4Z6KzCV4Mzu1hqkDJhmWSKO_83653KEd0NBaszCsRn0kE7ctGV8vu7Q14QldlAR9I/s1600/8.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJNG-AYZPs2-vuqgPx-zgel_RAWJVXZQ_EzHh-0S-F9rqQcQwFeh0FKs0x_Of5pUP58lWUpMbxQD4Z6KzCV4Mzu1hqkDJhmWSKO_83653KEd0NBaszCsRn0kE7ctGV8vu7Q14QldlAR9I/s1600/8.jpg&quot; height=&quot;240&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So from now on all of your DC&#39;s will have strict replication consistency setting enabled :)&lt;br /&gt;
&lt;br /&gt;
Few links to help you understand and configure this setting:&lt;br /&gt;
- &lt;a href=&quot;http://technet.microsoft.com/en-us/library/cc816938(v=ws.10).aspx&quot; target=&quot;_blank&quot;&gt;Enable Strict Replication Consistency&lt;/a&gt;&lt;br /&gt;
- &lt;a href=&quot;http://technet.microsoft.com/en-us/library/dd723692(v=ws.10).aspx&quot; target=&quot;_blank&quot;&gt;AD DS: Strict replication consistency should be enabled on all domain controllers in this forest&lt;/a&gt;&lt;br /&gt;
- &lt;a href=&quot;http://technet.microsoft.com/en-us/library/cc949134.aspx&quot; target=&quot;_blank&quot;&gt;Event ID 1388 or 1988: A lingering object is detected&lt;/a&gt;&lt;br /&gt;
- &lt;a href=&quot;http://technet.microsoft.com/en-us/library/cc949124(v=ws.10).aspx&quot; target=&quot;_blank&quot;&gt;Fixing Replication Lingering Object Problems (Event IDs 1388, 1988, 2042)&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
This is it for today and have fun!&amp;nbsp;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://lukastechblog.blogspot.com/feeds/3796169040405416842/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lukastechblog.blogspot.com/2014/09/how-to-enable-strict-replication.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/455527173073783378/posts/default/3796169040405416842'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/455527173073783378/posts/default/3796169040405416842'/><link rel='alternate' type='text/html' href='http://lukastechblog.blogspot.com/2014/09/how-to-enable-strict-replication.html' title='How to enable strict replication consistency in AD'/><author><name>luka</name><uri>http://www.blogger.com/profile/01694715765525499386</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPFYAzRdLpp54zTpPD1L8gpcyOcJPp-e8OXjC2WtU5nqsn8tqFMK9ccgFsbgNzIelkL7rlzaDi5d1YxoE9Wx9DjEQPLPu-ZaA1UMS4T-aKkLfD1eMeTMxWEOpEjmnaei1cKBBMF2oOfMc/s72-c/0.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-455527173073783378.post-785088150103010532</id><published>2013-04-05T11:04:00.002+02:00</published><updated>2013-04-05T12:21:53.177+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="7"/><category scheme="http://www.blogger.com/atom/ns#" term="8"/><category scheme="http://www.blogger.com/atom/ns#" term="access"/><category scheme="http://www.blogger.com/atom/ns#" term="credentials"/><category scheme="http://www.blogger.com/atom/ns#" term="direct"/><category scheme="http://www.blogger.com/atom/ns#" term="DirectAccess"/><category scheme="http://www.blogger.com/atom/ns#" term="proxy"/><category scheme="http://www.blogger.com/atom/ns#" term="proxymgr"/><category scheme="http://www.blogger.com/atom/ns#" term="windows"/><title type='text'>DirectAccess asking for proxy credentials</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
I just love DirectAccess. It enables me to connect to my company network from any location and any internet provider.&lt;br /&gt;
&lt;br /&gt;
But lately, since I started using Windows 8, I encountered a problem. If there was no problem then I wouldn&#39;t be writing this, would I ;)&lt;br /&gt;
&lt;br /&gt;
The problem is related to proxy servers. Whenever I go to the place, where I need to enter proxy server to get access to the internet and then later remove this proxy, DirectAccess client starts to prompt me to enter proxy credentials!? The final result of this problem is that I can&#39;t connect to my company’s network using DirectAccess.&lt;br /&gt;
&lt;br /&gt;
So I started digging and found this workaround. I tested it on my notebook and it worked. I cannot guaranty that this solution is universal and that it will work for all. I also can’t guarantee that by doing this we don’t “brake” something else. This is my finding, I don&#39;t say it&#39;s correct one but it makes my DirectAccess work again?&lt;br /&gt;
&lt;br /&gt;
I found registry key under which few latest proxy addresses are stored:&lt;br /&gt;
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\iphlpsvc\Parameters\ProxyMgr&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEHmpD15MOe_ZCmPr9uFGpnJhLlXn2Bbh5Zz23wJsuwQwuQOsJpD8ck1Gwl76qKkpBWfJdNzlH6K60aCmd6g1TvXy5l10lLnKfyApoUU_N9Tf8IbXA8J0wtYQKeUh9tCIkEeM7KM0VpoM/s1600/Proxy-remove.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;302&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEHmpD15MOe_ZCmPr9uFGpnJhLlXn2Bbh5Zz23wJsuwQwuQOsJpD8ck1Gwl76qKkpBWfJdNzlH6K60aCmd6g1TvXy5l10lLnKfyApoUU_N9Tf8IbXA8J0wtYQKeUh9tCIkEeM7KM0VpoM/s320/Proxy-remove.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
And now my solution:&lt;br /&gt;
- Export registry key ProxyMgr in case we need it later (link: &lt;a href=&quot;http://technet.microsoft.com/en-us/library/cc755091.aspx&quot; target=&quot;_blank&quot;&gt;How to export registry key&lt;/a&gt;).&lt;br /&gt;
-&amp;nbsp;Remove (delete)&amp;nbsp;all registry keys under registry key ProxyMgr&amp;nbsp;(see on the picture below).&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQp6YT6l5amzFUHHFkytD6KK6NzFkTfCnisAgdf7I4Ut062c0fOE4GF09026iP8rtNp675SUJAh4DLC84KAK1NQqMJZsvP22DblXeHAVz3sq9I-EWakFLWex_L09yBLpo-U7NTmrurmag/s1600/Proxy-remove-01.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;228&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQp6YT6l5amzFUHHFkytD6KK6NzFkTfCnisAgdf7I4Ut062c0fOE4GF09026iP8rtNp675SUJAh4DLC84KAK1NQqMJZsvP22DblXeHAVz3sq9I-EWakFLWex_L09yBLpo-U7NTmrurmag/s320/Proxy-remove-01.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
- All I needed to do next was to restart the computer and my DirectAccess started working again.&lt;br /&gt;
&lt;br /&gt;
This is it for today and have fun!&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://lukastechblog.blogspot.com/feeds/785088150103010532/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lukastechblog.blogspot.com/2013/04/directaccess-asking-for-proxy.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/455527173073783378/posts/default/785088150103010532'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/455527173073783378/posts/default/785088150103010532'/><link rel='alternate' type='text/html' href='http://lukastechblog.blogspot.com/2013/04/directaccess-asking-for-proxy.html' title='DirectAccess asking for proxy credentials'/><author><name>luka</name><uri>http://www.blogger.com/profile/01694715765525499386</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEHmpD15MOe_ZCmPr9uFGpnJhLlXn2Bbh5Zz23wJsuwQwuQOsJpD8ck1Gwl76qKkpBWfJdNzlH6K60aCmd6g1TvXy5l10lLnKfyApoUU_N9Tf8IbXA8J0wtYQKeUh9tCIkEeM7KM0VpoM/s72-c/Proxy-remove.jpg" height="72" width="72"/><thr:total>0</thr:total><georss:featurename>Ljubljana, Slovenija</georss:featurename><georss:point>46.056450899999987 14.50807020000002</georss:point><georss:box>45.880175399999985 14.18534670000002 46.23272639999999 14.830793700000021</georss:box></entry><entry><id>tag:blogger.com,1999:blog-455527173073783378.post-7906099042588891970</id><published>2013-01-24T10:09:00.003+01:00</published><updated>2013-01-24T10:12:47.458+01:00</updated><title type='text'>Internal URL&#39;s instead of IE Searches</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
A day or two ago I tried to reach our company&#39;s internal web site using short name in Internet Explorer 10 and was constantly diverted to my favorite search engine site. &lt;br /&gt;
&lt;br /&gt;
By short name I mean that I entered &lt;em&gt;InternalWebSiteName&lt;/em&gt; (without http:// in-front of it) in the address bar like shown in example below.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDh-UAm3MOm5EYUi5hQ5fk92DIUBvNA-ErFCBymRIJ1TP9pN6MmCuzBkpNMBMWe3qPEztR9ivO6-BnqaNLp3Lnf2oWnnab6i7j9pc9XAtw-M07HnIXv44eNrY9tKX51TeBiJ8DpHkL_v0/s1600/IE_Address_bar.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;26&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDh-UAm3MOm5EYUi5hQ5fk92DIUBvNA-ErFCBymRIJ1TP9pN6MmCuzBkpNMBMWe3qPEztR9ivO6-BnqaNLp3Lnf2oWnnab6i7j9pc9XAtw-M07HnIXv44eNrY9tKX51TeBiJ8DpHkL_v0/s400/IE_Address_bar.JPG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After entering &lt;em&gt;InternalWebSiteName,&lt;/em&gt; I hit enter and was always diverted to my favorite search engine search results :(&lt;br /&gt;
&lt;br /&gt;
Now here are two tips how to avoid this and reach internal web sites by it&#39;s short names. Quick and easy :)&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Tip 1:&lt;/strong&gt;&lt;br /&gt;
Enable setting in IE. Setting is hidden under: &lt;br /&gt;
&lt;strong&gt;IE \ Tools \ Internet Options \ Advanced&lt;/strong&gt;.&lt;br /&gt;
Enable &lt;strong&gt;&#39;Go to an intranet site for a single word entry in the Address bar&#39;&lt;/strong&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgv3trVDlnH608AuKAL7UTAySfwSOFb2HIc6duxVo9z8aU-ETjukUCHp621oTCZgotYlqFeQtZ6lhIodqUVi3KoArjwBlcFbVUARiSK7iTPOUX5P9NUUnGiXfcyzVTfYP9bjfELcBcr1tE/s1600/IE_options_advanced.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgv3trVDlnH608AuKAL7UTAySfwSOFb2HIc6duxVo9z8aU-ETjukUCHp621oTCZgotYlqFeQtZ6lhIodqUVi3KoArjwBlcFbVUARiSK7iTPOUX5P9NUUnGiXfcyzVTfYP9bjfELcBcr1tE/s320/IE_options_advanced.JPG&quot; width=&quot;249&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;Tip 2:&lt;/strong&gt;&lt;br /&gt;
Just type a forward slash&amp;nbsp;&#39;/&#39; after the &lt;em&gt;InternalWebSiteName&lt;/em&gt;. That will send it out as an URL.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKnDYD15wNDni8V7TLffibXTCNU3pr97oLuxJ6j_y40pSmtNDhkD61QRA09S6O9rWNKKoTvCmA-INxYkRU0DWc6q59ozEFPN-MWKWpgOr-C_Z0gUATW2WJ3G_8z1IcFnPg6BCaE2JjCSg/s1600/IE_Address_bar_tip.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;25&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKnDYD15wNDni8V7TLffibXTCNU3pr97oLuxJ6j_y40pSmtNDhkD61QRA09S6O9rWNKKoTvCmA-INxYkRU0DWc6q59ozEFPN-MWKWpgOr-C_Z0gUATW2WJ3G_8z1IcFnPg6BCaE2JjCSg/s400/IE_Address_bar_tip.JPG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is it for today and it&#39;s so easy.&lt;br /&gt;
&lt;br /&gt;
Have fun!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://lukastechblog.blogspot.com/feeds/7906099042588891970/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lukastechblog.blogspot.com/2013/01/internal-urls-instead-of-ie-searches.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/455527173073783378/posts/default/7906099042588891970'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/455527173073783378/posts/default/7906099042588891970'/><link rel='alternate' type='text/html' href='http://lukastechblog.blogspot.com/2013/01/internal-urls-instead-of-ie-searches.html' title='Internal URL&#39;s instead of IE Searches'/><author><name>luka</name><uri>http://www.blogger.com/profile/01694715765525499386</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDh-UAm3MOm5EYUi5hQ5fk92DIUBvNA-ErFCBymRIJ1TP9pN6MmCuzBkpNMBMWe3qPEztR9ivO6-BnqaNLp3Lnf2oWnnab6i7j9pc9XAtw-M07HnIXv44eNrY9tKX51TeBiJ8DpHkL_v0/s72-c/IE_Address_bar.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-455527173073783378.post-5640843774627198858</id><published>2012-10-12T14:18:00.000+02:00</published><updated>2012-10-12T14:19:58.363+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="AD"/><category scheme="http://www.blogger.com/atom/ns#" term="batch"/><category scheme="http://www.blogger.com/atom/ns#" term="delegate"/><category scheme="http://www.blogger.com/atom/ns#" term="dsacls"/><category scheme="http://www.blogger.com/atom/ns#" term="dsacls.exe"/><category scheme="http://www.blogger.com/atom/ns#" term="permissions"/><category scheme="http://www.blogger.com/atom/ns#" term="script"/><title type='text'>Active Directory Delegation</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
It&#39;s been a while since my last post and now is time to add new one :)&lt;br /&gt;
&lt;br /&gt;
Today I was at the customer with a task to delegate some Active Directory permissions for Help Desk users. &lt;br /&gt;
&lt;br /&gt;
My task was to create a &quot;script&quot; for:&lt;br /&gt;
-&amp;nbsp;Delegate Unlock user account.&lt;br /&gt;
- Delegate Reset password to user account.&lt;br /&gt;
-&amp;nbsp;Delegate&amp;nbsp;Move computer account from default folder to designated OU.&lt;br /&gt;
- Delegate Add&amp;nbsp;or remove users from security or distribution group.&lt;br /&gt;
-&amp;nbsp;Delegate Change some of user object attributes (Telephone number, Mobile phone number,&amp;nbsp;Office, Department, ...).&lt;br /&gt;
&lt;br /&gt;
Of course you can do all of this with GUI but we&#39;re a bit lazy, we don&#39;t want to click a lot and the most important reason we sure want to look smart, so that&#39;s why we use command line. &lt;br /&gt;
&lt;br /&gt;
If you still decide to&amp;nbsp;use GUI you&#39;ll probably need to edit&amp;nbsp;DSSEC.DAT&amp;nbsp;(under Users add pwdLastSet=0), to display some attributes.&lt;br /&gt;
&lt;br /&gt;
For this task I used command dsacls.exe, and &lt;a href=&quot;http://technet.microsoft.com/en-us/library/cc755938(v=ws.10).aspx&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt; you can find more about it.&lt;br /&gt;
&lt;br /&gt;
We also used two security groups approach. Resource security group (Change password, Unlock user account, ...) and&amp;nbsp;Users security group (Help Desk). At the end we added&amp;nbsp;Users security group into all Resource security groups. With this we achieved that members of Users security group are able to do all the necessary tasks regarding users and computers management.&lt;br /&gt;
&lt;br /&gt;
So let&#39;s get to business :)&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;To delegate password reset and unlock user you can use this command lines:&lt;/u&gt; &lt;br /&gt;
&lt;table border=&quot;0&quot; bordercolor=&quot;#FFCC00&quot; cellpadding=&quot;3&quot; cellspacing=&quot;1&quot; style=&quot;background-color: gainsboro;&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;dsacls ou=ou_name,dc=domain,dc=com /i:s /g domain\SecGroupName:ca;reset password;user&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;dsacls ou=ou_name,dc=domain,dc=com /i:s /g domain\SecGroupName:rpwp;pwdlastset;user&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;dsacls ou=ou_name,dc=domain,dc=com /i:s /g domain\SecGroupName:rpwp;lockouttime;user&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;em&gt;Explanation&lt;/em&gt;:&lt;br /&gt;
&quot;ou=ou_name,dc=domain,dc=com&quot; is OU where users are located&lt;br /&gt;
&quot;domain\SecGroupName&quot; is Resource security group to which we delegate permissions&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;To delegate add/remove group membership you can use this command lines:&lt;/u&gt;&lt;br /&gt;
&lt;table border=&quot;0&quot; bordercolor=&quot;#FFCC00&quot; cellpadding=&quot;3&quot; cellspacing=&quot;1&quot; style=&quot;background-color: gainsboro;&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;dsacls ou=ou_name,dc=domain,dc=com /i:s /g domain\SecGroupNam:rpwp;member;group&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;em&gt;Explanation&lt;/em&gt;:&lt;br /&gt;
&quot;ou=ou_name,dc=domain,dc=com&quot; is OU where groups are located&lt;br /&gt;
&quot;domain\SecGroupName&quot; is Resource security group to which we delegate permissions&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;To delegate&amp;nbsp;moving computers&amp;nbsp;between OU&#39;s you can use this command lines:&lt;/u&gt;&lt;br /&gt;
&lt;table border=&quot;0&quot; bordercolor=&quot;#FFCC00&quot; cellpadding=&quot;3&quot; cellspacing=&quot;1&quot; style=&quot;background-color: gainsboro;&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;dsacls ou=ou_name,dc=domain,dc=com /i:t /g domain\SecGroupName:cc;computer;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;dsacls cn=computers,dc=domain,dc=com /g domain\SecGroupName:dc;computer;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;dsacls cn=computers,dc=domain,dc=com /i:s /g domain\SecGroupName:wp;;computer&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;em&gt;Explanation&lt;/em&gt;:&lt;br /&gt;
&quot;ou=ou_name,dc=domain,dc=com&quot; is OU to where you want to move computers&lt;br /&gt;
&quot;cn=computers,dc=domain,dc=com&quot; is folder from where you want to move computers&lt;br /&gt;
&quot;domain\SecGroupName&quot; is Resource security group to which we delegate permissions&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;To delegate&amp;nbsp;changing user attributes you can use this command lines:&lt;/u&gt;&lt;br /&gt;
&lt;table border=&quot;0&quot; bordercolor=&quot;#FFCC00&quot; cellpadding=&quot;3&quot; cellspacing=&quot;1&quot; style=&quot;background-color: gainsboro;&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;dsacls ou=ou_name,dc=domain,dc=com /i:s /g domain\SecGroupName:rpwp;telephonenumber;user&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;dsacls ou=ou_name,dc=domain,dc=com /i:s /g domain\SecGroupName:rpwp;company;user&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;dsacls ou=ou_name,dc=domain,dc=com /i:s /g domain\SecGroupName:rpwp;mobile;user&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;dsacls ou=ou_name,dc=domain,dc=com /i:s /g domain\SecGroupName:rpwp;physicaldeliveryofficename;user&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;dsacls ou=ou_name,dc=domain,dc=com /i:s /g domain\SecGroupName:rpwp;roomnumber;user
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;em&gt;Explanation&lt;/em&gt;:&lt;br /&gt;
&quot;ou=ou_name,dc=domain,dc=com&quot; is OU to where users are located&lt;br /&gt;
&quot;domain\SecGroupName&quot; is Resource security group to which we delegate permissions&lt;br /&gt;
&lt;br /&gt;
There are at least two approaches that can be used in bigger productions instead using command lines below. First is to use Excel (concatenate) and the second is to use batch scripts like in the sample below.&lt;br /&gt;
&lt;br /&gt;
In this sample we&#39;ll delegate add/remove group membership with a batch script.&lt;br /&gt;
&lt;u&gt;&lt;/u&gt;&lt;br /&gt;
1. Create Delegate-AdRights.bat&lt;br /&gt;
2. Edit Delegate-AdRights.bat and copy paste code below into it.&lt;br /&gt;
&lt;table border=&quot;0&quot; bordercolor=&quot;#FFCC00&quot; cellpadding=&quot;3&quot; cellspacing=&quot;1&quot; style=&quot;background-color: gainsboro;&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;dsacls %1 /i:s /g %2:rpwp;member;group&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
3. Run batch file in command prompt with additional variables as shown below&lt;br /&gt;
&lt;table border=&quot;0&quot; bordercolor=&quot;#FFCC00&quot; cellpadding=&quot;3&quot; cellspacing=&quot;1&quot; style=&quot;background-color: gainsboro;&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Delegate-AdRights.bat ou=ou_name,dc=domain,dc=com domain\SecGroupName&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;em&gt;Explanation&lt;/em&gt;:&lt;br /&gt;
&quot;ou=ou_name,dc=domain,dc=com&quot; is OU where users are located&lt;br /&gt;
&quot;domain\SecGroupName&quot; is Resource security group to which we delegate permissions&lt;br /&gt;
&lt;br /&gt;
This is it for today. Have fun!&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://lukastechblog.blogspot.com/feeds/5640843774627198858/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lukastechblog.blogspot.com/2012/10/active-directory-delegation.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/455527173073783378/posts/default/5640843774627198858'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/455527173073783378/posts/default/5640843774627198858'/><link rel='alternate' type='text/html' href='http://lukastechblog.blogspot.com/2012/10/active-directory-delegation.html' title='Active Directory Delegation'/><author><name>luka</name><uri>http://www.blogger.com/profile/01694715765525499386</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-455527173073783378.post-5132633209714637409</id><published>2012-04-19T11:55:00.001+02:00</published><updated>2012-04-19T12:00:30.234+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="windows diskpart error parameter is incorrect extend volume disk partition"/><title type='text'>Extended Windows Volume</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Extending Volume on virtualized Windows server is so easy this days. You just go to your virtual host server and extend virtual disk. After this is done&amp;nbsp;login to your Windows server and open &lt;strong&gt;&lt;em&gt;Disk Management&lt;/em&gt;&lt;/strong&gt; then&amp;nbsp;&lt;strong&gt;&lt;em&gt;right-click Disk Management&lt;/em&gt;&lt;/strong&gt; and select &lt;strong&gt;&lt;em&gt;Refresh&lt;/em&gt;&lt;/strong&gt;. &lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2jzFUwodyww3e6v3GAJk8JEXloRtFQOeLTypoo5NxoNRFnp0uswFx7haeauRm8UV3yxYlvWzNAbloLEuQV32ddQe7dAJkQVOyxsI1f_rRXC7dqonOeW2JEg5EqwdzVhI1f3vt02Jc1sY/s1600/Ext_1.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;156&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2jzFUwodyww3e6v3GAJk8JEXloRtFQOeLTypoo5NxoNRFnp0uswFx7haeauRm8UV3yxYlvWzNAbloLEuQV32ddQe7dAJkQVOyxsI1f_rRXC7dqonOeW2JEg5EqwdzVhI1f3vt02Jc1sY/s320/Ext_1.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
After this you&#39;ll see some Unallocated space.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqoGHHvydYJvPq2vJamvnj7_X5S3c59DiMbvuMVvCIysp_Y6PUjXyP2Hl74KRWUzHbJ9wfBTa2Lhjiz70JgXPiDIhc_qoy2Z8ev-w8IfsVlvMeRyhTJ10cXQsPCSEbYbUXOX8j9dQTNFU/s1600/Ext_2.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;157&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqoGHHvydYJvPq2vJamvnj7_X5S3c59DiMbvuMVvCIysp_Y6PUjXyP2Hl74KRWUzHbJ9wfBTa2Lhjiz70JgXPiDIhc_qoy2Z8ev-w8IfsVlvMeRyhTJ10cXQsPCSEbYbUXOX8j9dQTNFU/s320/Ext_2.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Now &lt;strong&gt;&lt;em&gt;right-click&lt;/em&gt;&lt;/strong&gt; on Volume that you want to extend (in-front of&amp;nbsp;unallocated space)&amp;nbsp;and select&amp;nbsp;&lt;strong&gt;&lt;em&gt;Extend Volume ...&lt;/em&gt;&lt;/strong&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgaqKEMt2B3Zj0g5HNIwxf7rYWis1nQzxf1EnebBFFq7wvnwdq6ST4hcLOIq9kp09P069PFUOXTxibTihNt2wvoHKobcDxenCdZHbWqUHEGHjaaRZTLeAon4_bsTx35l4oFV4ZC-2NYgGk/s1600/Ext_3.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;157&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgaqKEMt2B3Zj0g5HNIwxf7rYWis1nQzxf1EnebBFFq7wvnwdq6ST4hcLOIq9kp09P069PFUOXTxibTihNt2wvoHKobcDxenCdZHbWqUHEGHjaaRZTLeAon4_bsTx35l4oFV4ZC-2NYgGk/s320/Ext_3.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Extend Volume Wizard opens and by clicking &lt;strong&gt;&lt;em&gt;Next&lt;/em&gt;&lt;/strong&gt; you&#39;ll arrive to the part where you need to specify for how much you&#39;ll extend selected Volume. In my case I&#39;ll use all available space.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZiQfIdFvGR3iAvnsXyCt5DFon4GWjRuqmVGT1mXxFdBZPhZ7xuAYDUA5JhgQebgwFyfJiZeNzVuPI0uN3OofDmeyPKqOGq_SbPMMOK2XksBNm_m1nwtqVYBZlpLaVQg5fDw-pFFV0Psc/s1600/Ext_4.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;256&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZiQfIdFvGR3iAvnsXyCt5DFon4GWjRuqmVGT1mXxFdBZPhZ7xuAYDUA5JhgQebgwFyfJiZeNzVuPI0uN3OofDmeyPKqOGq_SbPMMOK2XksBNm_m1nwtqVYBZlpLaVQg5fDw-pFFV0Psc/s320/Ext_4.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Click &lt;strong&gt;&lt;em&gt;Next&lt;/em&gt;&lt;/strong&gt; and &lt;strong&gt;&lt;em&gt;Finish&lt;/em&gt;&lt;/strong&gt;. After this your Volume will be extended and you&#39;ll have additional space on your server that you can use :)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
But it&#39;s not always that easy. Sometimes can happen that you&#39;ll get an error: &quot;The parameter is incorrect.&quot;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiue3p2iZgcNptRfToz9urbpsV0VDwy_oB7FQn7u-ByoL8xJs910tPJG0UJvxphlIiPHihnuLXsEoo5utH1g9wpzsBvmOPuJuPPKsbqPc7IG88XVWmNNNFOoZMH21Tlmdw3shJTP7NYF88/s1600/Ext_5.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiue3p2iZgcNptRfToz9urbpsV0VDwy_oB7FQn7u-ByoL8xJs910tPJG0UJvxphlIiPHihnuLXsEoo5utH1g9wpzsBvmOPuJuPPKsbqPc7IG88XVWmNNNFOoZMH21Tlmdw3shJTP7NYF88/s1600/Ext_5.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
After that Disk Management shows different size of extended disk as if you check disk properties.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDIVzkTVtExVwGtU9fKCVaWYLyrfXtkF_26lxuWhL4ZAxaT-pIk2YV6J1D_VXEGCvOJJ6gbyF6LjnF1hOdh0tb4ejhLkOYe15vzV7z672BUz4tBn9dZ2NFjyrj-x6AiJzKNCVSih43Kl8/s1600/Ext_6.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;40&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDIVzkTVtExVwGtU9fKCVaWYLyrfXtkF_26lxuWhL4ZAxaT-pIk2YV6J1D_VXEGCvOJJ6gbyF6LjnF1hOdh0tb4ejhLkOYe15vzV7z672BUz4tBn9dZ2NFjyrj-x6AiJzKNCVSih43Kl8/s320/Ext_6.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsvt4daZfrzG3DFpYxjeLIEbKrWfRuKsWulfkSHA5EfLpnvdGF-wVeyj4-KBwpXR4zq-aVL0K1D_0vFU5ckdRYM3tJskmSRp9tKDtkWN76xlqytQe17rAO7v4m-i1Ua0swCa8nglpTp8I/s1600/Ext_7.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsvt4daZfrzG3DFpYxjeLIEbKrWfRuKsWulfkSHA5EfLpnvdGF-wVeyj4-KBwpXR4zq-aVL0K1D_0vFU5ckdRYM3tJskmSRp9tKDtkWN76xlqytQe17rAO7v4m-i1Ua0swCa8nglpTp8I/s320/Ext_7.jpg&quot; width=&quot;227&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Solution for this problem is simple. Open &lt;strong&gt;&lt;em&gt;Command Line (CMD)&lt;/em&gt;&lt;/strong&gt; as Administrator and type &lt;strong&gt;&lt;em&gt;DISKPART&lt;/em&gt;&lt;/strong&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;Diskpart&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;List Volume&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;Select Volume # (this is the number of the volume listed by the above ‘List Volume’ command)&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;Extend Filesystem&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;Exit&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxJVgFvLy0DWOpSdrbNvVemKYu7DtZtR2nVJIAZS5rOspzewFexj2YOqv4BYfYS6KXN8k8SCGZao80zMKXIgkHcjU4XxACnNXL82BvwfG-gf43yFPlC0ST0jS4gG8DaDIgg7pZpPxCTKA/s1600/Ext_9.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;201&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxJVgFvLy0DWOpSdrbNvVemKYu7DtZtR2nVJIAZS5rOspzewFexj2YOqv4BYfYS6KXN8k8SCGZao80zMKXIgkHcjU4XxACnNXL82BvwfG-gf43yFPlC0ST0jS4gG8DaDIgg7pZpPxCTKA/s320/Ext_9.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
All good and now you can recheck disk properties for just in case.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDEe1q_x_rqwE4P4aIP9siRldLY01fx_VpyNB0p3rha_l6mLdJC5uiqZuxNQ6XNYuvSpeJ_lQ8F8AoACxvUlXQmyna6GDfEkKcLKtxlda_ZMwCTHgroepnJoVFwbNejT6oMzatSOpDOY8/s1600/Ext_8.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDEe1q_x_rqwE4P4aIP9siRldLY01fx_VpyNB0p3rha_l6mLdJC5uiqZuxNQ6XNYuvSpeJ_lQ8F8AoACxvUlXQmyna6GDfEkKcLKtxlda_ZMwCTHgroepnJoVFwbNejT6oMzatSOpDOY8/s320/Ext_8.jpg&quot; width=&quot;226&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Disk properties also show that disk was successfully extended :)&lt;br /&gt;
&lt;br /&gt;
Few useful links:&lt;br /&gt;
&lt;a href=&quot;http://support.microsoft.com/kb/325590&quot;&gt;http://support.microsoft.com/kb/325590&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.jonathanmedd.net/2010/10/windows-server-2008-extend-system-volume-error-the-parameter-is-incorrect.html&quot;&gt;http://www.jonathanmedd.net/2010/10/windows-server-2008-extend-system-volume-error-the-parameter-is-incorrect.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
This is it for today. Have fun!&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lukastechblog.blogspot.com/feeds/5132633209714637409/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lukastechblog.blogspot.com/2012/04/extended-windows-volume.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/455527173073783378/posts/default/5132633209714637409'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/455527173073783378/posts/default/5132633209714637409'/><link rel='alternate' type='text/html' href='http://lukastechblog.blogspot.com/2012/04/extended-windows-volume.html' title='Extended Windows Volume'/><author><name>luka</name><uri>http://www.blogger.com/profile/01694715765525499386</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2jzFUwodyww3e6v3GAJk8JEXloRtFQOeLTypoo5NxoNRFnp0uswFx7haeauRm8UV3yxYlvWzNAbloLEuQV32ddQe7dAJkQVOyxsI1f_rRXC7dqonOeW2JEg5EqwdzVhI1f3vt02Jc1sY/s72-c/Ext_1.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-455527173073783378.post-4214080762270118506</id><published>2012-03-02T09:31:00.003+01:00</published><updated>2012-03-02T09:32:41.338+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="block"/><category scheme="http://www.blogger.com/atom/ns#" term="executables"/><category scheme="http://www.blogger.com/atom/ns#" term="group"/><category scheme="http://www.blogger.com/atom/ns#" term="list"/><category scheme="http://www.blogger.com/atom/ns#" term="P2P"/><category scheme="http://www.blogger.com/atom/ns#" term="policy"/><category scheme="http://www.blogger.com/atom/ns#" term="torrent"/><category scheme="http://www.blogger.com/atom/ns#" term="windows"/><title type='text'>Blocking P2P programs with Group Policy</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Some time ago I needed to block as many as possible torrent and other P2P clients with Windows Group Policy. To do this I needed to find as many as possible names of torrent clients executables and prepare a list. &lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;The result of all this is this list:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: #cccccc; font-family: inherit;&quot;&gt;&lt;strong&gt;ABC.exe&lt;br /&gt;Ares.exe&lt;br /&gt;Azerues.exe&lt;br /&gt;BitComet.exe&lt;br /&gt;BitLord.exe&lt;br /&gt;BitThief.exe&lt;br /&gt;BitTornado.exe&lt;br /&gt;BitTorrent.exe&lt;br /&gt;Btdownloadgui.exe &lt;br /&gt;Deluge.exe&lt;br /&gt;Emule.exe&lt;br /&gt;Fdm.exe&lt;br /&gt;FlashGet.exe&lt;br /&gt;Giftl.exe &lt;br /&gt;Imesh.exe&lt;br /&gt;KGet.exe&lt;br /&gt;KTorrent.exe&lt;br /&gt;LimeWire.exe&lt;br /&gt;Mediaget.exe&lt;br /&gt;Miro.exe&lt;br /&gt;MLDonkey.exe&lt;br /&gt;Mp3rocket.exe&lt;br /&gt;Msohtmed.exe&lt;br /&gt;µTorrent.exe&lt;br /&gt;Utorrent-2-0-beta.exe&lt;br /&gt;Utorrentportable.exe&lt;br /&gt;OneSwarm.exe&lt;br /&gt;Opera.exe&lt;br /&gt;qBittorrent.exe&lt;br /&gt;Shareaza.exe&lt;br /&gt;Tonido.exe&lt;br /&gt;Swapper.exe&lt;br /&gt;Tribler.exe&lt;br /&gt;Vuze.exe&lt;br /&gt;Wyzo.exe&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
I hope you&#39;ll find this list useful and I&#39;d also like to invite all of you to post me names of the executables that I missed. This way we&#39;ll keep this list up-to-date :)&lt;br /&gt;
&lt;br /&gt;
Here are two articles that describe how to block applications with Windows Group Policy:&lt;br /&gt;
&lt;a href=&quot;http://www.technipages.com/prevent-users-from-running-certain-programs.html&quot;&gt;http://www.technipages.com/prevent-users-from-running-certain-programs.html&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.windowsnetworking.com/articles_tutorials/Software-Restriction-Policies.html&quot;&gt;http://www.windowsnetworking.com/articles_tutorials/Software-Restriction-Policies.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
This is it for today. Have fun!&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lukastechblog.blogspot.com/feeds/4214080762270118506/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lukastechblog.blogspot.com/2012/03/blocking-p2p-programs-with-group-policy.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/455527173073783378/posts/default/4214080762270118506'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/455527173073783378/posts/default/4214080762270118506'/><link rel='alternate' type='text/html' href='http://lukastechblog.blogspot.com/2012/03/blocking-p2p-programs-with-group-policy.html' title='Blocking P2P programs with Group Policy'/><author><name>luka</name><uri>http://www.blogger.com/profile/01694715765525499386</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-455527173073783378.post-5442487860642326755</id><published>2011-12-28T15:48:00.000+01:00</published><updated>2011-12-28T15:51:07.339+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="2007"/><category scheme="http://www.blogger.com/atom/ns#" term="2010"/><category scheme="http://www.blogger.com/atom/ns#" term="connector"/><category scheme="http://www.blogger.com/atom/ns#" term="Exchange"/><category scheme="http://www.blogger.com/atom/ns#" term="extendedrights"/><category scheme="http://www.blogger.com/atom/ns#" term="permissions"/><category scheme="http://www.blogger.com/atom/ns#" term="receive"/><title type='text'>Remove Receive Connector permissions</title><content type='html'>Few days ago I started playing with permissions on our Exchange 2010 Receive Connector. I wanted to achieve that one of my service accounts users could send emails. During this testing I added all sorts of permissions to this Receive Connector. After I finished testing I wanted to get rid of all permissions I gave to this user. And how did I do it?&lt;br /&gt;
&lt;br /&gt;
First I wanted to see all permissions that I gave to this user:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;strong&gt;Get-ReceiveConnector &quot;Server\Full Connector Name&quot; | Get-ADPermission -User &quot;Domain\Username&quot;&amp;nbsp; |? {$_.extendedrights} | select identity,user,extendedrights | Format-List&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Second I got rid of all permissions that I got from previous command:&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;Get-ReceiveConnector &quot;Server\Full Connector Name&quot; | Remove-ADPermission -User &quot;Domain\Username&quot; -ExtendedRights ms-Exch-SMTP-Accept-Any-Recipient,ms-Exch-SMTP-Accept-Authoritative-Domain-Sender,ms-Exch-Accept-Headers-Routing,ms-Exch-SMTP-Accept-Any-Sender&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
At the end I run first command set again just to check if I really got rid of everything.&lt;br /&gt;
&lt;br /&gt;
I hope this will help you clean up your Exchange server as it helped me.&lt;br /&gt;
&lt;br /&gt;
This is it for this year. Have fun!</content><link rel='replies' type='application/atom+xml' href='http://lukastechblog.blogspot.com/feeds/5442487860642326755/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lukastechblog.blogspot.com/2011/12/remove-receive-connector-permissions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/455527173073783378/posts/default/5442487860642326755'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/455527173073783378/posts/default/5442487860642326755'/><link rel='alternate' type='text/html' href='http://lukastechblog.blogspot.com/2011/12/remove-receive-connector-permissions.html' title='Remove Receive Connector permissions'/><author><name>luka</name><uri>http://www.blogger.com/profile/01694715765525499386</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-455527173073783378.post-5117383482467259863</id><published>2011-10-17T22:23:00.002+02:00</published><updated>2011-10-17T22:24:55.816+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="explorer"/><category scheme="http://www.blogger.com/atom/ns#" term="IE"/><category scheme="http://www.blogger.com/atom/ns#" term="IE9"/><category scheme="http://www.blogger.com/atom/ns#" term="internet"/><category scheme="http://www.blogger.com/atom/ns#" term="save"/><title type='text'>Change Internet Explorer default save location</title><content type='html'>I’m sure some of you are interested how to change default save location in Internet Explorer (IE) because I know I was as soon as I started using it.&lt;br /&gt;
Until now I found two ways how to do this.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;strong&gt;1. Users friendly version:&lt;/strong&gt;- Open Internet Explorer and press &lt;em&gt;Ctrl+J&lt;/em&gt; (I love shortcuts don’t you) to open View Downloads window.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3P6fSDUNHB4x-fnHHlYCWCDbv6lfDBJAPtHfvOfFJpyz7ZjkfYmiBsK1kXKi8jF9UTeiLkntQ9nU9ntsLM5ZVR9ld-vjSwLXVm7aHaUc3Kr5e14B_X7ur1qzorku8ChhMTHYvzUi-h-A/s1600/IE-save-location-change-01.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;252&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3P6fSDUNHB4x-fnHHlYCWCDbv6lfDBJAPtHfvOfFJpyz7ZjkfYmiBsK1kXKi8jF9UTeiLkntQ9nU9ntsLM5ZVR9ld-vjSwLXVm7aHaUc3Kr5e14B_X7ur1qzorku8ChhMTHYvzUi-h-A/s320/IE-save-location-change-01.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
- At the lower left corner find &lt;em&gt;Options&lt;/em&gt; and click it.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg78HR4o_nsOHqL_JDCXP0v2HlK9uwNtGFkq7ahEq9lDcMCPiHvcDLBYAGpbV14AWjcnWEwUGkhZfojO0bKhiXPL3whz_sxENLv4h9Uj0tfzAbB2stU_zOyfqeHAetHflc-BHf9cd6CsDY/s1600/IE-save-location-change-02.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;243&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg78HR4o_nsOHqL_JDCXP0v2HlK9uwNtGFkq7ahEq9lDcMCPiHvcDLBYAGpbV14AWjcnWEwUGkhZfojO0bKhiXPL3whz_sxENLv4h9Uj0tfzAbB2stU_zOyfqeHAetHflc-BHf9cd6CsDY/s320/IE-save-location-change-02.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
- Choose folder by clicking on &lt;em&gt;Browse&lt;/em&gt; and selecting new default Save folder of your choice.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjm_FKeBQZdu2pMHHRguwx-ZtmDqsYmkP5oD7J1WR5qZ42C9UYBaZpko2P-I3JU3ATLpZZIy9ZIvseGWZMlGK9t5Pv66K7owa13ZI5ZHEGeBbjdQ2KkyHnYs9sMF1ayYeye3IICQsvdxGo/s1600/IE-save-location-change-03.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;160&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjm_FKeBQZdu2pMHHRguwx-ZtmDqsYmkP5oD7J1WR5qZ42C9UYBaZpko2P-I3JU3ATLpZZIy9ZIvseGWZMlGK9t5Pv66K7owa13ZI5ZHEGeBbjdQ2KkyHnYs9sMF1ayYeye3IICQsvdxGo/s320/IE-save-location-change-03.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
- Confirm changes by clicking &lt;em&gt;OK&lt;/em&gt; few times.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;2. Advanced users version:&lt;/strong&gt;- Open Windows Registry Editor (regedit.exe)&lt;br /&gt;
- Browse to HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgC7lAeZBYJ0mZnTvqZ-KiaI5Jcalmt-hQoezArlYi6HhR5RhdHwvVyCyZ6EnQxYqL77w3LnNC4-ITOxpVYlV30ppa180zvYGZfB9oxTGHF2O6XSX70weveEOiUEZHANdHjKtqOv4Fl8iE/s1600/IE-save-location-change-Reg.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;104&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgC7lAeZBYJ0mZnTvqZ-KiaI5Jcalmt-hQoezArlYi6HhR5RhdHwvVyCyZ6EnQxYqL77w3LnNC4-ITOxpVYlV30ppa180zvYGZfB9oxTGHF2O6XSX70weveEOiUEZHANdHjKtqOv4Fl8iE/s320/IE-save-location-change-Reg.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
- Find String “Default Download Directory” and Modify it.&lt;br /&gt;
- Enter new default Save folder location. For example: c:\temp&lt;br /&gt;
- Exit Windows Registry Editor&lt;br /&gt;
&lt;br /&gt;
Now you can just press Save button in IE and items will be saved to new location without the need of selecting Save As all the time :)&lt;br /&gt;
&lt;br /&gt;
This is it for today. Have fun!</content><link rel='replies' type='application/atom+xml' href='http://lukastechblog.blogspot.com/feeds/5117383482467259863/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lukastechblog.blogspot.com/2011/10/change-internet-explorer-default-save.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/455527173073783378/posts/default/5117383482467259863'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/455527173073783378/posts/default/5117383482467259863'/><link rel='alternate' type='text/html' href='http://lukastechblog.blogspot.com/2011/10/change-internet-explorer-default-save.html' title='Change Internet Explorer default save location'/><author><name>luka</name><uri>http://www.blogger.com/profile/01694715765525499386</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3P6fSDUNHB4x-fnHHlYCWCDbv6lfDBJAPtHfvOfFJpyz7ZjkfYmiBsK1kXKi8jF9UTeiLkntQ9nU9ntsLM5ZVR9ld-vjSwLXVm7aHaUc3Kr5e14B_X7ur1qzorku8ChhMTHYvzUi-h-A/s72-c/IE-save-location-change-01.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-455527173073783378.post-3023947906599795107</id><published>2011-08-11T19:36:00.002+02:00</published><updated>2011-08-11T19:38:37.293+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="RDP RDS GPO group policy windows 7 sp1"/><title type='text'>Window7 SP1 and group policy exception for RDP on clients firewalls</title><content type='html'>I’ve been struggling with annoying problem on one of my virtual test machines running Windows 7 SP1. One of them suddenly decided that I can’t log on to it using Remote Desktop Services (RDP).&lt;br /&gt;
&lt;br /&gt;
I know that I created group policy (GPO) exception to allow Remote Desktop connections for all my PC’s from LAN and VPN. For configuring I used this &lt;a href=&quot;http://www.twistedethics.com/2009/01/06/how-to-enable-remote-desktop-via-group-policy&quot;&gt;link&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
I also know that it worked just fine not long ago. So I checked it and it seemed OK. &lt;br /&gt;
&lt;br /&gt;
Group policy for Remote Desktop exceptions:&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUctc1vYHOFhW3z0K1-Wi1PRAdyliHwoo2S7-W5s-B4JLuNpI9U8PInOOy3NsxxnUoqe_juhf05sfvWlF6wmia8dKPWFor7Wz5uF-k39MobF3PqNMiPAYvmnOi9GaDckwgQz2EyI-ayEE/s1600/RDP1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; cssfloat: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;143px&quot; naa=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUctc1vYHOFhW3z0K1-Wi1PRAdyliHwoo2S7-W5s-B4JLuNpI9U8PInOOy3NsxxnUoqe_juhf05sfvWlF6wmia8dKPWFor7Wz5uF-k39MobF3PqNMiPAYvmnOi9GaDckwgQz2EyI-ayEE/s320/RDP1.jpg&quot; width=&quot;320px&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
Group policy exceptions: &lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnJtXPtKBWRx-BnitAv040GLuqPfyh3MUNn5xoHrCKh6ZxnzvTTZmxbE0ZzgvV-_UtzcwkfsOjDcJS_GinxaugTeffLeC3o7HBCVh9rTVZhnqPz74x_yagzmZONPUA1j5GqIoYpCPZL88/s1600/RDP2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; cssfloat: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;292px&quot; naa=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnJtXPtKBWRx-BnitAv040GLuqPfyh3MUNn5xoHrCKh6ZxnzvTTZmxbE0ZzgvV-_UtzcwkfsOjDcJS_GinxaugTeffLeC3o7HBCVh9rTVZhnqPz74x_yagzmZONPUA1j5GqIoYpCPZL88/s320/RDP2.jpg&quot; width=&quot;320px&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
I did some Googling and found &lt;a href=&quot;http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Windows/Windows_7/Q_26910070.html&quot;&gt;similar problem&lt;/a&gt; which lead me to solution. It seems that the problem was in Windows 7 SP1. &lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
And finally the recipe for solution: &lt;br /&gt;
&lt;strong&gt;&lt;u&gt;Solution was that I just needed to open for editing GPO that controlled RDP on computer running Windows 7 SP1 or on Windows 2008 R2 server with SP1. After I did that and run “gpupdate /force” on problematic PC I could finally connect to it using RDP.&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
This is it for today. Have fun! &lt;br /&gt;
&lt;br /&gt;
</content><link rel='replies' type='application/atom+xml' href='http://lukastechblog.blogspot.com/feeds/3023947906599795107/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lukastechblog.blogspot.com/2011/08/window7-sp1-and-group-policy-exception.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/455527173073783378/posts/default/3023947906599795107'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/455527173073783378/posts/default/3023947906599795107'/><link rel='alternate' type='text/html' href='http://lukastechblog.blogspot.com/2011/08/window7-sp1-and-group-policy-exception.html' title='Window7 SP1 and group policy exception for RDP on clients firewalls'/><author><name>luka</name><uri>http://www.blogger.com/profile/01694715765525499386</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUctc1vYHOFhW3z0K1-Wi1PRAdyliHwoo2S7-W5s-B4JLuNpI9U8PInOOy3NsxxnUoqe_juhf05sfvWlF6wmia8dKPWFor7Wz5uF-k39MobF3PqNMiPAYvmnOi9GaDckwgQz2EyI-ayEE/s72-c/RDP1.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-455527173073783378.post-7343610089324025769</id><published>2011-07-31T19:04:00.001+02:00</published><updated>2011-07-31T19:09:58.020+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="microsoft ms sql script backup databases delete files sqlcmd command line cmd"/><title type='text'>Backing up all MS SQL databases</title><content type='html'>Today I got a task to backup all databases on our Microsoft SQL 2005 running on Windows 2008. The solution also needed to satisfy two conditions:&lt;br /&gt;
- must always backup all databases even if we add new one&#39;s&lt;br /&gt;
- must remove backup files older than 3 days&lt;br /&gt;
&lt;br /&gt;
So I started Googling for solutions. At the end I combined different solutions into script below. This script can be used on Windows server 2003 and 2008 with MS SQL 2005 and 2008 with slight difference in one line:&lt;br /&gt;
&lt;br /&gt;
SQL 2008:&lt;br /&gt;
sqlcmd -E -S &quot;%ServerName%&quot; -h-1 -W -Q &quot;SET NoCount ON;SELECT &lt;strong&gt;&lt;u&gt;NAME FROM sys.sysdatabases&lt;/u&gt; &lt;/strong&gt;WHERE [Name] NOT IN (&#39;master&#39;,&#39;model&#39;,&#39;msdb&#39;,&#39;tempdb&#39;)&quot; &amp;gt; %DBList%&lt;br /&gt;
&lt;br /&gt;
SQL 2005&lt;br /&gt;
sqlcmd -E -S &quot;%ServerName%&quot; -h-1 -W -Q &quot;SET NoCount ON;SELECT &lt;strong&gt;&lt;u&gt;NAME FROM master.dbo.sysDatabases &lt;/u&gt;&lt;/strong&gt;WHERE [Name] NOT IN (&#39;master&#39;,&#39;model&#39;,&#39;msdb&#39;,&#39;tempdb&#39;)&quot; &amp;gt; %DBList%&lt;br /&gt;
&lt;br /&gt;
And what this script does?&lt;br /&gt;
- Gets system date for later use in backup file names.&lt;br /&gt;
- Saves names of all databases in temporary file.&lt;br /&gt;
- Removes backup files older than 3 days.&lt;br /&gt;
- Backup each database, prepending the server name and date to the filename.&lt;br /&gt;
- Clean up the temp file.&lt;br /&gt;
Warning: Text &lt;span style=&quot;background-color: #a2c4c9; color: black;&quot;&gt;marked as this&lt;/span&gt; should be customized according to your specifications!&lt;br /&gt;
&lt;br /&gt;
***************************************************&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: #666666; color: white;&quot;&gt;REM @ECHO OFF&lt;br /&gt;
SETLOCAL&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: #666666; color: white;&quot;&gt;REM: get computer name ad write it into variable&lt;br /&gt;
set ServerName=%computername%&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: #666666; color: white;&quot;&gt;REM: Get System Date to be used for DB backup file names&lt;/span&gt;&lt;span style=&quot;background-color: #666666; color: white;&quot;&gt;SETLOCAL ENABLEEXTENSIONS&lt;br /&gt;
if &quot;%date%A&quot; LSS &quot;A&quot; (set toks=1-3) else (set toks=2-4)&lt;br /&gt;
for /f &quot;tokens=2-4 delims=(-)&quot; %%a in (&#39;echo:^|date&#39;) do (&lt;br /&gt;
for /f &quot;tokens=%toks% delims=.-/ &quot; %%i in (&#39;date/t&#39;) do (&lt;br /&gt;
&amp;nbsp;set &#39;%%a&#39;=%%i&lt;br /&gt;
&amp;nbsp;set &#39;%%b&#39;=%%j&lt;br /&gt;
&amp;nbsp;set &#39;%%c&#39;=%%k))&lt;br /&gt;
if %&#39;yy&#39;% LSS 100 set &#39;yy&#39;=20%&#39;yy&#39;%&lt;br /&gt;
set Today=%&#39;yy&#39;%-%&#39;mm&#39;%-%&#39;dd&#39;% &lt;br /&gt;
ENDLOCAL &amp;amp; SET v_year=%&#39;yy&#39;%&amp;amp; SET v_month=%&#39;mm&#39;%&amp;amp; SET v_day=%&#39;dd&#39;%&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: #666666; color: white;&quot;&gt;REM Build a list of databases to backup&lt;br /&gt;
SET DBList=&lt;span style=&quot;background-color: #a2c4c9; color: black;&quot;&gt;C:\BackupSQL&lt;/span&gt;\SQLDBList.txt&lt;br /&gt;
echo %DBList%&lt;br /&gt;
sqlcmd -E -S &quot;%ServerName%&quot; -h-1 -W -Q &quot;SET NoCount ON;SELECT NAME FROM sys.sysdatabases WHERE [Name] NOT IN (&#39;master&#39;,&#39;model&#39;,&#39;msdb&#39;,&#39;tempdb&#39;)&quot; &amp;gt; %DBList%&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: #666666; color: white;&quot;&gt;REM Remove backup files older than 3 days&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #666666; color: white;&quot;&gt;REM /d -3 defines how old must&amp;nbsp;be files before&amp;nbsp;they are deleted&lt;br /&gt;
IF EXIST &quot;%DBList%&quot; forfiles /p &lt;span style=&quot;background-color: #a2c4c9; color: black;&quot;&gt;C:\BackupSQL&lt;/span&gt; /s /m * &lt;span style=&quot;background-color: #a2c4c9; color: black;&quot;&gt;/d -3&lt;/span&gt; /c &quot;cmd /c del @file&quot;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: #666666; color: white;&quot;&gt;REM Backup each database, prepending the servername and date to the filename&lt;br /&gt;
FOR /F &quot;tokens=*&quot; %%I IN (%DBList%) DO (&lt;br /&gt;
ECHO Backing up database: %%I&lt;br /&gt;
SqlCmd -E -S &quot;%ServerName%&quot; -Q &quot;BACKUP DATABASE [%%I] TO Disk=&#39;&lt;span style=&quot;background-color: #a2c4c9; color: black;&quot;&gt;C:\BackupSQL&lt;/span&gt;\Backup_%ServerName%_%v_year%_%v_month%_%v_day%_%%I.bak&#39;&quot;&lt;br /&gt;
ECHO&lt;br /&gt;
)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: #666666; color: white;&quot;&gt;REM Clean up the temp file&lt;br /&gt;
IF EXIST &quot;%DBList%&quot; DEL /F /Q &quot;%DBList%&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #666666; color: white;&quot;&gt;ENDLOCAL&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
***************************************************&lt;br /&gt;
&lt;br /&gt;
Now just copy/paste this script into BackupSQL.bat file and run it from Scheduled Tasks. &lt;br /&gt;
&lt;br /&gt;
I also suggest to all that they test restore of their databases because you never know if it&#39;s OK until you try :)&lt;br /&gt;
&lt;br /&gt;
This is it for today. Have fun!</content><link rel='replies' type='application/atom+xml' href='http://lukastechblog.blogspot.com/feeds/7343610089324025769/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lukastechblog.blogspot.com/2011/07/backing-up-all-ms-sql-databases.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/455527173073783378/posts/default/7343610089324025769'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/455527173073783378/posts/default/7343610089324025769'/><link rel='alternate' type='text/html' href='http://lukastechblog.blogspot.com/2011/07/backing-up-all-ms-sql-databases.html' title='Backing up all MS SQL databases'/><author><name>luka</name><uri>http://www.blogger.com/profile/01694715765525499386</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-455527173073783378.post-3921150997289500982</id><published>2011-06-17T15:42:00.004+02:00</published><updated>2012-04-23T11:08:49.322+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="cmd command prompt windows PowerShell commands"/><title type='text'>Useful Command prompt (CMD) and PowerShell commands</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;This time I’ll make it short. In this blog I’ll start collecting useful Command prompt and PowerShell commands that I frequently use. Commands are inside the quotes:&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;Command prompt:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: inherit; mso-ansi-language: EN-US;&quot;&gt;Did you ever search what is the username of the currently logged in user? Here is an answer:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: white;&quot;&gt;&lt;span style=&quot;background-color: #666666; font-family: inherit;&quot;&gt;Windows XP: “&lt;em&gt;echo %username%&lt;/em&gt;”&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;background-color: #666666; color: white;&quot;&gt;Windows 7: “&lt;em&gt;whoami&lt;/em&gt;” or “&lt;em&gt;echo %username%&lt;/em&gt;”&lt;/span&gt;&lt;/strong&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;And command that shows computer name:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;background-color: #666666; color: white; font-family: inherit;&quot;&gt;Windows XP, 7, 2003, 2008: “&lt;strong&gt;&lt;em&gt;hostname&lt;/em&gt;&lt;/strong&gt;”&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;************************************************&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: inherit; mso-ansi-language: EN-US;&quot;&gt;On the file server you need a list of all opened files:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;background-color: #666666; color: white; font-family: inherit;&quot;&gt;“&lt;em&gt;&lt;strong&gt;net file&lt;/strong&gt;&lt;/em&gt;” &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;background-color: #666666; color: white;&quot;&gt;“&lt;strong&gt;&lt;em&gt;net file&amp;nbsp;&amp;lt; .\desktop\openfiles.txt&lt;/em&gt;&lt;/strong&gt;”&lt;/span&gt; if the list is too long and doesn’t fit into command prompt window.&lt;br /&gt;
&lt;strong&gt;&lt;em&gt;&lt;span style=&quot;background-color: #666666; color: white;&quot;&gt;net file | find &quot;Search string&quot;&lt;span style=&quot;background-color: white; color: black;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: inherit; mso-ansi-language: EN-US;&quot;&gt;filter results by specified search string.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;************************************************&lt;/span&gt; &lt;br /&gt;
Get a list of all drivers installed to Windows computer:&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;background-color: #666666; color: white;&quot;&gt;&lt;em&gt;driverquery&lt;/em&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: inherit; mso-ansi-language: EN-US;&quot;&gt;************************************************&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: inherit; mso-ansi-language: EN-US;&quot;&gt;Display user logon server&amp;nbsp;(domain controller)&amp;nbsp;in command line:&lt;br /&gt;
&lt;span style=&quot;color: white;&quot;&gt;&lt;span style=&quot;background-color: #666666;&quot;&gt;“&lt;em&gt;&lt;strong&gt;set&lt;/strong&gt;&lt;/em&gt;” &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: white;&quot;&gt;&lt;span style=&quot;background-color: #666666;&quot;&gt;“&lt;strong&gt;echo %logonserver%&lt;/strong&gt;”&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;************************************************&lt;/span&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;This tool displays operating system configuration information for a local or remote machine, including service pack levels, original install date, system boot time, total physical memory, available physical memory, page file max size, page file available, page file in use and much more:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;
&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;background-color: #666666; color: white; font-family: inherit;&quot;&gt;&quot;&lt;em&gt;&lt;strong&gt;systeminfo&lt;/strong&gt;&lt;/em&gt;&quot;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;/div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;************************************************&lt;/span&gt; &lt;br /&gt;
Get a list of all roles applied to Windows 2008 server:&lt;br /&gt;
&lt;span style=&quot;background-color: #666666; color: white;&quot;&gt;&lt;strong&gt;&lt;em&gt;servermanagercmd -q&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;/div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;************************************************&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: inherit; mso-ansi-language: EN-US;&quot;&gt;Detecting memory leaks:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: inherit; mso-ansi-language: EN-US;&quot;&gt;Create memory snapshots into a file, if you run this command repeatedly new memory snapshots will be added to the end of the file:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;background-color: #666666; color: white; font-family: inherit;&quot;&gt;&quot;&lt;strong&gt;&lt;em&gt;memsnap /m memsnap.log&lt;/em&gt;&lt;/strong&gt;&quot;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Analyze memory snapshots for memory leaks:&lt;br /&gt;
&lt;span style=&quot;background-color: #666666; color: white;&quot;&gt;&quot;&lt;strong&gt;&lt;em&gt;memsnap /ah memsnap.log&lt;/em&gt;&lt;/strong&gt;&quot;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;************************************************&lt;/span&gt;&lt;/div&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: inherit; mso-ansi-language: EN-US;&quot;&gt;This tool enables an administrator to display the MAC address for network adapters on a system:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;background-color: #666666; color: white; font-family: inherit;&quot;&gt;&lt;em&gt;&quot;&lt;strong&gt;getmac /v&lt;/strong&gt;&quot;&lt;/em&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;************************************************&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: inherit; mso-ansi-language: EN-US;&quot;&gt;Group Policy Results (GPResult.exe) is a command line tool that displays Group Policy Settings that are in effect for a specific user or computer. &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;background-color: #666666; color: white; font-family: inherit;&quot;&gt;&lt;strong&gt;&lt;em&gt;&quot;gpresult /s ComputerName /user&amp;nbsp;UserName /r /v &amp;gt; gpresult_filename.txt&quot;&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;************************************************&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Display / list Active directory FSMO (Flexible Single Master Operations) roles. Run this command on domain controller:&lt;br /&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;background-color: #666666; color: white;&quot;&gt;&lt;strong&gt;&lt;em&gt;netdom query fsmo&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;
************************************************&lt;br /&gt;
Get a list of group members from AD:&lt;br /&gt;
&lt;em&gt;&lt;strong&gt;&lt;span style=&quot;background-color: #666666; color: white;&quot;&gt;dsget group &quot;CN=Domain Admins,CN=Users,DC=domain,DC=local&quot; –members&lt;/span&gt;&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
************************************************&lt;br /&gt;
Get a list of disabled user accounts from AD:&lt;br /&gt;
&lt;em&gt;&lt;strong&gt;&lt;span style=&quot;background-color: #666666; color: white;&quot;&gt;DSQUERY USER -disabled&lt;/span&gt;&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
************************************************&lt;br /&gt;
Get a list of inactive user accounts from AD (in weeks):&lt;br /&gt;
&lt;em&gt;&lt;strong&gt;&lt;span style=&quot;background-color: #666666; color: white;&quot;&gt;DSQUERY USER -inactive 4&lt;/span&gt;&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
************************************************&lt;br /&gt;
Get a list of inactive computer accounts from AD (in weeks):&lt;br /&gt;
&lt;em&gt;&lt;strong&gt;&lt;span style=&quot;background-color: #666666; color: white;&quot;&gt;DSQUERY computer -inactive 4&lt;/span&gt;&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;
&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;
************************************************&lt;br /&gt;
Get a list of all computer accounts and servers from AD (name and OS):&lt;br /&gt;
&lt;em&gt;&lt;strong&gt;&lt;span style=&quot;background-color: #666666; color: white;&quot;&gt;dsquery * -filter &quot;(&amp;amp;(objectClass=Computer)(objectCategory=Computer))&quot; -attr sAMAccountName operatingSystem -limit 1000&lt;/span&gt;&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;************************************************&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Get AD schema version. Run this command on domain controller:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #666666; color: white; font-family: inherit;&quot;&gt;&lt;strong&gt;&lt;em&gt;dsquery * cn=schema,cn=configuaration,dc=domain,dc=local -scope base -attr objectVersion&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
************************************************&lt;br /&gt;
Klist is a command line utility included in the default installation of Windows Server 2008 and Windows Server 2008 R2 which can be used to list and purge Kerberos tickets on a given computer. To run KLIST, open a command prompt in Windows Server 2008 and type Klist:&lt;br /&gt;
&lt;strong&gt;&lt;em&gt;&lt;span style=&quot;background-color: #666666; color: white;&quot;&gt;klist tickets&lt;/span&gt;&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;************************************************&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Get Exchange schema version:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #666666; color: white; font-family: inherit;&quot;&gt;&lt;strong&gt;&lt;em&gt;dsquery * CN=ms-Exch-Schema-Version-Pt,cn=schema,cn=configuration,dc=domain,dc=local -scope base -attr rangeUpper&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;
************************************************&lt;br /&gt;
Get a list of Service Principal Name (SPN) for specified server:&lt;br /&gt;
&lt;em&gt;&lt;strong&gt;&lt;span style=&quot;background-color: #666666; color: white;&quot;&gt;setspn -l ServerName&lt;/span&gt;&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
************************************************&lt;br /&gt;
Get AD site information for computer on which you&#39;re running this command:&lt;br /&gt;
&lt;em&gt;&lt;strong&gt;&lt;span style=&quot;background-color: #666666; color: white;&quot;&gt;Nltest.exe /dsgetsite&lt;/span&gt;&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
************************************************&lt;br /&gt;
Get DFS server list for computer on which you&#39;re running this command:&lt;br /&gt;
&lt;em&gt;&lt;strong&gt;&lt;span style=&quot;background-color: #666666; color: white;&quot;&gt;dfsutil /pktinfo&lt;/span&gt;&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: inherit; mso-ansi-language: EN-US;&quot;&gt;This is it for today. Have fun!&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lukastechblog.blogspot.com/feeds/3921150997289500982/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lukastechblog.blogspot.com/2011/06/useful-command-prompt-cmd-and.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/455527173073783378/posts/default/3921150997289500982'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/455527173073783378/posts/default/3921150997289500982'/><link rel='alternate' type='text/html' href='http://lukastechblog.blogspot.com/2011/06/useful-command-prompt-cmd-and.html' title='Useful Command prompt (CMD) and PowerShell commands'/><author><name>luka</name><uri>http://www.blogger.com/profile/01694715765525499386</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-455527173073783378.post-4874934870923836502</id><published>2011-04-14T12:32:00.000+02:00</published><updated>2012-11-09T09:00:32.455+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="exchange 2010 outlook oof oab"/><title type='text'>Problems connecting to Exchange 2010 from different AD</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Not while ago we suggested to our customer that has few other companies to merge all email traffic to one Exchange 2010 server. The plan is that all users use email addresses from their original company. This setup would be like some kind of email hosting. After we migrated first of this external companies to centralized mail server we encountered strange behavior on merged company client side.&lt;br /&gt;
&lt;br /&gt;
External company has few users that use Outlook 2007, just like all other users, with a difference that they can&#39;t open Out Of Office Assistant (OOF). If they open this wizard they receive this error:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;&quot;Your Out of Office settings cannot be displayed, because the server is currently unavailable. Try again later.&quot;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
They also receive Offline Address Book (OAB) synchronization error: &lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;&quot;Task &#39;Microsoft Exchange&#39; reported error (0x8004010f): &#39;The operation failed. An object could not be found.&#39;&quot;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
I started troubleshooting this problem and tried all sorts of suggested solutions that I could found on Google. Steps that didn’t help were:&lt;br /&gt;
- checked if there is a proxy problem&lt;br /&gt;
- check permissions inheritance in AD on problematic users &lt;br /&gt;
- reapplied permissions inheritance on problematic users &lt;br /&gt;
- created new user from problematic user (copy) and tested new user. New user doesn&#39;t have these problems&lt;br /&gt;
- other user, except problematic ones, on the same computer doesn&#39;t have problems&lt;br /&gt;
- problematic user have problems on different computers&lt;br /&gt;
- created new mailbox store, move test user there and test if it works&lt;br /&gt;
- checked Exchange autodiscovery&lt;br /&gt;
&lt;br /&gt;
Then I noticed something that pointed me to what could be wrong, but still couldn’t solve the problem. When I deleted user, created new one (with the same username) and attached old orphaned mailbox everything worked well until I:&lt;br /&gt;
- Unchecked &quot;Automatically update e-mail addresses based on e-mail address policy.&quot;&lt;br /&gt;
- Set primary email address from name.surname @ domainA.com to name.surname @ domainB.com &lt;br /&gt;
&lt;br /&gt;
After I made this change problem came back. If I apply the setting &quot;Automatically update e-mail addresses based on e-mail address policy.&quot; back the problem remains. &lt;br /&gt;
&lt;br /&gt;
I was so desperate at this point that I went sniffing Outlook traffic with &lt;a href=&quot;http://www.wireshark.org/&quot;&gt;WireShark&lt;/a&gt;. After this I finally found out what is going on and prepared a workaround. It looks like autodiscovery messes up Outlook to the point that it thinks that OAB and OOF is located on different address (in our case domainB.com) as other services. I’m not quite sure if this is an Exchange 2010/Outlook bug or my misconfiguration.&lt;br /&gt;
&lt;br /&gt;
Workround goes like this:&lt;br /&gt;
For existing user:&lt;br /&gt;
- change primary email address of a user back to original domain (name.surname @ domainA.com)&lt;br /&gt;
- create new profile in Outlook and open Outlook to setup/initialize new profile and wait to receive few emails &lt;br /&gt;
- check if OOF and OAB are working&lt;br /&gt;
- close Outlook&lt;br /&gt;
- change primary email address of a user back to hosted domain (name.surname @ domainB.com)&lt;br /&gt;
- check if OOF and OAB still works&lt;br /&gt;
&lt;br /&gt;
For new user:&lt;br /&gt;
- leave primary email address as given by Exchange policy (name.surname @ domainA.com)&lt;br /&gt;
- create new profile in Outlook and open Outlook to setup/initialize new profile and wait to receive few emails&lt;br /&gt;
- check if OOF and OAB are working&lt;br /&gt;
- close Outlook&lt;br /&gt;
- change primary email address of a user to hosted domain (name.surname @ domainB.com)&lt;br /&gt;
- check if OOF and OAB still works&lt;br /&gt;
&lt;br /&gt;
Customer is now happy and so am I :)&lt;br /&gt;
&lt;br /&gt;
This is it for today. Have fun!&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://lukastechblog.blogspot.com/feeds/4874934870923836502/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lukastechblog.blogspot.com/2011/04/problems-connecting-to-exchange-2010.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/455527173073783378/posts/default/4874934870923836502'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/455527173073783378/posts/default/4874934870923836502'/><link rel='alternate' type='text/html' href='http://lukastechblog.blogspot.com/2011/04/problems-connecting-to-exchange-2010.html' title='Problems connecting to Exchange 2010 from different AD'/><author><name>luka</name><uri>http://www.blogger.com/profile/01694715765525499386</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-455527173073783378.post-6907980960558998498</id><published>2011-04-06T18:14:00.003+02:00</published><updated>2011-04-06T21:50:52.250+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="error remove printer driver windows 7"/><title type='text'>Unable to remove printer driver from Windows 7</title><content type='html'>I was contacted by a customer few days ago with yet another challanging problem. He called and said: “Luka hi, we can&#39;t upgrade or remove some printer drivers from&amp;nbsp;one third of our Windows 7 x64 SP1 machines.” &lt;br /&gt;
&lt;br /&gt;
The error message when we tried to remove different printer driver packages was:&lt;br /&gt;
Failed to remove driver HP Universal Printing PCL 6 (v5.2). The specified printer driver is currently in use. &lt;br /&gt;
Failed to remove driver HP Universal Printing PCL 6. The specified printer driver is currently in use. &lt;br /&gt;
Failed to remove package hpcu111u.inf. Driver package is in use.&lt;br /&gt;
&lt;br /&gt;
and&lt;br /&gt;
&lt;br /&gt;
Failed to remove driver Kyocera Classic Universaldriver. The specified printer driver is currently in use. &lt;br /&gt;
Failed to remove package oemsetup.inf. Driver package is in use.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I started &lt;strong&gt;troubleshooting&lt;/strong&gt; this and tried almost all suggested solutions I could found on the net like:&lt;br /&gt;
- stop / start spooler&lt;br /&gt;
- reboot to safemode and unistall driver from there&lt;br /&gt;
- msconfig disabling all non Microsoft services&lt;br /&gt;
- cleanspl.exe&lt;br /&gt;
- logged on as every user, deleted both the printer and the driver&lt;br /&gt;
- disabling bidirectional support&lt;br /&gt;
- RUNDLL32 PRINTUI.DLL,PrintUIEntry /dd /c \\MachineName /m &quot;AGFA-AccuSet v52.3&quot; /h &quot;Intel&quot;&lt;br /&gt;
- printui /s /t2&lt;br /&gt;
- MS forum post: &lt;a href=&quot;http://social.technet.microsoft.com/Forums/en/itprovistaprinting/thread/14994b03-7549-4dcc-820c-2076402f7ee2&quot;&gt;Deleting Printer drivers from Vista system&lt;/a&gt;&amp;nbsp; &lt;br /&gt;
- MS Answers question: &lt;a href=&quot;http://answers.microsoft.com/en-us/windows/forum/windows_7-hardware/trying-to-un-ininstall-print-driver-error-message/b478c408-6175-462d-96d0-5be56e61a7de&quot;&gt;Trying to un-ininstall print driver error message ...&lt;/a&gt; &lt;br /&gt;
- Skidzopedia post: &lt;a href=&quot;http://www.skidzopedia.com/2009/04/06/how-to-fix-cannot-remove-or-delete-network-printer-error-in-windows/&quot;&gt;How To Fix “Cannot remove or delete network printer” Error in Windows&lt;/a&gt;&amp;nbsp; &lt;br /&gt;
- and probably other solutions that also didn&#39;t help ...&lt;br /&gt;
&lt;br /&gt;
At the end &lt;strong&gt;I found interesting workaround&lt;/strong&gt; that went like this:&lt;br /&gt;
1. First I removed printer in &quot;Devices and Printers&quot;&lt;br /&gt;
2. Then I stopped print spooler&lt;br /&gt;
3. In registry I opened &lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;HKLM\SYSTEM\CurrentControlSet\Control\Print\Environments\Windows x64\Print Processors\&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
4. I renamed all Print Processors that were listed. Like Winprint to Winprint.old, Hpcpp107 to Hpcpp107.old, and so on ...&lt;br /&gt;
5. I started print spooler&lt;br /&gt;
6. Removed problematic driver pack in Print Management MMC&lt;br /&gt;
7. Reopened registry location &lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;HKLM\SYSTEM\CurrentControlSet\Control\Print\Environments\Windows x64\Print Processors\&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
8. Renamed back all Print Processors to original name. Like Winprint.old to Winprint, Hpcpp107.old to Hpcpp107, and so on ...&lt;br /&gt;
9. Restart print spooler&lt;br /&gt;
10. Installed new printer drivers&lt;br /&gt;
11. Tested printing&lt;br /&gt;
&lt;br /&gt;
Maybe this procedure will also help someone else with similar problems :)&lt;br /&gt;
&lt;br /&gt;
This is it for today. Have fun!</content><link rel='replies' type='application/atom+xml' href='http://lukastechblog.blogspot.com/feeds/6907980960558998498/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lukastechblog.blogspot.com/2011/04/unable-to-remove-printer-driver-from.html#comment-form' title='56 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/455527173073783378/posts/default/6907980960558998498'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/455527173073783378/posts/default/6907980960558998498'/><link rel='alternate' type='text/html' href='http://lukastechblog.blogspot.com/2011/04/unable-to-remove-printer-driver-from.html' title='Unable to remove printer driver from Windows 7'/><author><name>luka</name><uri>http://www.blogger.com/profile/01694715765525499386</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>56</thr:total></entry><entry><id>tag:blogger.com,1999:blog-455527173073783378.post-4396951508108463856</id><published>2011-02-12T16:30:00.006+01:00</published><updated>2011-02-13T12:30:41.067+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="mozilla firefox enterprise deployment batch"/><title type='text'>This should be an easy task (push install Mozilla Firefox 3.6.x)</title><content type='html'>&lt;span style=&quot;font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;Not while ago one of our partners gave me, what was supposed to be an easy task. He said: “Please help us install Mozilla Firefox on all our computers”. No problemo, I said. You have Script Logic &lt;/span&gt;&lt;a href=&quot;http://www.scriptlogic.com/products/desktopauthority/&quot;&gt;&lt;span style=&quot;font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;Desktop Authority&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt; which is great for these kinds of tasks and Firefox also shouldn’t be a problem. How wrong could I be?&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;My objectives were:&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;- Preconfigure Firefox homepage to predefined web site&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;- Preconfigure Firefox so it won’t use proxy&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;- Do not configure Firefox as default browser. Do not ask to become default browser.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;- Disable automatic updates Firefox.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;After Googling for a while I found numerous blogs, notes and hints how to accomplish this task but no complete solution. The most useful links I found are &lt;/span&gt;&lt;a href=&quot;http://mike.kaply.com/2010/06/18/customizing-the-firefox-installer-on-windows/&quot;&gt;&lt;span style=&quot;font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;Mike’s Musings&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;, &lt;/span&gt;&lt;a href=&quot;http://olex.openlogic.com/wazi/2008/how-to-customize-the-firefox-3-installer-for-the-enterprise/&quot;&gt;&lt;span style=&quot;font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;Glen Bettridge&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;, &lt;/span&gt;&lt;a href=&quot;http://ilias.ca/blog/2005/03/locking-mozilla-firefox-settings/&quot;&gt;&lt;span style=&quot;font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;Chris Ilias&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt; and &lt;/span&gt;&lt;a href=&quot;http://varun21.blogspot.com/2006/12/firefox-enterprise-deployment-guide.html&quot;&gt;&lt;span style=&quot;font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;Shivanand Sharm’s&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt; blogs.&amp;nbsp; Mozilla Firefox turned out to be quite difficult to roll out and preconfigure.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;For these task to accomplish I had one virtual Windows 7 to test on, Windows 2008 R2 AD servers, Windows 2008 R2 member server with Script Logic Desktop Authority. I also installed &lt;/span&gt;&lt;a href=&quot;http://www.7-zip.org/&quot;&gt;&lt;span style=&quot;font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;7zip&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt; on test computer and added 7zip install folder to Windows PATH.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;1. Prepare batch file to install Firefox&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;To script Firefox installation we need three files:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;- FirefoxDeploy.ini&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;- Install_Firefox.cmd and &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;- Later also FirefoxSalus.exe&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;All these files should be copied to network share from where you’ll push installation.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;- In &lt;strong&gt;FirefoxDeploy.ini&lt;/strong&gt; is:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;[Install]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;InstallDirectoryName=Mozilla&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;FirefoxCloseAppNoPrompt=true&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;QuickLaunchShortcut=false&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;DesktopShortcut=true&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;StartMenuShortcuts=true&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;StartMenuDirectoryName=Firefox&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;- In &lt;strong&gt;Install_Firefox.cmd&lt;/strong&gt; is:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;REM x32 install Mozilla FireFox&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;IF NOT EXIST &quot;C:\Program Files\Mozilla\firefox.exe&quot; (&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;pushd \\SALFS\InstallPoint\FireFox&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;FirefoxSalus.exe /INI=\\SALFS\InstallPoint\FireFox\FirefoxDeploy.ini&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;popd&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;&lt;strong&gt;2. Preconfigure Firefox home page and proxy&lt;/strong&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;- Unpack Firefox installer to some temp folder&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;- Change folder previously unpacked installer folder .\Firefox Setup 3.6.13\nonlocalized\ and cerate file named &lt;strong&gt;mozilla.txt&lt;/strong&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;- Open &lt;strong&gt;mozilla.txt&lt;/strong&gt; and put these lines in it:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;//&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;lockPref(&quot;network.proxy.type&quot;, 0);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;lockPref(&quot;browser.startup.homepage&quot;, &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;a href=&quot;http://www.hoponbike.com/&quot;&gt;http://www.Hoponbike.com/&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;);&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;- Download program &lt;/span&gt;&lt;a href=&quot;http://home.comcast.net/~dabbink/dabbink/ByteShifter.htm&quot;&gt;&lt;span style=&quot;font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;ByteShifter&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;&amp;nbsp;and encode &lt;strong&gt;Mozilla.txt&lt;/strong&gt; to &lt;strong&gt;Mozilla.cfg&lt;/strong&gt; by simple “byte-shifting” with an offset of 13.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjH9ppwNkAv9VFvIH-fLVGRaBol5a3rPzJhG2vRssngk69WcE2awdfP3T8mekpPUK7ROOEPESoVcgM9ACNAlDpIctj7rh4LCr2vGpP0fPvSfcv3D5_Z7I-god6bO4Ew0T4wjaswA3HUmXo/s1600/ByteShifter.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; h5=&quot;true&quot; height=&quot;235&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjH9ppwNkAv9VFvIH-fLVGRaBol5a3rPzJhG2vRssngk69WcE2awdfP3T8mekpPUK7ROOEPESoVcgM9ACNAlDpIctj7rh4LCr2vGpP0fPvSfcv3D5_Z7I-god6bO4Ew0T4wjaswA3HUmXo/s320/ByteShifter.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;- Copy &lt;strong&gt;Mozilla.cfg&lt;/strong&gt; to unpacked installer folder where &lt;strong&gt;Firefox.exe&lt;/strong&gt; is.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;- At the end of file named &lt;strong&gt;all.js&lt;/strong&gt; located in unzipped installer folder &quot;.\Firefox Setup 3.6.13\nonlocalized\greprefs\&quot; add this line:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;pref(&quot;general.config.filename&quot;, &quot;mozilla.cfg&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;Preconfigure Firefox to skip default browser checking and automatic updating&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;- Find file named &lt;strong&gt;firefox.js&lt;/strong&gt; in unzipped installer folder &quot;.\Firefox Setup 3.6.13\nonlocalized\defaults\pref\” and change these:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;pref(&quot;browser.shell.checkDefaultBrowser&quot;, false);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;pref(&quot;app.update.enabled&quot;, false);&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;3. Repackage Firefox and create installer&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;- Repackage installer by first zipping changes you made. To do this open command line and change directory to the root of unzipped installer folder. Enter these command to create a file called &lt;strong&gt;app.7z&lt;/strong&gt;:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;7z a -r -t7z app.7z -mx -m0=BCJ2 -m1=LZMA:d24 -m2=LZMA:d19 -m3=LZMA:d19 -mb0:1 -mb0s1:2 -mb0s2:3&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;- Download file &lt;/span&gt;&lt;a href=&quot;http://mxr.mozilla.org/mozilla1.9.2/source/other-licenses/7zstub/firefox/7zSD.sfx&quot;&gt;&lt;span style=&quot;font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;7zSD.sfx&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt; needed to repackage installer and save it to the root of unzipped installer folder.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;- Create file named &lt;strong&gt;app.tag&lt;/strong&gt;, also in the root of unzipped installer folder and put in it these lines:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;;!@Install@!UTF-8!&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Title=&quot;Mozilla Firefox&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;RunProgram=&quot;setup.exe&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;;!@InstallEnd@!&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;- Repackage installer by executing this command:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;copy /B 7zSD.sfx+app.tag+app.7z FirefoxSalus.exe&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;- Copy newly created installer FirefoxSalus.exe to your install point folder.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;So this is it, now you’re ready to test your Mozilla Firefox deployment on small group of computers with a help of Group policy or some other method. I personally did it with Script Logic Desktop Authority.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;This is it for today. Have fun!&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://lukastechblog.blogspot.com/feeds/4396951508108463856/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lukastechblog.blogspot.com/2011/02/this-should-be-easy-task-push-install.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/455527173073783378/posts/default/4396951508108463856'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/455527173073783378/posts/default/4396951508108463856'/><link rel='alternate' type='text/html' href='http://lukastechblog.blogspot.com/2011/02/this-should-be-easy-task-push-install.html' title='This should be an easy task (push install Mozilla Firefox 3.6.x)'/><author><name>luka</name><uri>http://www.blogger.com/profile/01694715765525499386</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjH9ppwNkAv9VFvIH-fLVGRaBol5a3rPzJhG2vRssngk69WcE2awdfP3T8mekpPUK7ROOEPESoVcgM9ACNAlDpIctj7rh4LCr2vGpP0fPvSfcv3D5_Z7I-god6bO4Ew0T4wjaswA3HUmXo/s72-c/ByteShifter.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-455527173073783378.post-3413405451580364177</id><published>2010-12-13T17:55:00.000+01:00</published><updated>2010-12-13T17:55:25.611+01:00</updated><title type='text'>Where are my desktop icons?</title><content type='html'>&lt;span style=&quot;font-family: inherit;&quot;&gt;It happened again :( About a week ago I installed Windows 7 on my laptop, this time x64 version, and today it happened again. Some of my desktop icons, more exactly broken links, disappeared.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;These happened to me before, when I installed my first Windows 7. I noticed that my icons keep disappearing. Until I found a &lt;/span&gt;&lt;a href=&quot;http://social.answers.microsoft.com/Forums/en-US/w7security/thread/594296e1-95a2-4777-9833-dc5cf3dce6fe&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;solution&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;. Don’t be afraid this is not a virus, neither a spyware but it’s a feature of Windows 7 diagnostic task.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;To resolve this issue open Task Scheduler with administrative rights (Start-All Programs-Accessories- System Tools).&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJkQetwSdw0uOl0ZYXzCY0wAD9UGgveWOysoO4DW_BQWhumvdzAVC1fIMHpbsnAOtWUSnfCxPLdlIwxs2fHa71U_-klh2CN_AvsfXhhlhoMGCsPlSBwGJe6AZ4eyc6leccG67YrCSZ2MI/s1600/d1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; n4=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJkQetwSdw0uOl0ZYXzCY0wAD9UGgveWOysoO4DW_BQWhumvdzAVC1fIMHpbsnAOtWUSnfCxPLdlIwxs2fHa71U_-klh2CN_AvsfXhhlhoMGCsPlSBwGJe6AZ4eyc6leccG67YrCSZ2MI/s400/d1.jpg&quot; width=&quot;277&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;﻿&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: inherit; mso-ansi-language: EN-US;&quot;&gt;Expand the tree of Task Scheduler to Diagnostic (Task Scheduler-Task Scheduler Library-Microsoft-Windows-Diagnosis).&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBl77Qugi3iz_z1X8YPlrHMUcS5mUplqkvy3nb_kjnqTR2S_zgXZ8zCGQqOj93olg-VgOexDUkbwVcto5d-WaZCfQgKYbL40n77CkkEBZUYBNg5cj8jPMv6_O2eVRYeQnJwo0dM64X3Q8/s1600/d3.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;172&quot; n4=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBl77Qugi3iz_z1X8YPlrHMUcS5mUplqkvy3nb_kjnqTR2S_zgXZ8zCGQqOj93olg-VgOexDUkbwVcto5d-WaZCfQgKYbL40n77CkkEBZUYBNg5cj8jPMv6_O2eVRYeQnJwo0dM64X3Q8/s400/d3.jpg&quot; width=&quot;400&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: inherit; mso-ansi-language: EN-US;&quot;&gt;Right click on scheduled task and click Disable.&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;img border=&quot;0&quot; n4=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEionfokDeQpJ9DLAYopivZyBpe7N_Rc03At_mYw27JH4dFVltAq6a4GUxCbmVP4OSBB2LGSKS9nruKfi57sKH-WvXNOXDHmonNiEjv4C17Lp5OZAchFul-4ElHxRXxu62mus0XQr-OXJlM/s1600/d2.jpg&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Simple as that, and no more disappearing icons :)&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;This is it for today. Have fun!&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lukastechblog.blogspot.com/feeds/3413405451580364177/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lukastechblog.blogspot.com/2010/12/where-are-my-desktop-icons.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/455527173073783378/posts/default/3413405451580364177'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/455527173073783378/posts/default/3413405451580364177'/><link rel='alternate' type='text/html' href='http://lukastechblog.blogspot.com/2010/12/where-are-my-desktop-icons.html' title='Where are my desktop icons?'/><author><name>luka</name><uri>http://www.blogger.com/profile/01694715765525499386</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJkQetwSdw0uOl0ZYXzCY0wAD9UGgveWOysoO4DW_BQWhumvdzAVC1fIMHpbsnAOtWUSnfCxPLdlIwxs2fHa71U_-klh2CN_AvsfXhhlhoMGCsPlSBwGJe6AZ4eyc6leccG67YrCSZ2MI/s72-c/d1.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-455527173073783378.post-491816804603609470</id><published>2010-12-12T19:55:00.005+01:00</published><updated>2012-03-02T09:36:17.265+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="windows 2000 p2v VMware Converter bsod Scsiport.sys"/><title type='text'>Virtualizing Windows 2000 server (P2V)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Last week a customer called and said that a disk died in an old Dell PowerEdge 1500SC server with Windows 2000 installed. Since this is a really old server, my estimation is about 8 years, the best solution was to virtualize it. This was also my suggestion for the customer. They agreed and I started working.&lt;br /&gt;
&lt;br /&gt;
At the beginning I didn’t prepare much since I made numerous P2V migrations with VMware Converter in my career without any problems, but none of it involved Windows 2000. I prepared server and network like I usually do:&lt;br /&gt;
- I checked latest full server backup.&lt;br /&gt;
- Installed and connected temporary Gigabit switch (pluged in server and my laptop which have VMware vCenter Converter Standalone Client installed).&lt;br /&gt;
- Wrote down IP settings (ipconfig /all).&lt;br /&gt;
- Stopped / disabled all unnecessary services and wrote down their names and startup type. We wanted to control services startup. I also stopped and disabled all Dell management agents and AV software.&lt;br /&gt;
&lt;br /&gt;
After server was prepared I started VMware Converter and run P2V wizard as described in my &lt;a href=&quot;http://lukastechblog.blogspot.com/2010/12/virtualization-and-san-upgrade-on.html&quot;&gt;previous blog&lt;/a&gt;. &lt;br /&gt;
&lt;br /&gt;
During this wizard I was asked to point to newer version of Scsiport.sys file. My current version was 5.0.2195.7017 and I needed 5.0.2195.7059. I started searching and found it on some other W2k server. I pointed a wizard to this file and moved forward. After two hours server was virtualized and ready to start. &lt;br /&gt;
&lt;br /&gt;
Before booting virtual machine I always change Power On Boot Delay parameter to value 9000 in Virtual Machine Properties. I do it because I don&#39;t like catching ESX at boot to choose whatever boot parameter I need.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhsGavk3tbwnBwC0yPDgSsw5021pwo0fF8UssmKOdq9vQJ5p_soGOqdUQif2VtYscwe-JIAC-CvpMMKKKg_ozIM2JlI-ni-NbJQGvcN1EJoT6fgQjg6_MPY4cGE4hJOQC2uVX6k8GBtvI/s1600/blog10.jpg&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5548003711079527986&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhsGavk3tbwnBwC0yPDgSsw5021pwo0fF8UssmKOdq9vQJ5p_soGOqdUQif2VtYscwe-JIAC-CvpMMKKKg_ozIM2JlI-ni-NbJQGvcN1EJoT6fgQjg6_MPY4cGE4hJOQC2uVX6k8GBtvI/s400/blog10.jpg&quot; style=&quot;cursor: pointer; display: block; height: 353px; margin: 0px auto 10px; text-align: center; width: 400px;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
Dammit, Blue Screen or so called BSOD! It says STOP: 0x0000001E (0xC0000005,0x804a6467,0x00000000,0x000000B0).&lt;br /&gt;
&lt;br /&gt;
I checked on Google and quickly found out that the problem is in Scsiport.sys driver. Quote from MS &lt;a href=&quot;http://support.microsoft.com/kb/904374&quot;&gt;KB904374&lt;/a&gt;: “This problem occurs because of a code problem in the Scsiport.sys driver that is included in Update Rollup 1 for Windows 2000 SP4”. I also found this two other links: &lt;a href=&quot;http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&amp;amp;cmd=displayKC&amp;amp;externalId=1879&quot;&gt;KB Article 1879&lt;/a&gt; and &lt;a href=&quot;http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&amp;amp;cmd=displayKC&amp;amp;externalId=1005208&quot;&gt;KB Article 1005208&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Here is few suggestions for solving this issue that I found but didn’t help:&lt;br /&gt;
1. Injecting SCSI controller device drivers into Windows (&lt;a href=&quot;http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&amp;amp;cmd=displayKC&amp;amp;externalId=1005208&quot;&gt;VMware KB 1005208&lt;/a&gt;). I tried it and it didn’t help. &lt;br /&gt;
2. I also tried changing Scsiport.sys with some older and newer versions and didn’t help either. I did this by booting virtualized server from &lt;a href=&quot;http://www.ultimatebootcd.com/&quot;&gt;Ultimate Boot CD&lt;/a&gt; and copying the files to proper location on server’s hard disk.&lt;br /&gt;
3. I downloaded and extracted Hotfix from &lt;a href=&quot;http://support.microsoft.com/kb/904374&quot;&gt;KB904374&lt;/a&gt; and copied files to virtualized server. Didn’t help.&lt;br /&gt;
4. I changed SCSI controller from BusLogic to LSI Logic and got different error “STOP 0x0000007B INACCESSIBLE_BOOT_DEVICE”.&lt;br /&gt;
&lt;br /&gt;
The solution that worked was:&lt;br /&gt;
1. I installed hotfix from KB904374 to original server.&lt;br /&gt;
2. I also installed VMware SCSI controller driver to original server. I did this:&lt;br /&gt;
&amp;nbsp;&amp;nbsp; a. Download the VMware SCSI Disk &lt;a href=&quot;http://download3.vmware.com/software/vmscsi-1.2.0.4.flp&quot;&gt;Controller driver floppy&lt;/a&gt;.&lt;br /&gt;
&amp;nbsp;&amp;nbsp; b. Extract with vmscsi-1.2.0.4.flp with &lt;a href=&quot;http://www.7-zip.org/&quot;&gt;7zip &lt;/a&gt;to original server.&lt;br /&gt;
&amp;nbsp;&amp;nbsp; c. Start “Add new hardware” from Control panel.&lt;br /&gt;
&amp;nbsp;&amp;nbsp; d. Add new SCSI device and point to extracted files.&lt;br /&gt;
3. Repeat server prepare steps and start P2V wizard from VMware Converter.&lt;br /&gt;
4. Boot virtualized server and “Voila” Windows 2000 virtualized server is now booting.&lt;br /&gt;
&lt;br /&gt;
After successful first boot I prepared virtualized machine as described in my previous &lt;a href=&quot;http://lukastechblog.blogspot.com/2010/12/virtualization-and-san-upgrade-on.html&quot;&gt;blog&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Next time I’ll do P2V of something for the first time I’ll probably Google first ;)&lt;br /&gt;
&lt;br /&gt;
This is it. Have fun!&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lukastechblog.blogspot.com/feeds/491816804603609470/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lukastechblog.blogspot.com/2010/12/virtualizing-windows-2000-server-p2v.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/455527173073783378/posts/default/491816804603609470'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/455527173073783378/posts/default/491816804603609470'/><link rel='alternate' type='text/html' href='http://lukastechblog.blogspot.com/2010/12/virtualizing-windows-2000-server-p2v.html' title='Virtualizing Windows 2000 server (P2V)'/><author><name>luka</name><uri>http://www.blogger.com/profile/01694715765525499386</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhsGavk3tbwnBwC0yPDgSsw5021pwo0fF8UssmKOdq9vQJ5p_soGOqdUQif2VtYscwe-JIAC-CvpMMKKKg_ozIM2JlI-ni-NbJQGvcN1EJoT6fgQjg6_MPY4cGE4hJOQC2uVX6k8GBtvI/s72-c/blog10.jpg" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-455527173073783378.post-7378746783963300858</id><published>2010-12-01T11:27:00.022+01:00</published><updated>2010-12-07T19:29:51.274+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="windows 2003 cluster p2v san migration"/><title type='text'>Virtualization and SAN upgrade on Windows 2003 cluster (part 2)</title><content type='html'>In my previous blog I described how we migrated data from our old SAN to new one. In this blog I’ll describe how we virtualized (P2V) two cluster nodes from HP physical machines to VMware ESX 4 virtual environment.&lt;br /&gt;&lt;br /&gt;So let’s go straight to the point. Before the actual virtualization we prepared a short plan how we’re gonna do it without too much impact on this 24/7 production environment. Our steps were:&lt;br /&gt;- We informed users that there may be some troubles on the network.&lt;br /&gt;- We prepared server environment.&lt;br /&gt;- P2V virtualization of cluster nodes.&lt;br /&gt;&lt;br /&gt;There is not much to talk about informing the users. The usually don’t read notifications and they always complain that they didn’t receive one.&lt;br /&gt; &lt;br /&gt;The preparation of server environment was done like this:&lt;br /&gt;- We assigned appropriate &lt;a href=&quot;http://www.ehow.com/how_6907811_add-lun-vmware-esx.html&quot;&gt;LUNs to VMware servers&lt;/a&gt;. &lt;br /&gt;- We backed up both cluster nodes.&lt;br /&gt;- We wrote down IP settings (ipconfig /all)&lt;br /&gt;- We migrated all cluster resources to one node (Node1).&lt;br /&gt;- We installed VMware vCenter Converter Standalone Client to one of the computers with Gigabit Ethernet.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgR6fB5Hv5QaD-9ofMjdEkvicpcFnXRFRygn7zoUOU3Yf4Ouf69L7OxS55rjiH2yXc6OkXvO0NllxP9sl-Wl4KgXWjYBNLaVXdoohtWJNEC5oi-L8TtK_IKAwiP5y-O8fc09wV8O1S85No/s1600/blog1.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 256px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgR6fB5Hv5QaD-9ofMjdEkvicpcFnXRFRygn7zoUOU3Yf4Ouf69L7OxS55rjiH2yXc6OkXvO0NllxP9sl-Wl4KgXWjYBNLaVXdoohtWJNEC5oi-L8TtK_IKAwiP5y-O8fc09wV8O1S85No/s400/blog1.jpg&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5548001705262090706&quot; /&gt;&lt;/a&gt;&lt;br /&gt;After all this was done, we started virtualizing Windows 2003 cluster servers. &lt;br /&gt;- We &lt;a href=&quot;http://www.experts-exchange.com/Software/VMWare/A_3639-VMware-vConverter-P2V-for-Windows-Servers.html&quot;&gt;stopped / disabled all unnecessary services&lt;/a&gt; and wrote down their names and startup type. It is very important to stop and disable Cluster Service, because we don’t want it to accidently start after server is virtualized and not yet configured. We wanted to control services startup.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgosdG3oh3XvOxFRRWTQQ_-YC7lBd-NoI4vOihGXTfCaOZtyQ__q1od_nBpOHf6doWevjgUQstJFpWX-QbqQqQwQ3HO8MtN2HFVNORk3LYjHJhg0RsvkHErwfW2sLa3IZ0_pHm2gKjhOVw/s1600/blog2.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 353px; height: 400px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgosdG3oh3XvOxFRRWTQQ_-YC7lBd-NoI4vOihGXTfCaOZtyQ__q1od_nBpOHf6doWevjgUQstJFpWX-QbqQqQwQ3HO8MtN2HFVNORk3LYjHJhg0RsvkHErwfW2sLa3IZ0_pHm2gKjhOVw/s400/blog2.jpg&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5548001944473956898&quot; /&gt;&lt;/a&gt;&lt;br /&gt;- We also stopped and disabled all HP management agents and AV software.&lt;br /&gt;&lt;br /&gt;After server was prepared we started VMware Converter and run P2V wizard.&lt;br /&gt;- Choose the server we wanted to virtualize.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3FvzYyCECgnoeP3vwa4mRkao4wD8suv-zoZ8dW_G7w0ky6-JmYCTSttwqL2l1hzA3Dr-bE9alNVb6VnA5YHl-ChBBD__yM5WLQjpPru65HevmV91wtwYkK4SSO22cIfQx7VAfteelfis/s1600/blog3.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 313px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3FvzYyCECgnoeP3vwa4mRkao4wD8suv-zoZ8dW_G7w0ky6-JmYCTSttwqL2l1hzA3Dr-bE9alNVb6VnA5YHl-ChBBD__yM5WLQjpPru65HevmV91wtwYkK4SSO22cIfQx7VAfteelfis/s400/blog3.jpg&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5548002433004379042&quot; /&gt;&lt;/a&gt;&lt;br /&gt;- Choose the destination server&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJwzXviX5HLywuz8YW5dAXeiMeIKxCCX89pTRj1tN9LOal4oaqGV8m1VVXwMzSXEM9JKcrvUby45zc8cCCaSewcu9eEkVifG8JhOMpMI_sZf7DPeCBIS9ER-jS9FLabcH5yG08Hm5eImA/s1600/blog4.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 313px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJwzXviX5HLywuz8YW5dAXeiMeIKxCCX89pTRj1tN9LOal4oaqGV8m1VVXwMzSXEM9JKcrvUby45zc8cCCaSewcu9eEkVifG8JhOMpMI_sZf7DPeCBIS9ER-jS9FLabcH5yG08Hm5eImA/s400/blog4.jpg&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5548002634203229122&quot; /&gt;&lt;/a&gt;&lt;br /&gt;- Enter the name of the virtual machine&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQw5LCtObOc1UTibCqA5Boo-nbddU4BPF69VNkp1DbY4hrKx_6GCmMHbxw333FRxt1KwiJvjqgorLLtd__p3-7vUdjHGtC52t6caQOyX_Z2BwnktEv8q_Yji41KP_2cjj0MyPumjonDNY/s1600/blog5.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 313px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQw5LCtObOc1UTibCqA5Boo-nbddU4BPF69VNkp1DbY4hrKx_6GCmMHbxw333FRxt1KwiJvjqgorLLtd__p3-7vUdjHGtC52t6caQOyX_Z2BwnktEv8q_Yji41KP_2cjj0MyPumjonDNY/s400/blog5.jpg&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5548002887765246530&quot; /&gt;&lt;/a&gt;&lt;br /&gt;- Choose datastore and virtual machine version&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgCN0eGiHFga_008RUkGPV19-GHV5bqfr6y67bCbb8D8IOeMjFhgAS9QJlBDZynDSoPOyl4otkDweElG-t06hEzN00mZnHIfGIRqT8Wgp-PKTTjG_qSrlS1MwEs9pMy-URVPr0c1bqz-s/s1600/blog6.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 313px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgCN0eGiHFga_008RUkGPV19-GHV5bqfr6y67bCbb8D8IOeMjFhgAS9QJlBDZynDSoPOyl4otkDweElG-t06hEzN00mZnHIfGIRqT8Wgp-PKTTjG_qSrlS1MwEs9pMy-URVPr0c1bqz-s/s400/blog6.jpg&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5548003045617462418&quot; /&gt;&lt;/a&gt;&lt;br /&gt;- Setup parameters for the conversion task. Be careful to remove unnecessary disk drives from conversion. We only need local drives and not those located on SAN.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWXKzgFEsdCvyCsuD0L2-eG-KwQXUQ-zyLMiwxZnwq7eNNvtqUM_olyeffqPrOQpB5bUz6yKXGVPyLtO8GPYGFQoqzmhJ_usKYff0l6RePxf5QPL5rDaY6fkNkQSoTjOPIMVD_9nV1jck/s1600/blog7.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 310px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWXKzgFEsdCvyCsuD0L2-eG-KwQXUQ-zyLMiwxZnwq7eNNvtqUM_olyeffqPrOQpB5bUz6yKXGVPyLtO8GPYGFQoqzmhJ_usKYff0l6RePxf5QPL5rDaY6fkNkQSoTjOPIMVD_9nV1jck/s400/blog7.jpg&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5548003207591510114&quot; /&gt;&lt;/a&gt;&lt;br /&gt;- Once again review the conversion parameters and start conversion.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMthPMgbniIrFtAtXkRYxzkjMCAYWvC2Bz7IRg1m9vEYuXd9Gav1zW4_WTkkIt5EV3unanXXwXZWDD8mdExUjd0h_L33YQ0kc2FKEOJ4UEf1eXA8VvlQRaNaQuWlg_gezvbdEj5x_tdt8/s1600/blog8.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 310px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMthPMgbniIrFtAtXkRYxzkjMCAYWvC2Bz7IRg1m9vEYuXd9Gav1zW4_WTkkIt5EV3unanXXwXZWDD8mdExUjd0h_L33YQ0kc2FKEOJ4UEf1eXA8VvlQRaNaQuWlg_gezvbdEj5x_tdt8/s400/blog8.jpg&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5548003393191384642&quot; /&gt;&lt;/a&gt;&lt;br /&gt;After conversion was done and before we started this machine we edited machine properties to add RAW hard disks and change startup delay. &lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQiTwDe5A5iVFR2NsgxfGJfuBjaGAMaa88M01pwkpsKP2NFNISJfo0wSOokYbuo208cP_EhLnFL6hhtJftROQrnTXJ834geAHt1iLoY1qDRNIqmp4DkhbmhTEJ2Coicz7UGYkJnEjUchc/s1600/blog9.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 353px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQiTwDe5A5iVFR2NsgxfGJfuBjaGAMaa88M01pwkpsKP2NFNISJfo0wSOokYbuo208cP_EhLnFL6hhtJftROQrnTXJ834geAHt1iLoY1qDRNIqmp4DkhbmhTEJ2Coicz7UGYkJnEjUchc/s400/blog9.jpg&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5548003553328263794&quot; /&gt;&lt;/a&gt;&lt;br /&gt;I always change Power On Boot Delay parameter to value 9000. I do it because I don&#39;t like catching ESX at boot to choose whatever boot parameter I need.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhsGavk3tbwnBwC0yPDgSsw5021pwo0fF8UssmKOdq9vQJ5p_soGOqdUQif2VtYscwe-JIAC-CvpMMKKKg_ozIM2JlI-ni-NbJQGvcN1EJoT6fgQjg6_MPY4cGE4hJOQC2uVX6k8GBtvI/s1600/blog10.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 353px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhsGavk3tbwnBwC0yPDgSsw5021pwo0fF8UssmKOdq9vQJ5p_soGOqdUQif2VtYscwe-JIAC-CvpMMKKKg_ozIM2JlI-ni-NbJQGvcN1EJoT6fgQjg6_MPY4cGE4hJOQC2uVX6k8GBtvI/s400/blog10.jpg&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5548003711079527986&quot; /&gt;&lt;/a&gt;&lt;br /&gt;OK, everything looks great and we were ready to start the server. But before we did it we switched off the old one! This is very important, never leave both servers running!&lt;br /&gt;&lt;br /&gt;After successful first boot we did these:&lt;br /&gt;- Installed VMwareTools.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6V9X3rY89p4nIc0uPochNXn7eXBUVgjdbQcf1cmKESsvwhezS5qZABemlqdf1nXafQQ56J-InJg4xnLIxSUsBJya8e8mSRkb28jFejT8PiUYROkk8J67O9WqmTyFIAWvcJa3GsTayY58/s1600/blog11.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 261px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6V9X3rY89p4nIc0uPochNXn7eXBUVgjdbQcf1cmKESsvwhezS5qZABemlqdf1nXafQQ56J-InJg4xnLIxSUsBJya8e8mSRkb28jFejT8PiUYROkk8J67O9WqmTyFIAWvcJa3GsTayY58/s400/blog11.jpg&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5548003874599953106&quot; /&gt;&lt;/a&gt;&lt;br /&gt;- Configured correct IP address.&lt;br /&gt;- Uninstalled HP management agents.&lt;br /&gt;- Checked and configured correct disk / SAN presentation.&lt;br /&gt;- Checked DNS just to be sure that cluster node didn’t register itself with wrong IP address.&lt;br /&gt;- Rechecked cluster communication on Node1&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhcsGqvInSHyVU0jLjgksOowQtYbk5eHwZcUfEog-oCYcj4-Fv3cM8hrfQtb9tCE3m1tRH-n3_ynOW7fCHUIUBoDLzhbkRhZxkqvL4TOjD19DVzT01AO9wOLk9LGP7KDrKdN5U0kVKpsI/s1600/blog13.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 297px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhcsGqvInSHyVU0jLjgksOowQtYbk5eHwZcUfEog-oCYcj4-Fv3cM8hrfQtb9tCE3m1tRH-n3_ynOW7fCHUIUBoDLzhbkRhZxkqvL4TOjD19DVzT01AO9wOLk9LGP7KDrKdN5U0kVKpsI/s400/blog13.jpg&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5548004152484858354&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipHsd4OaduN0XomyP78dslK5QUcyU0ybbC966Pdv3NDiBzALAr1JjpZRTnrHeRBIGlMi85kO1TMIynmtC55enVarVFAHJ65rLA_K9drhji570E37FPM5OVi9fy6Os9GLzt4C3XHl8_NqU/s1600/blog12.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 297px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipHsd4OaduN0XomyP78dslK5QUcyU0ybbC966Pdv3NDiBzALAr1JjpZRTnrHeRBIGlMi85kO1TMIynmtC55enVarVFAHJ65rLA_K9drhji570E37FPM5OVi9fy6Os9GLzt4C3XHl8_NqU/s400/blog12.jpg&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5548004144798023202&quot; /&gt;&lt;/a&gt;&lt;br /&gt;After all this was done we enabled and started services one-by-one, with Cluster Service being the last.&lt;br /&gt;&lt;br /&gt;Cluster service started successfully and we could start testing resource migration to these newly configured virtual cluster node. After we tested all resources and few days passed we virtualized the second node. We did it the same as the first one.&lt;br /&gt;&lt;br /&gt;I hope this blog will help someone at their cluster migration :)&lt;br /&gt;&lt;br /&gt;This is it. Have fun!</content><link rel='replies' type='application/atom+xml' href='http://lukastechblog.blogspot.com/feeds/7378746783963300858/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lukastechblog.blogspot.com/2010/12/virtualization-and-san-upgrade-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/455527173073783378/posts/default/7378746783963300858'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/455527173073783378/posts/default/7378746783963300858'/><link rel='alternate' type='text/html' href='http://lukastechblog.blogspot.com/2010/12/virtualization-and-san-upgrade-on.html' title='Virtualization and SAN upgrade on Windows 2003 cluster (part 2)'/><author><name>luka</name><uri>http://www.blogger.com/profile/01694715765525499386</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgR6fB5Hv5QaD-9ofMjdEkvicpcFnXRFRygn7zoUOU3Yf4Ouf69L7OxS55rjiH2yXc6OkXvO0NllxP9sl-Wl4KgXWjYBNLaVXdoohtWJNEC5oi-L8TtK_IKAwiP5y-O8fc09wV8O1S85No/s72-c/blog1.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-455527173073783378.post-8126739353133076033</id><published>2010-11-14T20:27:00.018+01:00</published><updated>2010-11-24T21:19:00.325+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="by"/><category scheme="http://www.blogger.com/atom/ns#" term="cluster"/><category scheme="http://www.blogger.com/atom/ns#" term="how"/><category scheme="http://www.blogger.com/atom/ns#" term="migration"/><category scheme="http://www.blogger.com/atom/ns#" term="SAN"/><category scheme="http://www.blogger.com/atom/ns#" term="step"/><category scheme="http://www.blogger.com/atom/ns#" term="to"/><category scheme="http://www.blogger.com/atom/ns#" term="windows"/><title type='text'>Virtualization and SAN upgrade on Windows 2003 cluster (part 1)</title><content type='html'>Recently we&#39;ve got task that is not as frequent as we&#39;d like on our territories. We needed to do virtualization and disk migration of two Windows 2003 clustered servers.&lt;br /&gt;&lt;br /&gt;So in this and in my next blog I’ll describe how we approached this delicate task, without major downtime in this 24/7 production environment.&lt;br /&gt;&lt;br /&gt;First of all we upgraded our &lt;a href=&quot;http://h18000.www1.hp.com/products/quickspecs/12476_div/12476_div.html&quot;&gt;HP DL360 g5&lt;/a&gt; servers with additional processor, RAM and FC controller for VMware cluster. We also upgraded two HP DL360 g5, running Windows 2003 cluster, with FC controller. Then we installed, configured and presented LUNs on &lt;a href=&quot;http://h18000.www1.hp.com/products/quickspecs/13187_na/13187_na.html&quot;&gt;HP StorageWorks 2024fc G2 Modular Smart Array&lt;/a&gt;. And at the end we installed &lt;a href=&quot;http://www.vmware.com/products/vsphere/small-business/&quot;&gt;VMware ESX 4.1&lt;/a&gt; cluster.&lt;br /&gt;&lt;br /&gt;So now what? We have two VMware ESX clustered servers and two Windows 2003 clustered servers, we also have &lt;a href=&quot;http://h18000.www1.hp.com/products/quickspecs/13187_ca/13187_ca.html&quot;&gt;HP MSA2024fc&lt;/a&gt; and old &lt;a href=&quot;http://h18000.www1.hp.com/products/quickspecs/11050_na/11050_na.html#Overview&quot;&gt;HP MSA500 SCSI&lt;/a&gt;. We started Googling (&lt;a href=&quot;http://www.tech-archive.net/Archive/Windows/microsoft.public.windows.server.clustering/2005-04/msg00071.html&quot;&gt;useful link&lt;/a&gt;), testing different migration strategies and at the end we decided to do it like this:&lt;br /&gt;- First we’ll migrate data from old SAN to new one (Blog - part 1).&lt;br /&gt;- Virtualize Windows cluster nodes on by one (Blog - part 2).&lt;br /&gt;&lt;br /&gt;Our MS Windows cluster has these resource groups that needed to be migrated to new disks:&lt;br /&gt;- File Server resource group&lt;br /&gt;- Print Perver resource group&lt;br /&gt;- Quorum resource group&lt;br /&gt;- MS SQL Server resource group&lt;br /&gt;- Domino Server (Lotus Notes) resource group&lt;br /&gt;&lt;br /&gt;Migrating data of different cluster resource groups from old SAN to new one was done in this order:&lt;br /&gt;&lt;strong&gt;1) Quorum&lt;/strong&gt;&lt;br /&gt;- We added new cluster resource disk named NewQuorumDisk with drive letter X:&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpX6InqwEup7lVfQtCOIbdvlzkt_njLTd9lUJAM6jmRr9dTCfILLV7UmmrY-r2JkbGuTxxO1a3TNrizDBVRFkbCMiGFJTfF-f-Np0ApZc15lxXCXHcFNKOwhVQOrGFL-AgRwAvf3yixqE/s1600/blog1.jpg&quot;&gt;&lt;img style=&quot;margin: 0px auto 10px; width: 396px; height: 233px; text-align: center; display: block; cursor: hand;&quot; id=&quot;BLOGGER_PHOTO_ID_5543201182293285074&quot; border=&quot;0&quot; alt=&quot;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpX6InqwEup7lVfQtCOIbdvlzkt_njLTd9lUJAM6jmRr9dTCfILLV7UmmrY-r2JkbGuTxxO1a3TNrizDBVRFkbCMiGFJTfF-f-Np0ApZc15lxXCXHcFNKOwhVQOrGFL-AgRwAvf3yixqE/s400/blog1.jpg&quot; /&gt;&lt;/a&gt;&lt;br /&gt;- Moved old Quorum to new resource named NewQuorumDisk like described in &lt;a href=&quot;http://support.microsoft.com/kb/280353/en-us&quot;&gt;MS KB280353&lt;/a&gt;.&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTUBVZpHl-MocJ-2IJaNbvlNHGFvWfMD1yCv_LIRFfYg-bd-4bU7i97YLIQ09aXfNnnspVrIHf-JLYxLntY8rd2hyXZ2atb5kO4-CfW3QgiI1n1L11IwXu2WoifmJpOYK1mxcs_uh-WMQ/s1600/blog2.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 297px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTUBVZpHl-MocJ-2IJaNbvlNHGFvWfMD1yCv_LIRFfYg-bd-4bU7i97YLIQ09aXfNnnspVrIHf-JLYxLntY8rd2hyXZ2atb5kO4-CfW3QgiI1n1L11IwXu2WoifmJpOYK1mxcs_uh-WMQ/s400/blog2.jpg&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5543202076161946450&quot; /&gt;&lt;/a&gt;&lt;br /&gt;- Stopped cluster resource OldQuorumDisk and delete Q: drive from the cluster&lt;br /&gt;- Opened Disk Management and change drive letter Q: to Y: and X: to Q:&lt;br /&gt;- Before migration to second cluster node we deleted OldQuorumDisk on second cluster node&lt;br /&gt;- Tested Quorum migration between nodes&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMKgbuWW72LA5nMRrc2A3ajXgD1mVXyN28m2qYtTAXLnGv6uLKoQoanecS7XlYOjp1R7sl-k5O5k0JEi-6d8eA3urDo_AJbkFQTdbEkn8-Pu1_D9ix_List3xB0NWJFOCDIDe4w_rUFy0/s1600/blog3.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 280px; height: 220px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMKgbuWW72LA5nMRrc2A3ajXgD1mVXyN28m2qYtTAXLnGv6uLKoQoanecS7XlYOjp1R7sl-k5O5k0JEi-6d8eA3urDo_AJbkFQTdbEkn8-Pu1_D9ix_List3xB0NWJFOCDIDe4w_rUFy0/s400/blog3.jpg&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5543202302551155906&quot; /&gt;&lt;/a&gt;&lt;br /&gt;- At the end we removed LUN mapping for OldQuorumDisk &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;2) File server (with as little as possible downtime)&lt;/strong&gt;&lt;br /&gt;- We notified users about migration and scheduled maintenance date and hour. &lt;br /&gt;- We added new cluster resource disk named NewFSDisk with drive letter X:&lt;br /&gt; - Started synchronizing data between OldFSDisk (S:) and NewFSDisk (X:). We did this with &lt;a href=&quot;http://en.wikipedia.org/wiki/Robocopy&quot;&gt;RoboCopy&lt;/a&gt; (&lt;a href=&quot;http://www.microsoft.com/downloads/en/details.aspx?DisplayLang=en&amp;FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd&quot;&gt;download&lt;/a&gt;) and &lt;a href=&quot;http://www.ghisler.com/&quot;&gt;Total Commander&lt;/a&gt; - Synchronize Dirs command. We repeated synchronization for a few days until the D-day.&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8KcJ0DpswNFVdHUJLRscbtTRTw2bb3Xx69tT0rEQxMvcqpfi0WAmOH5G9WfCwhAMdRGU3GZop6-P2Eed47dcw8DK5pp0ODNO_tyv5CVEHcsDTC2G9LOuZxUqkLVLMxerfZW9QYt1H7fA/s1600/blog4.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 300px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8KcJ0DpswNFVdHUJLRscbtTRTw2bb3Xx69tT0rEQxMvcqpfi0WAmOH5G9WfCwhAMdRGU3GZop6-P2Eed47dcw8DK5pp0ODNO_tyv5CVEHcsDTC2G9LOuZxUqkLVLMxerfZW9QYt1H7fA/s400/blog4.jpg&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5543203682379163842&quot; /&gt;&lt;/a&gt;&lt;br /&gt;- Made print-screens from resources in file server cluster group, just to be sure we don’t forget some settings later.&lt;br /&gt;- On scheduled maintenance we stopped all File Server resource group resources except disks.&lt;br /&gt;- We run file synchronization for the last time.&lt;br /&gt;- We checked if number of files and size in bytes are exactly the same on both disks.&lt;br /&gt;- Then we changed “Dependencies” and “Parameters” on “File Share” resource with new NewFSDisk (X:) value.&lt;br /&gt;- We also checked and if necessary replaced with NewFSDisk (X:) value all other resources in this group.&lt;br /&gt;- We stopped cluster resource OldFSDisk and deleted OldFSDisk from cluster resource.&lt;br /&gt;- In Disk Management we changed drive letters of OldFSDisk S: to Y: and NewFSDisk X: to S:&lt;br /&gt;- Then we needed to changed “Dependencies” and “Parameters” on “File Share” again to fit new lettering NewFSDisk (S:).&lt;br /&gt;- We also checked and if necessary replaced with NewFSDisk (S:) value all other resources in this group.&lt;br /&gt;- Before migration to second cluster node we also changed lettering there OldFSDisk S: to Y:&lt;br /&gt;- After all this we started all resources, checked if file sharing is OK and then we tested cluster group migration to another cluster node.&lt;br /&gt;- At the end we removed LUN mapping for OldFSDisk.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;3) Print Server disk migration is almost the same as File Server disk migration&lt;/strong&gt;&lt;br /&gt;- We added new cluster resource disk named NewPSDisk with drive letter X:&lt;br /&gt;- Made print-screens from resources in Print Server cluster group, just to be sure we don’t forget some settings later.&lt;br /&gt;- We stopped all Print Server resource group resources except disks.&lt;br /&gt;- Started synchronizing data between OldPSDisk (P:) and Print Server (X:).&lt;br /&gt;- We checked if number of files and size in bytes are exactly the same on both disks.&lt;br /&gt;- Then we changed “Dependencies” and “Parameters” on “Print Spooler” resource with new NewPSDisk (X:) value.&lt;br /&gt;- We stopped cluster resource OldPSDisk and deleted OldPSDisk from cluster resource.&lt;br /&gt;- In Disk Management we changed drive letters of OldPSDisk P: to Y: and NewPSDisk X: to P:&lt;br /&gt;- Then we changed “Dependencies” and “Parameters” on “Print Spooler” resource with new NewPSDisk (P:) value.&lt;br /&gt;- Before migration to second cluster node we also changed lettering there OldpsDisk P: to Y:&lt;br /&gt;- After all this we started all resources, checked if Print Server is OK, printers are printing and then we tested cluster group migration to another cluster node.&lt;br /&gt;- At the end we removed LUN mapping for OldFPSDisk.&lt;br /&gt;&lt;br /&gt;At the same time we also migrated MS SQL Server cluster resource group and Domino server (Lotus Notes) cluster resource group to new disks.&lt;br /&gt;&lt;br /&gt;So as you can see from this blog, changing SAN in MS clustered environment is not so hard as it seems. But in real, you’ll see ;) &lt;br /&gt;&lt;br /&gt;In my next blog, part 2 of these series, I’ll describe how we did Physical to Virtual (P2V) migratin of MS clustered servers with VMware vCenter Converter Standalone Client. &lt;br /&gt;&lt;br /&gt;I think this is enough for this one. Have fun :)</content><link rel='replies' type='application/atom+xml' href='http://lukastechblog.blogspot.com/feeds/8126739353133076033/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lukastechblog.blogspot.com/2010/11/virtualization-and-san-upgrade-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/455527173073783378/posts/default/8126739353133076033'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/455527173073783378/posts/default/8126739353133076033'/><link rel='alternate' type='text/html' href='http://lukastechblog.blogspot.com/2010/11/virtualization-and-san-upgrade-on.html' title='Virtualization and SAN upgrade on Windows 2003 cluster (part 1)'/><author><name>luka</name><uri>http://www.blogger.com/profile/01694715765525499386</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpX6InqwEup7lVfQtCOIbdvlzkt_njLTd9lUJAM6jmRr9dTCfILLV7UmmrY-r2JkbGuTxxO1a3TNrizDBVRFkbCMiGFJTfF-f-Np0ApZc15lxXCXHcFNKOwhVQOrGFL-AgRwAvf3yixqE/s72-c/blog1.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-455527173073783378.post-42195794409038668</id><published>2010-11-05T19:16:00.016+01:00</published><updated>2010-11-05T20:39:09.547+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="2008"/><category scheme="http://www.blogger.com/atom/ns#" term="7"/><category scheme="http://www.blogger.com/atom/ns#" term="group"/><category scheme="http://www.blogger.com/atom/ns#" term="policy"/><category scheme="http://www.blogger.com/atom/ns#" term="printer"/><category scheme="http://www.blogger.com/atom/ns#" term="R2"/><category scheme="http://www.blogger.com/atom/ns#" term="windows"/><category scheme="http://www.blogger.com/atom/ns#" term="wizard"/><title type='text'>Windows &quot;Add a printer&quot; wizard</title><content type='html'>Yesterday I encountered interesting situation. I prepared new Windows 2008 R2 server with print server role installed on it and started publishing printers. This task is on Windows 2008 R2 not as easy as advertised by MS. But never the less I did it.&lt;br /&gt;&lt;br /&gt;After that I tried adding published printers to our test computer (Windows 7 x64). I started &quot;Add a printer ...&quot; wizard from Devices and Printers.&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtpfdSNlgABf-CYEmVjB0MEkJl4VqhF0Lxt_O5H6mPUUfCJ837HeF3dw_ZpGn7kXL4f0zMRk3RFCCBteDGoUsCBS8pgZ_d2iyf6atAgx8l2zkNZ4YJx_6aD7pTdreqgnqyI7SuqxQzCW4/s1600/printing01.jpg&quot;&gt;&lt;img style=&quot;width: 400px; height: 251px; cursor: hand;&quot; id=&quot;BLOGGER_PHOTO_ID_5536138004717657442&quot; border=&quot;0&quot; alt=&quot;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtpfdSNlgABf-CYEmVjB0MEkJl4VqhF0Lxt_O5H6mPUUfCJ837HeF3dw_ZpGn7kXL4f0zMRk3RFCCBteDGoUsCBS8pgZ_d2iyf6atAgx8l2zkNZ4YJx_6aD7pTdreqgnqyI7SuqxQzCW4/s400/printing01.jpg&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Click on &quot;Add a printer&quot;&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYNlDNjxCACQ6kWRtrrU2wPkkgW0I8c2xvvATQLiKwsyUZ9SIcFWYFQCJ0yGY7hsI6eQZ02zI7iZH4fAvvqUS9RJ27sQMuuGARGKkyeekFJqpxOwxeIt0q9lrP6Y9ZAM9XdW-P94hL2_s/s1600/printing02.jpg&quot;&gt;&lt;img style=&quot;width: 400px; height: 282px; cursor: hand;&quot; id=&quot;BLOGGER_PHOTO_ID_5536138474215216338&quot; border=&quot;0&quot; alt=&quot;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYNlDNjxCACQ6kWRtrrU2wPkkgW0I8c2xvvATQLiKwsyUZ9SIcFWYFQCJ0yGY7hsI6eQZ02zI7iZH4fAvvqUS9RJ27sQMuuGARGKkyeekFJqpxOwxeIt0q9lrP6Y9ZAM9XdW-P94hL2_s/s400/printing02.jpg&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Choose &quot;Add a network, wireless or Bluetooth printer&quot;&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyWWzMtkBcBOOdBYCuyxN57sfZq4GI_PRJa-h6Ivp8QWjuEasmNRLotIDj18bAWv5lktuTfT5holQK7oP5bLchhLkbX-X9OcZA5QUyMSlZVZhemTSO6es4JRJmvAlhJOHsOuTi-mdgv5Y/s1600/printing03.jpg&quot;&gt;&lt;img style=&quot;width: 400px; height: 281px; cursor: hand;&quot; id=&quot;BLOGGER_PHOTO_ID_5536140524453007746&quot; border=&quot;0&quot; alt=&quot;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyWWzMtkBcBOOdBYCuyxN57sfZq4GI_PRJa-h6Ivp8QWjuEasmNRLotIDj18bAWv5lktuTfT5holQK7oP5bLchhLkbX-X9OcZA5QUyMSlZVZhemTSO6es4JRJmvAlhJOHsOuTi-mdgv5Y/s400/printing03.jpg&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;On my surprise there were no newly added printers to choose from. But they were listed if I clicked on &quot;The printer that I want isn&#39;t listed&quot; wizard.&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiaTOv-bhi5v7B34V6v11ytJ8ubQj_fic7HcqF3KNQY2z87Ark-V8q2FCqYApeS5pODdP-mNN69iM3n1TXXwbLwqQZGfoNWbUat48l1WSXLuzQr8FjbuvnDKUMbrRKrQwPtUezB9GEmWA0/s1600/printing04.jpg&quot;&gt;&lt;img style=&quot;width: 400px; height: 282px; cursor: hand;&quot; id=&quot;BLOGGER_PHOTO_ID_5536141343017289506&quot; border=&quot;0&quot; alt=&quot;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiaTOv-bhi5v7B34V6v11ytJ8ubQj_fic7HcqF3KNQY2z87Ark-V8q2FCqYApeS5pODdP-mNN69iM3n1TXXwbLwqQZGfoNWbUat48l1WSXLuzQr8FjbuvnDKUMbrRKrQwPtUezB9GEmWA0/s400/printing04.jpg&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And Next with &quot;Find a printer in the directory, based on location feature&quot; selected.&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0S2wZ6EG2CPirr7NoFWM-qySRqucWOGFXm1TEtOhWZLKV3BPv64vcUqYLK5CalnQhnNlJWTOJLWrEzGLWFNa03uA5nZRdy9X88vv-73Z2pjsNfyuQ094Z6Dm3XoTSRWso3FtCX-8CipQ/s1600/printing05.jpg&quot;&gt;&lt;img style=&quot;width: 400px; height: 366px; cursor: hand;&quot; id=&quot;BLOGGER_PHOTO_ID_5536142701299229746&quot; border=&quot;0&quot; alt=&quot;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0S2wZ6EG2CPirr7NoFWM-qySRqucWOGFXm1TEtOhWZLKV3BPv64vcUqYLK5CalnQhnNlJWTOJLWrEzGLWFNa03uA5nZRdy9X88vv-73Z2pjsNfyuQ094Z6Dm3XoTSRWso3FtCX-8CipQ/s400/printing05.jpg&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;So the printer was listed in Active Directory but didn’t show in the wizard. This is weird!? So I started googling for a solution.&lt;br /&gt;&lt;br /&gt;Then I found &lt;a href=&quot;http://social.technet.microsoft.com/Forums/en/w7itprohardware/thread/257590ec-62cf-400d-9cfb-8a121323c602&quot;&gt;MS forum post&lt;/a&gt; where someone had exact same problem. This is actually not a bug but a feature :) This &quot;Add a printer&quot; wizard default configuration is to show 20 printers. And you can change this setting by changing this group policy &quot;Computer configuration\Policies\Administrative Templates\Printers\Add Printer wizard - Network scan page (Managed network)&quot;&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8MfcUjdOzSnImAiBFZXiR3nByWjxGh9x18SgGFQMvFYFTf908kxPjDoAxmvlyc9xHZyOC3caJttlQnq1pk_UrCLoZrjhcQ_gkQau5pYmpuH40McsvSdxb4WTAyc26qeP-E6XdgO84hyE/s1600/printing06.jpg&quot;&gt;&lt;img style=&quot;width: 400px; height: 159px; cursor: hand;&quot; id=&quot;BLOGGER_PHOTO_ID_5536146514151036450&quot; border=&quot;0&quot; alt=&quot;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8MfcUjdOzSnImAiBFZXiR3nByWjxGh9x18SgGFQMvFYFTf908kxPjDoAxmvlyc9xHZyOC3caJttlQnq1pk_UrCLoZrjhcQ_gkQau5pYmpuH40McsvSdxb4WTAyc26qeP-E6XdgO84hyE/s400/printing06.jpg&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Change it to a number that works best for you. In my case I changed it to 50.&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjF7bkiKP4_QjFvw4SyMNTDu6uPVUNzZdi6eJYofnyyaaStPalDnPECux2EGQEj9UIvsuLnnl6t7E2ueJOnhyphenhyphenlD9pecYksHtfELgK4-YGXGRC9dVIc6uQJS3acdj9pQ0nAF2g-M_Zy3fVw/s1600/printing07.jpg&quot;&gt;&lt;img style=&quot;width: 400px; height: 366px; cursor: hand;&quot; id=&quot;BLOGGER_PHOTO_ID_5536147423727605298&quot; border=&quot;0&quot; alt=&quot;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjF7bkiKP4_QjFvw4SyMNTDu6uPVUNzZdi6eJYofnyyaaStPalDnPECux2EGQEj9UIvsuLnnl6t7E2ueJOnhyphenhyphenlD9pecYksHtfELgK4-YGXGRC9dVIc6uQJS3acdj9pQ0nAF2g-M_Zy3fVw/s400/printing07.jpg&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Well done. But then again why going thru all this trouble if you can easily add printer just by right clicking on desired printer in Windows Explorer and choose Connect?&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhecFXBQf7h2E_4nzH_Uv3l7AJTh-m0I8uf7WophiPE8ku6_QyIgSpFAiK7cyXpffEGl_2H6e0c7K5Wll_IU1eeRhFWC4RjPp898CAerClMP-un7zB1sMB9SXidjrX-svlun9wJiYlkrvU/s1600/printing08.jpg&quot;&gt;&lt;img style=&quot;width: 400px; height: 285px; cursor: hand;&quot; id=&quot;BLOGGER_PHOTO_ID_5536148620128270546&quot; border=&quot;0&quot; alt=&quot;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhecFXBQf7h2E_4nzH_Uv3l7AJTh-m0I8uf7WophiPE8ku6_QyIgSpFAiK7cyXpffEGl_2H6e0c7K5Wll_IU1eeRhFWC4RjPp898CAerClMP-un7zB1sMB9SXidjrX-svlun9wJiYlkrvU/s400/printing08.jpg&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Have fun :)</content><link rel='replies' type='application/atom+xml' href='http://lukastechblog.blogspot.com/feeds/42195794409038668/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lukastechblog.blogspot.com/2010/11/windows-add-printer-wizard.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/455527173073783378/posts/default/42195794409038668'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/455527173073783378/posts/default/42195794409038668'/><link rel='alternate' type='text/html' href='http://lukastechblog.blogspot.com/2010/11/windows-add-printer-wizard.html' title='Windows &quot;Add a printer&quot; wizard'/><author><name>luka</name><uri>http://www.blogger.com/profile/01694715765525499386</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtpfdSNlgABf-CYEmVjB0MEkJl4VqhF0Lxt_O5H6mPUUfCJ837HeF3dw_ZpGn7kXL4f0zMRk3RFCCBteDGoUsCBS8pgZ_d2iyf6atAgx8l2zkNZ4YJx_6aD7pTdreqgnqyI7SuqxQzCW4/s72-c/printing01.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-455527173073783378.post-776044148652863165</id><published>2010-01-17T19:08:00.007+01:00</published><updated>2010-01-18T14:48:55.731+01:00</updated><title type='text'>VMware Server 2 - slow response</title><content type='html'>Foreword:&lt;br /&gt;Few days ago I received a task to make a virtual testing environment. So after searching our warehouse I found one HP business PC on which I installed Windows 2008 R2 x64 server. On this platform I later added VMware Server 2.0. Both installs went thru without any problems. I also converted few physical servers on to this newly created virtual host. &lt;br /&gt;&lt;br /&gt;The problem:&lt;br /&gt;When I started to use these virtual machines in my test lab I noticed extremely slow response time. It was almost impossible to work on them over RDP. Copying files between hosts and virtual machines was also extremely slow (aprox. 30KB/Sec).&lt;br /&gt;&lt;br /&gt;Solution:&lt;br /&gt;1. I disabled Large Send Offload (IPv4) and Large Send Offload v2 (IPv4) in Advance setting of host&#39;s Broadcom NetLink (TM) Gigabit Ethernet card. I also disabled TCP/UDP Checksum Offload (IPv4) and TCP/UDP Checksum Offload (IPv6).&lt;br /&gt;&lt;br /&gt;It didn&#39;t help so ...&lt;br /&gt;&lt;br /&gt;2. I disabled IP v6 on host and virtual client. &lt;br /&gt;Under Network Connections, select the network adapter, and then click Properties. In the properties window, click to clear the check box for Internet Protocol Version 6(IPv6). &lt;br /&gt;&lt;br /&gt;Using Registry Editor, locate the following registry key: &lt;br /&gt;HKEY_Local_Machine\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters &lt;br /&gt;&lt;br /&gt;Right-click the Parameters key, click New, and then click DWORD (32-bit) Value. For the key, add the following values:&lt;br /&gt;Name: DisabledComponents&lt;br /&gt;Data: 0xFFFFFFFF&lt;br /&gt;&lt;br /&gt;Reboot and problem solved :)&lt;br /&gt;&lt;br /&gt;Links:&lt;br /&gt;http://communities.vmware.com/message/1191782&lt;br /&gt;http://technet.microsoft.com/en-us/library/cc671176(EXCHG.80).aspx</content><link rel='replies' type='application/atom+xml' href='http://lukastechblog.blogspot.com/feeds/776044148652863165/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lukastechblog.blogspot.com/2010/01/vmware-server-2-slow-response.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/455527173073783378/posts/default/776044148652863165'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/455527173073783378/posts/default/776044148652863165'/><link rel='alternate' type='text/html' href='http://lukastechblog.blogspot.com/2010/01/vmware-server-2-slow-response.html' title='VMware Server 2 - slow response'/><author><name>luka</name><uri>http://www.blogger.com/profile/01694715765525499386</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-455527173073783378.post-6912665605664067357</id><published>2010-01-17T18:53:00.002+01:00</published><updated>2010-01-17T19:07:27.650+01:00</updated><title type='text'>The Beginnings</title><content type='html'>First of all I&#39;d like to say that the content of this blog will in 90% cases contain solutions to the problems that I encounter while I work as an IT engineer. 10% of the blog&#39;s content will be... Well I really don&#39;t have any idea right now :)&lt;br /&gt;&lt;br /&gt;So I hope some of these solutions, that I&#39;ll present, will come handy. This will be my little contribution to make our work a little bit easier.&lt;br /&gt;&lt;br /&gt;Have fun,&lt;br /&gt;Luka Obersnu</content><link rel='replies' type='application/atom+xml' href='http://lukastechblog.blogspot.com/feeds/6912665605664067357/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lukastechblog.blogspot.com/2010/01/beginnings.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/455527173073783378/posts/default/6912665605664067357'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/455527173073783378/posts/default/6912665605664067357'/><link rel='alternate' type='text/html' href='http://lukastechblog.blogspot.com/2010/01/beginnings.html' title='The Beginnings'/><author><name>luka</name><uri>http://www.blogger.com/profile/01694715765525499386</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>