Did you compile with a manifest for elevation. It's possible you are spawning a non-admin session when you call the cmd from VB.
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 " & Temp & "/takemyfiles.bat" Dim L = Process.Start(TakeOwn) Do Until L.HasExited System.Threading.Thread.Sleep(100) Loop The verb "runas" indicates should run as admin, and my manifest specifies Admin: Code: <requestedExecutionLevel level="highestAvailable" uiAccess="false" />
ok i dunno but i think i fixed it somehow i disabled windows defender and i run the command you posted in cmd as admin and downloaded the app you posted thanks mate its working
Okay, i give up.. It looks like it won't happen. Used all scrips, files and the login changer and the trythis version. Nothing seems to work. Thanks for all the things you guys have tried to help me with but it seems that i just can't change the background. Back to Win 8.1 then..
LOL. I have already ask people here if this is going to do the same thing as UXstyle and UltraUXThemePatcher with the stupid bug when you uninstall it, it will give you a black screen at the login. !##! UXstyle said they fix that so I uninstall it last night and got the $#!#!! black screen at log in so I have to reset Windows 8.1 again to do my Windows 10 upgrade. I guessed I will stay away from this if this is doing the same black screen crap.
No, I'm talking about the UXstyle. SFC /SCANNOW couldn't fix it. I probably could have fix it if I remove the OS SSD drive and access it on another computer and probably change the file back to it original but it was too late.
All you had to do was boot from the media press shift + f10, type notepad,exe, find the file and replace it with the backup Reboot and fixed
I found that if you use the recovery option from the boot disc, then click the image recovery button, you can use the "find driver" option to use as a file explorer with cut, paste and delete options. That's how I avoided a reset.
So I have a theory that takeown and icacls can't be run in a hidden command prompt, so for the next version you will see a prompt flash for a second. Someone that previously had troubles, please tell me if this works.
Greetings. I too have the black screen. I replaced the deleted the PRI and replaced it with the PRI.bak and I still have a black screen. Are they supposed to be 0kb files?