<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://msmvps.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Risque Management : Sysadminship</title><link>http://msmvps.com/blogs/sp/archive/tags/Sysadminship/default.aspx</link><description>Tags: Sysadminship</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>Windows file server performance optimization</title><link>http://msmvps.com/blogs/sp/archive/2009/04/24/windows-file-server-performance-optimization.aspx</link><pubDate>Fri, 24 Apr 2009 06:02:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1690429</guid><dc:creator>Slav</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/sp/rsscomments.aspx?PostID=1690429</wfw:commentRss><comments>http://msmvps.com/blogs/sp/archive/2009/04/24/windows-file-server-performance-optimization.aspx#comments</comments><description>&lt;p&gt;Merge this into the registry, reboot and enjoy increased performance:&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;Windows Registry Editor Version 5.00&lt;br /&gt;&lt;br /&gt;[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem]&lt;br /&gt;&amp;quot;NtfsDisable8dot3NameCreation&amp;quot;=dword:00000001&lt;br /&gt;&amp;quot;NtfsMemoryUsage&amp;quot;=dword:00000002&lt;br /&gt;&lt;br /&gt;[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters] &lt;br /&gt;&amp;quot;NumTcbTablePartitions&amp;quot;=dword:00000008 &lt;br /&gt;&lt;br /&gt;[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{INTERFACE NUMBER}] &lt;br /&gt;&amp;quot;TcpAckFrequency&amp;quot;=dword:0000000d &lt;br /&gt;&lt;br /&gt;[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management] &lt;br /&gt;&amp;quot;PagedPoolSize&amp;quot;=dword:ffffffff &lt;br /&gt;&amp;quot;LargeSystemCache&amp;quot;=dword:00000000 &lt;br /&gt;&lt;br /&gt;[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Executive] &lt;br /&gt;&amp;quot;AdditionalDelayedWorkerThreads&amp;quot;=dword:00000020 &lt;br /&gt;[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RpcXdr\Parameters] &lt;br /&gt;&amp;quot;DefaultNumberOfWorkerThreads&amp;quot;=dword:00000040 &lt;br /&gt;&lt;br /&gt;[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NfsSvr\Parameters] &lt;br /&gt;&amp;quot;OptimalReads&amp;quot;=dword:00000001 &lt;br /&gt;&amp;quot;RdWrHandleLifeTime&amp;quot;=dword:0000000a &lt;br /&gt;&amp;quot;RdWrNfsReadHandlesLifeTime&amp;quot;=dword:0000000a &lt;br /&gt;&amp;quot;RdWrNfsHandleLifeTime&amp;quot;=dword:0000003c &lt;br /&gt;&amp;quot;RdWrThreadSleepTime&amp;quot;=dword:0000003c &lt;br /&gt;&amp;quot;SecureHandleLevel&amp;quot;=dword:00000000 &lt;br /&gt;&amp;quot;NfsHandlesCacheSizeLowWatermark&amp;quot;=dword:003d08ce &lt;br /&gt;&amp;quot;NfsHandlesCacheSizeMax&amp;quot;=dword:003d0900 &lt;br /&gt;&amp;quot;NtfsHandlesCacheSizeLowWatermark&amp;quot;=dword:000249be &lt;br /&gt;&amp;quot;NtfsHandlesCacheSizeMax&amp;quot;=dword:000249f0 &lt;br /&gt;&amp;quot;FileHandleCacheSizeInMB&amp;quot;=dword:3de00000 &lt;br /&gt;&amp;quot;LockFileHandleCacheInMemory&amp;quot;=dword:00000001 &lt;br /&gt;&amp;quot;MaxIcbNfsReadHandlesCacheSize&amp;quot;=dword:00001f40&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Also, check the NTFS log size (&lt;b&gt;chkdsk /l&lt;/b&gt;) and increase it to 65536 KB in case it isn&amp;#39;t already of that size. That covers Windows CIFS and NFS and was tested on 32-bit Windows 2003 (yet I believe W2K8 and 64-bit platforms also can be optimised this way, will test).&amp;nbsp;This comes from the &lt;a href="http://www.spec.org/sfs97r1/results/res2007q1/sfs97r1-20070226-00279.html"&gt;SPEC file server benchmarking results and configuration notes for HP ProLiant DL585 G2 Storage Server&lt;/a&gt;. &lt;/p&gt;
&lt;p&gt;Check out other systems and results - some interesting information there.&lt;/p&gt;
&lt;p&gt;It is a good idea to check the performance before and after changing the system parameters. You don&amp;#39;t need to purchase SPEC tests to do that - there are free tools available. Stay tuned for some details, or search away (if your OS of choice is Windows, use &amp;quot;sqlio&amp;quot; as the search criteria).&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1690429" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/sp/archive/tags/Sysadminship/default.aspx">Sysadminship</category></item><item><title>Disabling Syskey startup password</title><link>http://msmvps.com/blogs/sp/archive/2008/01/27/disabling-syskey-startup-password.aspx</link><pubDate>Mon, 28 Jan 2008 00:50:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1483297</guid><dc:creator>Slav</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/sp/rsscomments.aspx?PostID=1483297</wfw:commentRss><comments>http://msmvps.com/blogs/sp/archive/2008/01/27/disabling-syskey-startup-password.aspx#comments</comments><description>&lt;p&gt;So it happened: Windows starts up and asks for a password, and you don&amp;#39;t know what that is. Either forgot, or&amp;nbsp;didn&amp;#39;t know the password. This is &lt;a class="" href="http://support.microsoft.com/kb/310105/" target="_blank"&gt;Syskey&lt;/a&gt; in action. What to do?&lt;/p&gt;
&lt;p&gt;You can try brute forcing the password. Syskey gives unlimited tries. After the first hundred you&amp;#39;ll come to the conclusion that brute forcing is overrated. And there are no reliable tools that will help brute forcing Syskey password.&lt;/p&gt;
&lt;p&gt;You can forcibly switch Syskey off. The best tool for it is the &lt;a class="" href="http://home.eunet.no/pnordahl/ntpasswd/"&gt;Offline NT Password &amp;amp; Registry Editor&lt;/a&gt;, commonly known as NTPasswd. The bootable Linux-based CD image is just over 3MB, contains many SCSI drivers as read-write NTFS driver, as has intuitive text manu-based UI. It allows disabling Syskey. But there will be side effects:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;All locally stored encryption keys will become invalid;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;You will not be able to connect to Terminal Services - it&amp;#39;s using encryption keys for session security;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;IIS-based services (W3SVC, SMTP and depending Exchange services) will not start - parts of Metabase are encrypted, and the keys aren&amp;#39;t available;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Any service running not as LocalSystem will not start. You&amp;#39;ll need to reset the credentials cache. The easies way is to set the service to run as LocalSystem, and then change again to a service account;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Same applies to scheduled tasks;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;All EFS-encrypted data, including that encrypted with the system key, will be permanently lost.&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;So the system will be severely damaged after it comes back up. Only do this to recover the latest data. If you need more - always back up System state offline. And do not forget test restoration before an incident happens.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1483297" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/sp/archive/tags/Security/default.aspx">Security</category><category domain="http://msmvps.com/blogs/sp/archive/tags/Sysadminship/default.aspx">Sysadminship</category></item><item><title>Capturing Windows user logon traffic</title><link>http://msmvps.com/blogs/sp/archive/2007/10/11/capturing-windows-user-logon-traffic.aspx</link><pubDate>Fri, 12 Oct 2007 00:36:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1243631</guid><dc:creator>Slav</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/sp/rsscomments.aspx?PostID=1243631</wfw:commentRss><comments>http://msmvps.com/blogs/sp/archive/2007/10/11/capturing-windows-user-logon-traffic.aspx#comments</comments><description>&lt;p&gt;I don&amp;#39;t need to go into many details about the startup process and importance of analysing it in case of problems. Here&amp;#39;s how I do it:&lt;/p&gt;
&lt;p&gt;The tools:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Wireshark (&lt;a href="http://www.wireshark.org/"&gt;http://www.wireshark.org/&lt;/a&gt;)&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;PSTools (&lt;a href="http://www.microsoft.com/technet/sysinternals/Utilities/PsTools.mspx"&gt;http://www.microsoft.com/technet/sysinternals/Utilities/PsTools.mspx&lt;/a&gt;)&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Windows ResourceKit tools (&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd&lt;/a&gt;)&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Install the tools accepting all defaults (you should always go with defaults unless you have really good reasons not to - and security through obscurity is not one). Follow the Resource kit documentation to install Autoexnt service, use interactive option.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The most important information that is not in the network traffic capture is the process map&lt;/strong&gt; - the information that allows to identify what processes are making connections.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using c:\tmp folder for the captures and other files. This is the autoexnt.cmd file:&lt;/p&gt;
&lt;p&gt;@echo off&lt;br /&gt;move c:\tmp\capture.cap c:\tmp\captureX.cap&lt;br /&gt;move c:\tmp\capturelog.txt c:\tmp\capturelogX.txt&lt;br /&gt;start /D&amp;quot;C:\Program Files\Wireshark\&amp;quot; tshark.exe -i 2 -w c:\tmp\capture.cap&lt;br /&gt;:loop&lt;br /&gt;cscript //Nologo c:\tmp\now.vbs &amp;gt;&amp;gt; c:\tmp\capturelog.txt&lt;br /&gt;netstat -ano &amp;gt;&amp;gt; c:\tmp\capturelog.txt&lt;br /&gt;pslist &amp;gt;&amp;gt; c:\tmp\capturelog.txt&lt;br /&gt;sleep 1&lt;br /&gt;goto loop&lt;/p&gt;
&lt;p&gt;In the tshark command line options, the interface number (the -i option) may&amp;nbsp;be different on your system - use &amp;quot;tshark -D&amp;quot; to list interfaces on your system. I found that in some cases tshark&amp;nbsp;has visibility of all interfaces on the system whereas&amp;nbsp;Wireshark GUI doesn&amp;#39;t let you choose the right interface.&amp;nbsp;Now.vbs prints current time with seconds. The whole script is:&lt;/p&gt;
&lt;p&gt;WScript.Echo Now&lt;/p&gt;
&lt;p&gt;After rebooting the computer and the user logon there will be two windows on the screen&amp;nbsp; - cmd.exe and tshark.exe. Close both -you&amp;#39;ll find the traffic capture in the c:\tmp\capture.cap and process/connection lists in c:\tmp\capturelog.txt. That&amp;#39;s enough information to do analysis.&lt;/p&gt;
&lt;p&gt;The beauty of the approach is that no hubs or switches are involved, and all of it can be done remotely. Evidently, both scripts and the approach can be improved in many ways. Suggestions welcome.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1243631" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/sp/archive/tags/Sysadminship/default.aspx">Sysadminship</category></item><item><title>Good principles for sysadmins and solution architects</title><link>http://msmvps.com/blogs/sp/archive/2007/02/25/good-principles-for-solution-architects.aspx</link><pubDate>Sun, 25 Feb 2007 06:50:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:616269</guid><dc:creator>Slav</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/sp/rsscomments.aspx?PostID=616269</wfw:commentRss><comments>http://msmvps.com/blogs/sp/archive/2007/02/25/good-principles-for-solution-architects.aspx#comments</comments><description>Solaris&amp;trade; Administration Best Practices by Peter Baer Galvin is an old gem. Here&amp;#39;s the list: Keep an Eye Peeled and a Wall at Your Back Communicate with Users Help Users Fix It Themselves Use Available Information Know When to Use Strategy and...(&lt;a href="http://msmvps.com/blogs/sp/archive/2007/02/25/good-principles-for-solution-architects.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://msmvps.com/aggbug.aspx?PostID=616269" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/sp/archive/tags/Security/default.aspx">Security</category><category domain="http://msmvps.com/blogs/sp/archive/tags/Sysadminship/default.aspx">Sysadminship</category></item></channel></rss>