Windows 7 Hotfix repository

Discussion in 'Windows 7' started by SoLoR, May 22, 2010.

  1. burfadel

    burfadel MDL EXE>MSP/CAB

    Aug 19, 2009
    2,623
    3,855
    90
    I might start packaging it in an exe then for the next version (next month's security release most likely) in case others run in to the same issue. It shouldn't happen, an I can't recreate it here.

    If I run the normal script as administrator, it does ask where the updates are (because of the system32 issue), but with the test 4 script correction it does work from the original location. I don't know why I can't recreate the issue you are having here, but it's definitely related to the changing of path bug. Scripts aren't loaded into memory when run, they seem to run command by command (if you open the script, modifiy it, save it, and select another option in it, it will actually use alterations!). So, basically what is happening for you is it's like the script has been 'deleted', and therefore can't be run, because the script can't be found.
     
  2. Stimpy88

    Stimpy88 MDL Senior Member

    Mar 24, 2011
    401
    240
    10
    Well it seems like the .EXE format is the way to go. There must be some security measure in Win8 that prevents DOS or BAT & CMD files from executing if its not located on the OS Drive.
     
  3. burfadel

    burfadel MDL EXE>MSP/CAB

    Aug 19, 2009
    2,623
    3,855
    90
    It's actually a longstanding bug in Windows, and if anything it is a security risk. Not for the installer of course, but potentially for other files. The security risk occurs because of the change of folder to 'C:\Windows\System32', which if you were to define the most important folder on the computer that would be it! (of course many other folders are critical too, but system32 is by far the most exceedingly critical).
     
  4. burfadel

    burfadel MDL EXE>MSP/CAB

    Aug 19, 2009
    2,623
    3,855
    90
    Does the same thing happen when you use the 'Old Update Remover'?
     
  5. Stimpy88

    Stimpy88 MDL Senior Member

    Mar 24, 2011
    401
    240
    10
    Hi Burf, Yeah, it's exactly the same. With UAC totally disabled it will run without admin rights, but if you use admin rights the dos box opens and closes almost instantly. (if not run from the OS drive.)
     
  6. McRip

    McRip MDL Addicted

    Aug 15, 2011
    935
    3,418
    30
    #6687 McRip, Oct 17, 2012
    Last edited by a moderator: Apr 20, 2017
    Windows 8 has two more reg entries which do not allow scripts to run when double-clicked or right-clicked. That means the UAC disabled setting pretends to be disabled completely.

    To disable UAC on Windows 8 completely apply the following reg file and reboot Windows 8. Then you only need to double-click the cmd file and it should work:

    Code:
    Windows Registry Editor Version 5.00
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
    "ConsentPromptBehaviorAdmin"=dword:00000000
    "EnableInstallerDetection"=dword:00000000
    "EnableLUA"=dword:00000000
    "EnableSecureUIAPaths"=dword:00000000
    "EnableUIADesktopToggle"=dword:00000000
    "PromptOnSecureDesktop"=dword:00000000
    "ValidateAdminCodeSignatures"=dword:00000000
    "dontdisplaylastusername"=dword:00000000
    "FilterAdministratorToken"=dword:00000000
    
    
     
  7. burfadel

    burfadel MDL EXE>MSP/CAB

    Aug 19, 2009
    2,623
    3,855
    90
    Funny thing is for me it works (including 'run as administrator') with just changing EnableLUA to 0. I still have some of those other settings set to their default values. It would be good to work out the root cause of the issue.

    Are the temp folder locations in the standard places or have they been changed to another drive etc?
     
  8. woniu

    woniu MDL Member

    Aug 1, 2009
    132
    52
    10
    It works for me without changing anything. win8x64 pro
     
  9. McRip

    McRip MDL Addicted

    Aug 15, 2011
    935
    3,418
    30
    On my test Windows 8 I had to apply the reg settings, too. Without, it didn't work at all. I'd be the best to package it in an exe which must be run as Administrator and extracts the cmd files in the folder where the updates are stored, just as I did it with the exe file.
     
  10. Stimpy88

    Stimpy88 MDL Senior Member

    Mar 24, 2011
    401
    240
    10
    Nope, the temp files are all default, my OS disk is Drive C:, so no strange setup.

    It's strange that this seems to be different for you Burf, but I can say that I didn't realise that UAC was not fully disabled on my system, until it came up in this thread. Now I have used the reg settings kindly provided by McRip. After the reboot, the behaviour has not changed, but at least it works, as long as I don't use Run As Administrator.
     
  11. pegasus80

    pegasus80 MDL Senior Member

    Nov 23, 2009
    259
    538
    10
    On my test setup w/ win8 x64, I have to use the reg file that I got from a friend w/c is the same as Mcrip in order to totally disable UAC.
     
  12. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    18,611
    100,037
    340
    same thing works with me
    but i ran it from my OS Drive
     
  13. sgegreen

    sgegreen MDL Novice

    May 5, 2012
    40
    77
    0
    Many thanks to komm for releasing the latest version of KUC for Windows 7.

    I was starting to worry that everyone had deserted Windows 7 for the delights of Windows 8...
     
  14. tomorrow

    tomorrow MDL Addicted

    Jul 3, 2008
    722
    263
    30
    If only there "were" delights in Win8. From my own testing it's more like every advanced function i want to perform is made 3x harder by MS and thus reducing productivity.
     
  15. RickSteele

    RickSteele MDL Addicted

    Nov 12, 2009
    833
    483
    30
    I will not be purchasing or loading Windows 8 in any way. I agree with McRip-a total and complete disaster. If M$ pursues this type of OS I'll be going to Linux or Mac when Windows 7 is no longer supported.
     
  16. tistou77

    tistou77 MDL Guru

    Mar 22, 2008
    2,208
    738
    90
    McRip

    KB2618517 is superseded by KB2756651
    KB2647753-v3 is superseded by KB2647753-v4
     
  17. McRip

    McRip MDL Addicted

    Aug 15, 2011
    935
    3,418
    30
    THX for the info.

    There ain't no KB2647753-v4 available.

    18.10.2012

    Removed:
    KB2618517
     
  18. McRip

    McRip MDL Addicted

    Aug 15, 2011
    935
    3,418
    30