<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.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>The .Default user is not the default user</title><link>http://blogs.msdn.com/b/oldnewthing/archive/2007/03/02/1786493.aspx</link><description>A poorly-chosen name.</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>XP - An die Registry Profis - MCSEboard.de MCSE Forum</title><link>http://blogs.msdn.com/b/oldnewthing/archive/2007/03/02/1786493.aspx#9447192</link><pubDate>Thu, 26 Feb 2009 22:46:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9447192</guid><dc:creator>XP - An die Registry Profis - MCSEboard.de MCSE Forum</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="https://www.mcseboard.de/windows-forum-allgemein-28/registry-profis-148269.html#post912954"&gt;https://www.mcseboard.de/windows-forum-allgemein-28/registry-profis-148269.html#post912954&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9447192" width="1" height="1"&gt;</description></item><item><title>Deploying your VSTO Add-In to All Users (Part I)</title><link>http://blogs.msdn.com/b/oldnewthing/archive/2007/03/02/1786493.aspx#4752165</link><pubDate>Wed, 05 Sep 2007 04:08:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4752165</guid><dc:creator>Misha Shneerson</dc:creator><description>&lt;p&gt;VSTO Add-Ins aka Managed Office Add-Ins have a major deficiency on the deployment side. Putting it simple,&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=4752165" width="1" height="1"&gt;</description></item><item><title>re: The .Default user is not the default user</title><link>http://blogs.msdn.com/b/oldnewthing/archive/2007/03/02/1786493.aspx#1882385</link><pubDate>Wed, 14 Mar 2007 23:08:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1882385</guid><dc:creator>gripper</dc:creator><description>&lt;p&gt;Actually, &lt;/p&gt;
&lt;p&gt;Sysprep has its limits updating the Default user template.&lt;/p&gt;
&lt;p&gt;Working with a huge OEM customer, I ran bug-a-boo issue where sysprep doesn't migrate all the owner settings to the default user template after reseal. Actually it was such a huge issue, my X-mas vacation was cut short and I flew out to Austin to investigate first hand.&lt;/p&gt;
&lt;p&gt;This specifically effected a few Registry keyed Windows Installer components - the behavior was noted that after reseal and after OOBE, the MSI keyed registry components didn't exist, and an MSI repair was triggered.&lt;/p&gt;
&lt;p&gt;This was fixed by creating an install action that directly updated the Default User template NTUSERS.DAT file.&lt;/p&gt;
&lt;p&gt;So even sysprep seems to have its limits...&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1882385" width="1" height="1"&gt;</description></item><item><title>re: The .Default user is not the default user</title><link>http://blogs.msdn.com/b/oldnewthing/archive/2007/03/02/1786493.aspx#1845755</link><pubDate>Fri, 09 Mar 2007 19:37:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1845755</guid><dc:creator>KJK::Hyperion</dc:creator><description>&lt;p&gt;.Default is named like that because it's the fallback key advapi32.dll uses for HKEY_CURRENT_USER when it cannot open the HKEY_USERS\&amp;lt;user's SID&amp;gt; key&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1845755" width="1" height="1"&gt;</description></item><item><title>re: The .Default user is not the default user</title><link>http://blogs.msdn.com/b/oldnewthing/archive/2007/03/02/1786493.aspx#1844180</link><pubDate>Fri, 09 Mar 2007 16:30:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1844180</guid><dc:creator>Igor</dc:creator><description>&lt;p&gt;This is the way I use to customize user account during Windows install:&lt;/p&gt;
&lt;p&gt;in $OEM$ folder make a file CMDLINES.TXT with the following:&lt;/p&gt;
&lt;p&gt;---snip---&lt;/p&gt;
&lt;p&gt;[COMMANDS]&lt;/p&gt;
&lt;p&gt;&amp;quot;REGEDIT /S TWEAKUSR.REG&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;quot;USERACCT.CMD&amp;quot;&lt;/p&gt;
&lt;p&gt;---snip---&lt;/p&gt;
&lt;p&gt;Obviously TWEAKUSR.REG should contain all user customizations.&lt;/p&gt;
&lt;p&gt;USERACCT.CMD should also be in $OEM$ and contain the following:&lt;/p&gt;
&lt;p&gt;---snip---&lt;/p&gt;
&lt;p&gt;NET USER &amp;lt;your_username&amp;gt; &amp;lt;your_password&amp;gt; /ADD&lt;/p&gt;
&lt;p&gt;NET LOCALGROUP Administrators &amp;lt;your_username&amp;gt; /ADD&lt;/p&gt;
&lt;p&gt;---snip---&lt;/p&gt;
&lt;p&gt;While you are at it, why not enable auto logon if you are doing it for the home computer? Create a file AUTOLOG.REG in $OEM$ folder with the following content:&lt;/p&gt;
&lt;p&gt;---snip---&lt;/p&gt;
&lt;p&gt;Windows Registry Editor Version 5.00&lt;/p&gt;
&lt;p&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]&lt;/p&gt;
&lt;p&gt;&amp;quot;DefaultUserName&amp;quot;=&amp;quot;&amp;lt;your_username&amp;gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;quot;DefaultPassword&amp;quot;=&amp;quot;&amp;lt;your_password&amp;gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;quot;AutoAdminLogon&amp;quot;=&amp;quot;1&amp;quot;&lt;/p&gt;
&lt;p&gt;---snip---&lt;/p&gt;
&lt;p&gt;Then just add &amp;quot;REGEDIT /S AUTOLOG.REG&amp;quot; to CMDLINES.TXT.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1844180" width="1" height="1"&gt;</description></item><item><title>re: The .Default user is not the default user</title><link>http://blogs.msdn.com/b/oldnewthing/archive/2007/03/02/1786493.aspx#1815866</link><pubDate>Tue, 06 Mar 2007 13:31:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1815866</guid><dc:creator>1</dc:creator><description>&lt;p&gt;windows = single user os.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1815866" width="1" height="1"&gt;</description></item><item><title>re: The .Default user is not the default user</title><link>http://blogs.msdn.com/b/oldnewthing/archive/2007/03/02/1786493.aspx#1807085</link><pubDate>Mon, 05 Mar 2007 07:14:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1807085</guid><dc:creator>Melvin</dc:creator><description>&lt;p&gt;&amp;gt;The .Default account's wallpaper (and &amp;gt;screensaver) is used behind the login screen if &amp;gt;nobody has logged in to the computer. Most &amp;gt;companies use this, as they can set it to their &amp;gt;corporate logo (and an appropriate screensaver) &amp;gt;for computers that are just idling for whatever &amp;gt;reason.&lt;/p&gt;
&lt;p&gt;And more helpfully when you've got a 16 port hot key KVM you can tell which server it's set to before initiating the logon process by incorporating the server name into the default wallpaper.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1807085" width="1" height="1"&gt;</description></item><item><title>re: The .Default user is not the default user</title><link>http://blogs.msdn.com/b/oldnewthing/archive/2007/03/02/1786493.aspx#1806879</link><pubDate>Mon, 05 Mar 2007 06:06:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1806879</guid><dc:creator>Norman Diamond</dc:creator><description>&lt;p&gt;Friday, March 02, 2007 11:03 AM by J &lt;/p&gt;
&lt;p&gt;[Gary Williams:]&lt;/p&gt;
&lt;p&gt;&amp;gt;&amp;gt; Is having a .DEFAULT profile something of a&lt;/p&gt;
&lt;p&gt;&amp;gt;&amp;gt; security risk? could something be loaded&lt;/p&gt;
&lt;p&gt;&amp;gt;&amp;gt; into .DEFAULT that runs whenever an&lt;/p&gt;
&lt;p&gt;&amp;gt;&amp;gt; application runs as local system?&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;gt; Don't you need admin rights to change&lt;/p&gt;
&lt;p&gt;&amp;gt; HKEY_USERS? &amp;nbsp;If that's the case, you can&lt;/p&gt;
&lt;p&gt;&amp;gt; probably do something a little more malicious&lt;/p&gt;
&lt;p&gt;&amp;gt; than changing a registry setting in .DEFAULT.&lt;/p&gt;
&lt;p&gt;All true, but there are reasons why writers of some kinds of malware prefer to do things like loading their app in the local system account. &amp;nbsp;If they install something like a spam server, they want it to be camouflaged so it will continue operating for a long time before being discovered.&lt;/p&gt;
&lt;p&gt;Meanwhile, how many apps would break if the local system account's name were changed from .Default to .LocalSystem?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1806879" width="1" height="1"&gt;</description></item><item><title>re: The .Default user is not the default user</title><link>http://blogs.msdn.com/b/oldnewthing/archive/2007/03/02/1786493.aspx#1805809</link><pubDate>Mon, 05 Mar 2007 00:31:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1805809</guid><dc:creator>Les Bowman</dc:creator><description>&lt;p&gt;I just make my own custom registry modifications for the Default User template. I'll set the power settings, kill the welcome screen, check &amp;quot;Empty Internet Explorer Temp Files on close&amp;quot; and all sorts of other stuff. Export those keys to a .reg file, edit the .reg file and change the path in the registry key to something like HKU\DefUser save the .reg and then load the hive of the default user using the name I specified in the modified registry file, import the reg file and then unload the hive. You pretty much have to do this for images, other wise people will complain that the NumLock key isn't on or worse I can't delete old profiles remotely because the TempInet folders have path&amp;amp;file names too long to delete.&lt;/p&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot;&lt;a rel="nofollow" target="_new" href="http://www.computerpowersaver.com/PM_Win2k_Whitepaper.pdf&amp;quot;&amp;gt;This"&gt;http://www.computerpowersaver.com/PM_Win2k_Whitepaper.pdf&amp;quot;&amp;gt;This&lt;/a&gt; link&amp;lt;/a&amp;gt; has a good overview of the process and is a good place to start. From there you've just got to find the registry keys for you edit. Keep in mind some things like the XP Tour/Firewall have to be turned off in the local group policy and with Win2K you have to load/unload hives in RegEdt32.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1805809" width="1" height="1"&gt;</description></item><item><title>re: The .Default user is not the default user</title><link>http://blogs.msdn.com/b/oldnewthing/archive/2007/03/02/1786493.aspx#1798432</link><pubDate>Sat, 03 Mar 2007 22:37:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1798432</guid><dc:creator>Stephen Jones</dc:creator><description>&lt;p&gt;----&amp;quot;than going into TweakUI, clicking Logon, then Settings.&amp;quot;----&lt;/p&gt;
&lt;p&gt;In my version of Tweak UI there is no settings button on the logon tab. Presumably you need to check you have the correct version of Tweak installed first. Gets more complicated by the minute!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1798432" width="1" height="1"&gt;</description></item></channel></rss>