abbodi1406's Batch Scripts Repo

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

  1. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,209
    90,784
    340
  2. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,668
    103,496
    450
  3. weberio

    weberio MDL Member

    Nov 22, 2016
    110
    35
    10
  4. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,209
    90,784
    340
  5. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,209
    90,784
    340
  6. l33tissw00t

    l33tissw00t MDL Addicted

    Dec 6, 2012
    819
    522
    30
  7. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,209
    90,784
    340
    uup-converter-wimlib v37

    - Fixed single install.wim/install.esd creation

    - Improved CAB->ESD process to avoid temporary folder confliction issue
     
  8. armond

    armond MDL Addicted

    Jun 16, 2008
    737
    240
    30
    Hi there,
    So I'm trying to prevent OneDrive from installing via editing the NTUSER.DAT. Windows 10 v1903. When I edit the file and remove this lines
    Code:
    OneDriveSetup   ÿÿÿX : \ W i n d o w s \ S y s W O W 6 4 \ O n e D r i v e S e t u p . e x e   / t h f i r s t s e t u p
    
    I receive some error message saying Windows cannot complete setup.
    So, some, or all those ðÿÿÿlh°V Áøˆ€¸þÿÿlh characters and also extra spaces should be removed as well?
    Thanks as always for your helps.
     
  9. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,209
    90,784
    340
    I ment mount the file as registry hive :)
    Code:
    reg load HKLM\TEMP Z:\Users\Default\NTUSER.DAT
    reg delete HKLM\TEMP\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v OneDriveSetup /f
    reg unload HKLM\TEMP
    if you are using setupcomplete.cmd, try adding this command
    Code:
    reg delete HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v OneDriveSetup /f
     
  10. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,209
    90,784
    340
  11. armond

    armond MDL Addicted

    Jun 16, 2008
    737
    240
    30
    Ah, I never thought that file can be treated in this way!:):) Thanks.
     
  12. armond

    armond MDL Addicted

    Jun 16, 2008
    737
    240
    30
    BTW, so is it possible to add/edit keys in HKEY_CLASSES_ROOT\ in this way? It would be interesting. Thanks.
     
  13. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,209
    90,784
    340
    Yes
    System wide HKEY_CLASSES_ROOT = HKEY_LOCAL_MACHINE\SOFTWARE\Classes

    User level would HKLM\TEMP\SOFTWARE\Classes (loaded ntuser.dat)
     
  14. garf02

    garf02 MDL Member

    Sep 15, 2007
    186
    71
    10
    With this script the SSU won't integrate or install on live system, the integration/installation finish with Error: 0x80092004, for integrate or install this SSU is necessary:
    1 - the old SSU KB4490628
    2 - the SHA-2 KB4474419-v3
    3 - the new SSU KB4516655
     
  15. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,209
    90,784
    340
    Thanks
    now i see that KB4516655 is signed sha256 only

    bad Microsoft
     
  16. garf02

    garf02 MDL Member

    Sep 15, 2007
    186
    71
    10
    But I don't understand why the old SSU is also needed otherwise it won't work :confused::confused:
     
  17. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,209
    90,784
    340
    Did you try to install KB4474419-v3 alone first?
    if it works, then SSU KB4490628 is not needed per se