Microsoft-Windows-International-Core > oobeSystem Code: <InputLocale>en-us</InputLocale> <SystemLocale>mn-mn</SystemLocale> <UILanguage>en-us</UILanguage> <UserLocale>mn-mn</UserLocale>
I think <SystemLocale>mn-mn</SystemLocale> Edit: some clarification There is no fully locallized Windows in my native tongue Mongolian. So we use mostly English and Russian version of Windows. One of after install chore is adding Mongolian keyboard layout. So if i add to my unattend.xml those settings, after installation completed mongolian keyoard automatically will be added and home location set to Mongolia, date time format will be also Mongolian. SystemLocale or UserLocale, which one is responsible for home location i don't know. Because i never needed to.
UserLocale = Region Format and Location InputLocale = input locales and keyboard layouts SystemLocale = language for non-Unicode programs and font settings
Hi guys ; I am sure everybody is familiar with the " copype amd64 C:\WinPE_amd64 " command that can be run within dism while creating bootable WinPE iso. I have ADK installed. I want to call Dism and run the above command using an external batch file. Is it possible to do that ?
Make a winpeshl.ini that resides in your System32 directory that will call the batch file upon bootup of the PE.
Thanks for the answer but i am afraid i couldnt ask my question correctly enough or maybe you misunderstood I am not trying to boot WinPE iso , i am trying to make a script that creates Winpe iso automatically , for example Auto.cmd on Drive E When i click on Auto.cmd , it will perform the " copype amd64 C:\WinPE_amd64 " for me That is what i want Thank you
Open the cmd prompt as administrator, type copy con Auto.cmd, press enter. Paste "copype amd64 C:\WinPE_amd64" (without quotes), then press F6 then enter. Auto.cmd is now created. Use notepad to edit...
Spoiler Code: @echo off SET regKeyPathFound=1 SET wowRegKeyPathFound=1 REG QUERY "HKLM\Software\Wow6432Node\Microsoft\Windows Kits\Installed Roots" /v KitsRoot10 1>NUL 2>NUL || SET wowRegKeyPathFound=0 REG QUERY "HKLM\Software\Microsoft\Windows Kits\Installed Roots" /v KitsRoot10 1>NUL 2>NUL || SET regKeyPathFound=0 if %wowRegKeyPathFound% EQU 0 ( if %regKeyPathFound% EQU 0 ( @echo KitsRoot not found, can't set common path for Deployment Tools goto :EOF ) else ( SET regKeyPath=HKLM\Software\Microsoft\Windows Kits\Installed Roots ) ) else ( SET regKeyPath=HKLM\Software\Wow6432Node\Microsoft\Windows Kits\Installed Roots ) FOR /F "skip=2 tokens=2*" %%i IN ('REG QUERY "%regKeyPath%" /v KitsRoot10') DO (SET "KitsRoot=%%j") call "%KitsRoot%Assessment and Deployment Kit\Deployment Tools\DandISetEnv.bat" call copype.cmd amd64 C:\WinPE_amd64 call MakeWinPEMedia.cmd /ISO C:\WinPE_amd64 C:\WinPE_amd64\WinPE_amd64.iso
yeah that is the right solution i want and again life-day saver Abbodi1406 ! Thank you so much Abbodi1406 P.S. "copype amd64 C:\WinPE_amd64" is okay , but "Makewinpemedia /iso C:\WinPE_amd64 C:\WinPE_amd64.iso" doesnt create iso at the root of C drive
i already added pause to the end to see the error but no way , it is being skipped after "copype amd64 C:\WinPE_amd64".. when it meets to "MakeWinPEMedia " command , it directly quits
Code: call copype.cmd amd64 C:\WinPE_amd64 call MakeWinPEMedia.cmd /ISO C:\WinPE_amd64 C:\WinPE_amd64\WinPE_amd64.iso
Yeah , this solved the problem..iso exists now Thank you very much Abbodi1406 and i am sorry for taking your time