NTLite refuses to make these registry changes

ZorkLVM

Member
Messages
47
Reaction score
4
Why are these registry entries not being applied?

Code:
myRegFile.reg

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU]
"NoAutoUpdate"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate]
"TargetReleaseVersion"=dword:00000001
"TargetReleaseVersionInfo"="22H2"
"ProductVersion"="Windows 10"

One other registry entry is being applied just fine, but those above are ignored. They appear fine in the list after NTLite parses the file.

I'm adding them to the REGISTRY section in NTLite via myRegFile.reg.

No other changes were made to the image, I simply added the registry file with the values above. They are GPO-related, so maybe that has something to do with it?
 
Last edited:
Some findings on what works and what doesn't:

Code:
> REGISTRY FINDINGS
>
>                    col1: NTLite section confirmed working with NO component removal...
>                    col2: NTLite section confirmed working WITH component removal...
>                        | Reg   | Reg-U2  | B4Log | B4Log-U2 | AftLog | AftLog-U2 |
>                        |-------|---------|-------|----------|--------|-----------|
> HKLM/SOFTWARE/Policies | Y  No | Y  No   | Y Y   | Y Y      | Y Y    | Y Y       |
> HKLM/SOFTWARE          | Y  No | Y  No   | Y Y   | Y Y      | Y Y    | Y Y       |
> HKLM/SYSTEM            | Y  Y  | Y  Y    | Y Y   | Y Y      | Y Y    | Y Y       |
> HKU/.Default           | Y  Y  | Y  Y    | Y Y   | Y Y      | Y Y    | Y Y       |
> HKCU/SOFTWARE          | 2x 2x | 2x 2x   | No No | No No    | Y Y    | No No     |
> HKCU/Control Panel     | Y  Y  | Y  Y    | No No | No No    | Y Y    | No No     |

Reg = Added via NTLite Registry section
B4Log = Run .reg pre-login
AftLog = Run .reg post-login

U2 = Also applies to newly created users

Conclusion: Integrate registry keys after component removal using the Registry section of NTLite (not Post-Setup sections) and watch for 2x entries in HKCU/SOFTWARE.

This kind of stuff should be documented somewhere. Don't leave users searching forums for answers, create some proper docs for NTLite.
 
Last edited:
Do you remove Windows Update component? I think NTLite locked the keys related to Windows Update since you removed it.

I noticed this a while ago and reported it in this thread:
https://www.ntlite.com/community/in...-files-integration-not-working-properly.2443/

When removing components and integrating .reg files in the same session some keys are protected, especially those related to components that you removed.

What I do is integrate .reg files in a second session after removing components.
 
The entry is repeated a second time in the root, see attached pic.

I am not removing any windows update components. Every compatibility checkbox is checked on the remove components tab.View attachment 13491
 
Back
Top