Jump to content

WinNTSetup v5.3.4


JFX

Recommended Posts

WinCopy will create a copy of windows installation. For example, move the current installation into a VHD.

The first 6 modes are using wimlib (with optional WOF compression).
It's like capture and apply without actually creating a WIM file.
File exclusion using a WimScript.ini are possible as well using MinWin by clicking on the Mode label.

The VOLUME COPY option is more like Drive SnapShot, it copies the entire NTFS File System (used clusters only).
It's much faster than the other modes, but does not offer any options.
Destination drive can be smaller as the source drive, but the last used cluster must fit in it.

WinCopy.gif

Edited by JFX
Link to comment
Share on other sites


  • 2 weeks later...

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
Link to comment
Share on other sites

  • JFX changed the title to WinNTSetup v5.2.6 / 5.3 Beta 2

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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>

 

Link to comment
Share on other sites

"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 ?

Link to comment
Share on other sites

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
Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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   1 member

×
×
  • Create New...