abbodi1406's Batch Scripts Repo

Discussion in 'Scripting' started by abbodi1406, May 4, 2017.

  1. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,226
    84,921
    340
  2. 3zero3

    3zero3 MDL Senior Member

    Apr 26, 2012
    421
    685
    10
    Works.
     
  3. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,226
    84,921
    340
  4. Fowler

    Fowler MDL Member

    Apr 1, 2013
    117
    97
    10
    #684 Fowler, Mar 31, 2019
    Last edited: Mar 31, 2019
    Dear @ abbodi1406!

    You could add Windows 10 Updates Installer (W10UI) to complement driver integration.
    It would be a great help.
    This integrator is best for me.

    Thanks in advance!

    Best regards,
    Fowler
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. phamtrungh

    phamtrungh MDL Novice

    Jul 29, 2011
    24
    1
    0
    #685 phamtrungh, Apr 11, 2019
    Last edited: Apr 11, 2019
    I installed Windows 8.1 using WHD-W81UI. I read all details in Readme.txt about adding & updating .NET 3.5 but my process didn't show anything related to it. Sr I can't capture screenshots 'cuz I forgot to "press any key...". When editing cmd I saw that "set net35=1" by default. I didn't change anything, also downloaded Additional\NET35. And my destination is to WIM file.

    Or installing .NET 3.5 is hidden process.

    Can anyone help me? Thanks in advance!
     
  6. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,226
    84,921
    340
    sxs folder must exist next to install.wim (i.e. choose install.wim from extracted iso\sources)
    or, mount Windows 8.1 iso as virtual DVD
     
  7. phamtrungh

    phamtrungh MDL Novice

    Jul 29, 2011
    24
    1
    0
    I've put wim file into separate folder, so this is wrong way, right?

    So if I want all options enable, I have to extract the iso file and just select wim file from there?
     
  8. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,226
    84,921
    340
    sxs folder is needed to enable NetFx3 feature
    it's easier to just mount Win 8.1 iso during process, the script will detect it
    otherwise, extract the whole iso and select \sources\install.wim as target
     
  9. phamtrungh

    phamtrungh MDL Novice

    Jul 29, 2011
    24
    1
    0
    Thanks you abbodi1406, I'll just extract the whole iso and let your cmd file do the rest, for making it easier.
    You da best!
     
  10. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,226
    84,921
    340
    W10UI v6.2

    - Fixed presence detection for 1903 CU
     
  11. vze2mp9g

    vze2mp9g MDL Addicted

    Oct 13, 2012
    660
    117
    30
    Hello,
    I love your W10MUI script. What is the format for the default language? For example

    set DEFAULTLANGUAGE=en-US

    Is this the correct format for English United States?
    Thank you.
     
  12. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,226
    84,921
    340
    Yes

    you can find the languages codes in Langs *.txt files
     
  13. MonarchX

    MonarchX MDL Expert

    May 5, 2007
    1,732
    313
    60


    Can you add some copy/paste method or logging to your W10UI script? I can't figure out how to copy/paste all the CMD stuff at the end of the process because pressing any button after the process is completek resuilts in termination of the window.
     
  14. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,226
    84,921
    340
    Right-click on cmd window title bar, Edit -> Select All
    then press Enter to copy, or click again on bar, Edit -> Copy

    p.s. no need to quote the whole thread
     
  15. MonarchX

    MonarchX MDL Expert

    May 5, 2007
    1,732
    313
    60
    Is there a change log for your W10UI scripts? What changed between 6.1 and 6.2? Does this look correct to you:

    1. ============================================================
    2. Running W10UI v6.2
    3. ============================================================

    4. ============================================================
    5. Extracting files from update cabinets (.cab)
    6. *** This will require some disk space, please be patient ***
    7. ============================================================

    8. 1/8: Windows10.0-KB4465065-v3-x64-MC.cab
    9. 2/8: Windows10.0-KB4480056-x64-NET1.cab
    10. 3/8: Windows10.0-KB4486153-x64-NET4.cab
    11. 4/8: Windows10.0-KB4486553-x64-NET2.cab
    12. 5/8: Windows10.0-KB4489192-x64-NET3.cab
    13. 6/8: Windows10.0-KB4493478-x64-Flash.cab
    14. 7/8: Windows10.0-KB4493509-x64-CU.cab
    15. 8/8: Windows10.0-KB4493510-x64-SS.cab

    16. ============================================================
    17. Mounting install.wim - index 1/1
    18. ============================================================

    19. Deployment Image Servicing and Management tool
    20. Version: 10.0.18356.1

    21. Mounting image
    22. [==========================100.0%==========================]
    23. The operation completed successfully.

    24. ============================================================
    25. Checking Updates...
    26. ============================================================

    27. ============================================================
    28. Installing servicing stack update...
    29. ============================================================

    30. Deployment Image Servicing and Management tool
    31. Version: 10.0.18356.1

    32. Image Version: 10.0.17763.1

    33. Processing 1 of 1 - Adding package Package_for_KB4493510~31bf3856ad364e35~amd64~~17763.402.1.1
    34. [==========================100.0%==========================]
    35. The operation completed successfully.

    36. ============================================================
    37. Installing updates...
    38. ============================================================

    39. Deployment Image Servicing and Management tool
    40. Version: 10.0.18356.1

    41. Image Version: 10.0.17763.1

    42. Processing 1 of 6 - Adding package Package_for_KB4465065~31bf3856ad364e35~amd64~~10.0.3.0
    43. [==========================100.0%==========================]
    44. Processing 2 of 6 - Adding package Package_for_KB4480056~31bf3856ad364e35~amd64~~10.0.1.2305
    45. [==========================100.0%==========================]
    46. Processing 3 of 6 - Adding package Package_for_KB4486153~31bf3856ad364e35~amd64~~10.0.1.2752
    47. [==========================100.0%==========================]
    48. Processing 4 of 6 - Adding package Package_for_DotNetRollup~31bf3856ad364e35~amd64~~10.0.1.2353
    49. [==========================100.0%==========================]
    50. Processing 5 of 6 - Adding package Package_for_DotNetRollup~31bf3856ad364e35~amd64~~10.0.1.2385
    51. [==========================100.0%==========================]
    52. Processing 6 of 6 - Adding package Package_for_KB4493478~31bf3856ad364e35~amd64~~10.0.1.0
    53. [==========================100.0%==========================]
    54. The operation completed successfully.

    55. Deployment Image Servicing and Management tool
    56. Version: 10.0.18356.1

    57. Image Version: 10.0.17763.1

    58. Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~17763.437.1.6
    59. [==========================100.0%==========================]
    60. The operation completed successfully.

    61. ============================================================
    62. Resetting OS image base
    63. ============================================================

    64. Deployment Image Servicing and Management tool
    65. Version: 10.0.18356.1

    66. Image Version: 10.0.17763.437

    67. [===== 9.8% ]
    68. [==========================100.0%==========================]
    69. The operation completed successfully.

    70. Deployment Image Servicing and Management tool
    71. Version: 10.0.18356.1

    72. Image Version: 10.0.17763.437

    73. [==========================100.0%==========================]
    74. The operation completed successfully.

    75. ============================================================
    76. Updating winre.wim
    77. ============================================================

    78. Deployment Image Servicing and Management tool
    79. Version: 10.0.18356.1

    80. Mounting image
    81. [==========================100.0%==========================]
    82. The operation completed successfully.

    83. Deployment Image Servicing and Management tool
    84. Version: 10.0.18356.1

    85. Image Version: 10.0.17763.1

    86. Processing 1 of 1 - Adding package Package_for_KB4493510~31bf3856ad364e35~amd64~~17763.402.1.1
    87. [==========================100.0%==========================]
    88. The operation completed successfully.

    89. Deployment Image Servicing and Management tool
    90. Version: 10.0.18356.1

    91. Image Version: 10.0.17763.1

    92. Processing 1 of 1 - Adding package Package_for_KB4465065~31bf3856ad364e35~amd64~~10.0.3.0
    93. [==========================100.0%==========================]
    94. The operation completed successfully.

    95. Deployment Image Servicing and Management tool
    96. Version: 10.0.18356.1

    97. Image Version: 10.0.17763.1

    98. Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~17763.437.1.6
    99. [==========================100.0%==========================]
    100. The operation completed successfully.

    101. Deployment Image Servicing and Management tool
    102. Version: 10.0.18356.1

    103. Image Version: 10.0.17763.437

    104. [===========================99.7%========================= ]
    105. The operation completed successfully.

    106. Deployment Image Servicing and Management tool
    107. Version: 10.0.18356.1

    108. Image Version: 10.0.17763.437

    109. [=========== 20.0% ]
    110. The operation completed successfully.

    111. Deployment Image Servicing and Management tool
    112. Version: 10.0.18356.1

    113. Image File : C:\Users\UserName\Desktop\WIP\Updates\w10\x64\winre.wim
    114. Image Index : 1
    115. Saving image
    116. [==========================100.0%==========================]
    117. Unmounting image
    118. [==========================100.0%==========================]
    119. The operation completed successfully.

    120. Deployment Image Servicing and Management tool
    121. Version: 10.0.18356.1

    122. Exporting image
    123. [==========================100.0%==========================]
    124. The operation completed successfully.

    125. ============================================================
    126. Adding updated winre.wim
    127. ============================================================

    128. 1 file(s) copied.

    129. ============================================================
    130. Unmounting install.wim - index 1/1
    131. ============================================================

    132. Deployment Image Servicing and Management tool
    133. Version: 10.0.18356.1

    134. Image File : C:\Users\UserName\Desktop\WIP\DVD\sources\install.wim
    135. Image Index : 1
    136. Saving image
    137. [==========================100.0%==========================]
    138. Unmounting image
    139. [==========================100.0%==========================]
    140. The operation completed successfully.

    141. ============================================================
    142. Rebuilding install.wim
    143. ============================================================

    144. Deployment Image Servicing and Management tool
    145. Version: 10.0.18356.1

    146. Exporting image
    147. [==========================100.0%==========================]
    148. The operation completed successfully.

    149. ============================================================
    150. Mounting boot.wim - index 1/2
    151. ============================================================

    152. Deployment Image Servicing and Management tool
    153. Version: 10.0.18356.1

    154. Mounting image
    155. [==========================100.0%==========================]
    156. The operation completed successfully.

    157. ============================================================
    158. Checking Updates...
    159. ============================================================

    160. ============================================================
    161. Installing servicing stack update...
    162. ============================================================

    163. Deployment Image Servicing and Management tool
    164. Version: 10.0.18356.1

    165. Image Version: 10.0.17763.1

    166. Processing 1 of 1 - Adding package Package_for_KB4493510~31bf3856ad364e35~amd64~~17763.402.1.1
    167. [==========================100.0%==========================]
    168. The operation completed successfully.

    169. ============================================================
    170. Installing updates...
    171. ============================================================

    172. Deployment Image Servicing and Management tool
    173. Version: 10.0.18356.1

    174. Image Version: 10.0.17763.1

    175. Processing 1 of 1 - Adding package Package_for_KB4465065~31bf3856ad364e35~amd64~~10.0.3.0
    176. [==========================100.0%==========================]
    177. The operation completed successfully.

    178. Deployment Image Servicing and Management tool
    179. Version: 10.0.18356.1

    180. Image Version: 10.0.17763.1

    181. Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~17763.437.1.6
    182. [==========================100.0%==========================]
    183. The operation completed successfully.

    184. ============================================================
    185. Resetting WinPE image base
    186. ============================================================

    187. Deployment Image Servicing and Management tool
    188. Version: 10.0.18356.1

    189. Image Version: 10.0.17763.437

    190. [===========================99.6%========================= ]
    191. The operation completed successfully.

    192. Deployment Image Servicing and Management tool
    193. Version: 10.0.18356.1

    194. Image Version: 10.0.17763.437

    195. [=========== 20.0% ]
    196. The operation completed successfully.

    197. ============================================================
    198. Unmounting boot.wim - index 1/2
    199. ============================================================

    200. Deployment Image Servicing and Management tool
    201. Version: 10.0.18356.1

    202. Image File : C:\Users\UserName\Desktop\WIP\DVD\sources\boot.wim
    203. Image Index : 1
    204. Saving image
    205. [==========================100.0%==========================]
    206. Unmounting image
    207. [==========================100.0%==========================]
    208. The operation completed successfully.

    209. ============================================================
    210. Mounting boot.wim - index 2/2
    211. ============================================================

    212. Deployment Image Servicing and Management tool
    213. Version: 10.0.18356.1

    214. Mounting image
    215. [==========================100.0%==========================]
    216. The operation completed successfully.

    217. ============================================================
    218. Checking Updates...
    219. ============================================================

    220. ============================================================
    221. Installing servicing stack update...
    222. ============================================================

    223. Deployment Image Servicing and Management tool
    224. Version: 10.0.18356.1

    225. Image Version: 10.0.17763.1

    226. Processing 1 of 1 - Adding package Package_for_KB4493510~31bf3856ad364e35~amd64~~17763.402.1.1
    227. [==========================100.0%==========================]
    228. The operation completed successfully.

    229. ============================================================
    230. Installing updates...
    231. ============================================================

    232. Deployment Image Servicing and Management tool
    233. Version: 10.0.18356.1

    234. Image Version: 10.0.17763.1

    235. Processing 1 of 1 - Adding package Package_for_KB4465065~31bf3856ad364e35~amd64~~10.0.3.0
    236. [==========================100.0%==========================]
    237. The operation completed successfully.

    238. Deployment Image Servicing and Management tool
    239. Version: 10.0.18356.1

    240. Image Version: 10.0.17763.1

    241. Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~17763.437.1.6
    242. [==========================100.0%==========================]
    243. The operation completed successfully.

    244. ============================================================
    245. Resetting WinPE image base
    246. ============================================================

    247. Deployment Image Servicing and Management tool
    248. Version: 10.0.18356.1

    249. Image Version: 10.0.17763.437

    250. [===========================99.6%========================= ]
    251. The operation completed successfully.

    252. Deployment Image Servicing and Management tool
    253. Version: 10.0.18356.1

    254. Image Version: 10.0.17763.437

    255. [=========== 20.0% ]
    256. The operation completed successfully.

    257. ============================================================
    258. Unmounting boot.wim - index 2/2
    259. ============================================================

    260. Deployment Image Servicing and Management tool
    261. Version: 10.0.18356.1

    262. Image File : C:\Users\UserName\Desktop\WIP\DVD\sources\boot.wim
    263. Image Index : 2
    264. Saving image
    265. [==========================100.0%==========================]
    266. Unmounting image
    267. [==========================100.0%==========================]
    268. The operation completed successfully.

    269. ============================================================
    270. Rebuilding boot.wim
    271. ============================================================

    272. Deployment Image Servicing and Management tool
    273. Version: 10.0.18356.1

    274. Exporting image
    275. [==========================100.0%==========================]
    276. Exporting image
    277. [==========================100.0%==========================]
    278. The operation completed successfully.

    279. ============================================================
    280. Removing temporary extracted files...
    281. ============================================================


    282. ============================================================
    283. Finished
    284. ============================================================


    285. Press any key to exit.

    ???
     
  16. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,226
    84,921
    340
  17. weberio

    weberio MDL Member

    Nov 22, 2016
    108
    35
    10
    No possible work in red destinarion, \\cumputer_name_or_IP ?
     
  18. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,226
    84,921
    340
    Q not understood

    but if you mean network path shares, i don't think it work
    the script use multiple cd /d cmmands
     
  19. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,226
    84,921
    340
    So I want to install .NET Framework 3.5 aka "dotNetFx35_WX" on to Windows 10 LTSC v17763.107. Do I just install dotNetFx35_WX like any other package after I install windows, or is there a special order/procedure I have to do? Thanks.