Jump to content

Recommended Posts

  • 2 weeks later...

Posted (edited)

Hi all! Hello JFX! I translated new functions and help into Russian version of the program 5.3 Beta 1. I'm posting a new DLL.

A few JFX questions!
1) How can I force the dark theme to be enabled in the "WinNTSetup" program?
2) How can I force the dark theme to be enabled in the "BootICE" program?
3) Is it possible to add a folder to the root of the folder with the "WinNTSetup" program, the contents of which will be moved without changes to the root of the disk at the end of Windows installation automatically without user confirmation during installation. That is, move contained folders or files, ignoring the folder itself. What could be moved by the merge method to the desired directory, for example, programs?
4) Is it possible to create a folder that will move cmd, exe, reg files automatically without user confirmation during installation?

1049.dll

Edited by U96
  • JFX changed the title to WinNTSetup v5.2.6 / 5.3 Beta 2
Posted

Thanks for the translation.

You can force dark theme in WinNTSetup.ini.

[Options]
DarkMode=1

Same goes to BootICE and Tools\x64\BootICE\BootICE.ini.
Seems my last fix disabled that option in BootICE.ini. So you will need Beta2 to have it work.

I'm not sure about 3 and 4, but couldn't you do that with $OEM$ and SetupComplete.cmd?

Posted

Can you Add a Tweak so that Password never Expires for LocalAccount UserName as defined in Unattend Installation ?

After using WinNTSetup I normally Open Admin Command Window and give command:

wmic UserAccount where Name='UserName' set PasswordExpires=False

Without this command then Password would Expire which is unwanted.

Posted

I'll add this to "unattend\Win7-11-Select.xml" in next release:

<?xml version="1.0" encoding="utf-8"?>
<!--

[WinNTSetup]
process=1

;process 1 - asks for user input and replaces all 4 %variables%
;process 2 - don't ask and only replaces %WinNTSetup-Arch%

;WinNTSetup-Arch
;WinNTSetup-User
;WinNTSetup-PC
;WinNTSetup-Group

-->
<unattend xmlns="urn:schemas-microsoft-com:unattend">

  <settings pass="specialize">
   <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="%WinNTSetup-Arch%" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
     <ComputerName>%WinNTSetup-PC%</ComputerName>
   </component>
   <component name="Microsoft-Windows-UnattendedJoin" processorArchitecture="%WinNTSetup-Arch%" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
     <Identification>
       <JoinWorkgroup>%WinNTSetup-Group%</JoinWorkgroup>
     </Identification>
   </component>
  </settings>


  <settings pass="oobeSystem">
    <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="%WinNTSetup-Arch%" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <UserAccounts>
        <LocalAccounts>
          <LocalAccount wcm:action="add">
            <Name>%WinNTSetup-User%</Name>
            <Group>Administrators</Group>
            <Password>
              <PlainText>true</PlainText>
              <Value />
            </Password>
          </LocalAccount>
        </LocalAccounts>
        <AdministratorPassword>
          <Value />
        </AdministratorPassword>
      </UserAccounts>
      <AutoLogon>
        <Password>
          <Value />
        </Password>
        <Enabled>true</Enabled>
        <LogonCount>1</LogonCount>
        <Username>%WinNTSetup-User%</Username>
      </AutoLogon>
      <OOBE>
        <NetworkLocation>Home</NetworkLocation>
        <HideEULAPage>true</HideEULAPage>
        <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
        <SkipMachineOOBE>true</SkipMachineOOBE>
        <SkipUserOOBE>true</SkipUserOOBE>
      </OOBE>
      <FirstLogonCommands>
        <SynchronousCommand wcm:action="add">
          <CommandLine>net accounts /maxpwage:unlimited</CommandLine>
          <Order>1</Order>
        </SynchronousCommand>
      </FirstLogonCommands>
    </component>
  </settings>
</unattend>

 

Posted
26 minutes ago, JFX said:

I'll add this to "unattend\Win7-11-Select.xml" in next release:

Very good and Thank You !

Posted

"VOLUME COPY" display "insufficience space" when source is eg. : 500 GB partition with 60 GB used and destination is a 250 GB partition.
Can we bypass the check or account used space instead whole partition space ?

Posted (edited)

No, there no way to bypass. In your 500GB source partition there must be at least 1 cluster that's located beyond 250 GB offset.
However, this error message needs to be improved, it should display the needed space.

 

BTW: I't might be possible for some defragment tool, to move all used data to beginning of the drive.

Edited by JFX
Posted

I have not checked the used cluster, but resized partition to 200GB was done by windows in seconds then volume copy was successful.

Posted

A WinCopy question: Behind "Boot Files" I can select a partition.
I tried the EFI partition on the first HDD and the EFI partition inside the VHD file.
But no effect. No new boot entry, no BCD or files in the EFI partition.
Does the "Boot Files" option work? Or has it a different meaning?

Posted

Your right, bcdboot.exe call fails with volume path.

Bcdedit.exe does accept a path stating with "\\?\Volume{.." , but bcdboot.exe wants "Volume{...".

Posted

In my MinWin profile, by default, all files are deleted from the folder

\Windows\PolicyDefinitions\ru-RU\

What should be done so that the files from the folder are not deleted?

Tried in Windows.txt
!\Windows\PolicyDefinitions\ru-RU\

But the folder is empty, these files are needed for gpedit.msc. Thank you.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...