Windows 10 Login Screen Background Changer! [Uploaded to GitHub!]

Discussion in 'MDL Projects and Applications' started by Krutonium, Jul 13, 2015.

  1. Krutonium

    Krutonium MDL Senior Member

    Aug 27, 2013
    409
    285
    10
    Interesting... In any case, I just caught a bug in there that would be a little pain if not fixed, so I fixed that ;)


    What color should it default to if you click Cancel?
     
  2. labvxe

    labvxe MDL Expert

    Mar 24, 2015
    1,375
    163
    60
    I don't know good icon :)
    But anything except for dog paw :D

    Bug found: When you select choose a background and click cancel in the file dialog it says "Not a Valid File"
     
  3. Krutonium

    Krutonium MDL Senior Member

    Aug 27, 2013
    409
    285
    10
    When you click cancel it still runs through some code to check if it is a valid file... So this makes sense. I'll see about changing this.

    Edit: Done.
     
  4. labvxe

    labvxe MDL Expert

    Mar 24, 2015
    1,375
    163
    60
    Got it just makin sure thanks bud :)
     
  5. White Wizard

    White Wizard MDL Junior Member

    Jul 3, 2013
    61
    4
    0
    ok. it's not working for me , but I lunched the app using windows 7 and I see the app UI.
     
  6. labvxe

    labvxe MDL Expert

    Mar 24, 2015
    1,375
    163
    60
    BTW

    Did u modify the script to use the takeown and ICAcLS commands or no?

    For those who haven't yet unlocked the file it would be a lot of help
     
  7. Krutonium

    Krutonium MDL Senior Member

    Aug 27, 2013
    409
    285
    10
  8. vohphuong

    vohphuong MDL Novice

    Oct 30, 2012
    12
    1
    0
    Help me !!
     

    Attached Files:

  9. labvxe

    labvxe MDL Expert

    Mar 24, 2015
    1,375
    163
    60
    It's cause the file is extremely protected by the operating system
    I posted a tutorial on how to unlock if the. Let me find it really quick

    @krutonium
    The ability to unlock the file at the beginning of the gui is crucial. That's why everybody running into unhandled exceptions
     
  10. Krutonium

    Krutonium MDL Senior Member

    Aug 27, 2013
    409
    285
    10
    #195 Krutonium, Jul 18, 2015
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Code:
    Dim TakeOwn As New ProcessStartInfo        
            TakeOwn.UseShellExecute = True
            TakeOwn.WorkingDirectory = System.Environment.GetEnvironmentVariable("windir")
            TakeOwn.Verb = "runas"
            TakeOwn.WindowStyle = ProcessWindowStyle.Hidden
            TakeOwn.FileName = "cmd.exe"
            TakeOwn.Arguments = "/c takeown /F %CD%\SystemResources\Windows.UI.Logon"
            Process.Start(TakeOwn)
            TakeOwn.Arguments = "/c takeown /F " & PRIFileSource
            Process.Start(TakeOwn)
            TakeOwn.Arguments = "/c icacls " & PRIFileSource & " /setowner ""Administrators"" /T /C"
            Process.Start(TakeOwn)
            TakeOwn.Arguments = "/c icacls %CD%\SystemResources\Windows.UI.Logon /grant Everyone:(OI)(CI)F"
            Process.Start(TakeOwn)
            If File.Exists(PRIFileSource & ".bak") = False Then
                File.Copy(PRIFileSource, PRIFileSource & ".bak")
                MsgBox("Backup created.")
            End If
    This runs before the GUI even opens.
     
  11. vohphuong

    vohphuong MDL Novice

    Oct 30, 2012
    12
    1
    0
    thank you:clap::clap::clap:
     

    Attached Files:

  12. labvxe

    labvxe MDL Expert

    Mar 24, 2015
    1,375
    163
    60
    @Krutonium

    Awesome thanks bud :D
     
  13. White Wizard

    White Wizard MDL Junior Member

    Jul 3, 2013
    61
    4
    0
    Stupid Windows Smart Screen was not allowing the app to run, I turned it off and now it works
     
  14. Mr Jinje

    Mr Jinje MDL Expert

    Aug 19, 2009
    1,769
    1,106
    60
    #199 Mr Jinje, Jul 18, 2015
    Last edited by a moderator: Apr 20, 2017
    Does this unlock it ?

     
  15. Krutonium

    Krutonium MDL Senior Member

    Aug 27, 2013
    409
    285
    10