<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.danit.nl/index.php?action=history&amp;feed=atom&amp;title=Changing_default_user_settings</id>
	<title>Changing default user settings - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.danit.nl/index.php?action=history&amp;feed=atom&amp;title=Changing_default_user_settings"/>
	<link rel="alternate" type="text/html" href="http://wiki.danit.nl/index.php?title=Changing_default_user_settings&amp;action=history"/>
	<updated>2026-05-28T19:18:55Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>http://wiki.danit.nl/index.php?title=Changing_default_user_settings&amp;diff=97&amp;oldid=prev</id>
		<title>Dan at 23:34, 9 February 2022</title>
		<link rel="alternate" type="text/html" href="http://wiki.danit.nl/index.php?title=Changing_default_user_settings&amp;diff=97&amp;oldid=prev"/>
		<updated>2022-02-09T23:34:39Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 23:34, 9 February 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l26&quot; &gt;Line 26:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 26:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  ERROR: Access is denied.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  ERROR: Access is denied.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Make sure that you do not have a regedit (Registry Editor) open that has this hive or any subkeys in it selected.&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Make sure that you do not have a regedit (Registry Editor) open that has this hive or any subkeys in it selected.&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Also make sure that you do not have any &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;prompts &lt;/del&gt;or scripts running that have an open request into this hive, without properly closing them.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Also make sure that you do not have any &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;apps consoles &lt;/ins&gt;or scripts running that have an open request into this hive, without properly closing them.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Dan</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.danit.nl/index.php?title=Changing_default_user_settings&amp;diff=96&amp;oldid=prev</id>
		<title>Dan: Created page with &quot;=Registry= When you know the registry key(s) that you want changed, you might also want to set these for the &#039;default&#039; user profile.&lt;br&gt; New users will automatically get these...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.danit.nl/index.php?title=Changing_default_user_settings&amp;diff=96&amp;oldid=prev"/>
		<updated>2022-02-09T23:31:55Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;=Registry= When you know the registry key(s) that you want changed, you might also want to set these for the &amp;#039;default&amp;#039; user profile.&amp;lt;br&amp;gt; New users will automatically get these...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=Registry=&lt;br /&gt;
When you know the registry key(s) that you want changed, you might also want to set these for the &amp;#039;default&amp;#039; user profile.&amp;lt;br&amp;gt;&lt;br /&gt;
New users will automatically get these settings without having to manually set them, run scripts, or policies each time.&amp;lt;br&amp;gt;&lt;br /&gt;
The user can change the default settings afterwards at any time, and will not be reset to default values.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You might come across the &amp;quot;HKEY_USERS\.DEFAULT&amp;quot; registry hive, however, changing registry settings here will not work.&amp;lt;br&amp;gt;&lt;br /&gt;
This is because Windows loads the Default User profile hive on bootup, but never unloads them, and thus it will never save your changes.&amp;lt;br&amp;gt;&lt;br /&gt;
Manually unloading the hive (&amp;quot;reg.exe unload HKU\.DEFAULT&amp;quot;) will not work, because the hive is always in use by some Windows process.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The only solution to this, is to load the Default User profile hive into a different key, editing something in the hive, and then unloading it when done.&amp;lt;br&amp;gt;&lt;br /&gt;
For example (in PowerShell):&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Start-Process -FilePath &amp;#039;reg.exe&amp;#039; -ArgumentList &amp;#039;load HKU\&amp;lt;DefaultUser&amp;gt; &amp;quot;C:\Users\Default\NTUSER.DAT&amp;quot;&amp;#039; -Wait&lt;br /&gt;
&lt;br /&gt;
New-ItemProperty -Path &amp;#039;HKU:\&amp;lt;DefaultUser&amp;gt;\SOFTWARE\Microsoft\Windows\CurrentVersion\Example&amp;#039; -Name &amp;#039;Test123&amp;#039; -PropertyType DWord -Value 0&lt;br /&gt;
&lt;br /&gt;
Start-Process -FilePath &amp;#039;reg.exe&amp;#039; -ArgumentList &amp;#039;unload HKU\&amp;lt;DefaultUser&amp;gt;&amp;#039; -Wait&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
By default in PowerShell, the HKEY_USERS registry hive has not been binded, in order to access &amp;quot;HKU:\&amp;quot; you need to do this first:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
New-PSDrive -PSProvider Registry -Name HKU -Root HKEY_USERS&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Error===&lt;br /&gt;
 ERROR: Access is denied.&lt;br /&gt;
Make sure that you do not have a regedit (Registry Editor) open that has this hive or any subkeys in it selected.&amp;lt;br&amp;gt;&lt;br /&gt;
Also make sure that you do not have any prompts or scripts running that have an open request into this hive, without properly closing them.&lt;/div&gt;</summary>
		<author><name>Dan</name></author>
		
	</entry>
</feed>