08-14-2016, 09:11 PM
I pulled this from our forums to share with ya'll. The original poster was QL. He was our modder before work took up all his life:
And now today's lesson on OS manipulation.
Ownership and permissions are the root cause of all your patch implosions. How do I know? Aside from debugging most of you and watching the logs for flags, I run the same stuff you do though I use it differently. For me, fouling a patch requires me to actively bork it intentionally. Yes, I know a great deal about computers. Yes, I have a certain moral ambiguity when it comes to "handling" software. Yes, all this stuff comes easy to me. It's what I do and have been for a living back to the time I still had hair on my noggin.
So how in the world can I make you see or get what I'm trying to ultimately teach you about UAC? I hit a wall at times explaining it so I fall back to a certain skill set that makes me very fluent with software. Rather than embedding little toys in the patch to make your machines do what I want them to do, I'm going to give you something. Something very powerful and I urge you not to use it willy nilly. Used on the wrong stuff this can get a little ugly.
READ ALL OF IT AND READ IT CAREFULLY
This is for W7-W10 users ONLY
The following is the text for a regedit file that will install entries onto your boxes. It will add an option to your right click shell menu that will grant ownership and Admin privs to YOU on your box for whatever file or folder (incl subs) that you use it on. It is currently configured for ME atm but I will explain how to mod it so it's specific to you.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\runas]
@="Take Ownership"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\*\shell\runas\command]
@="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant Quantumloop:F"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
[HKEY_CLASSES_ROOT\Directory\shell\runas]
@="Take Ownership"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\Directory\shell\runas\command]
@="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant Quantumloop:F /t"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"
Copy the text verbatim and slap it into a .txt file.
This is an essential element ... the word Quantumloop:F (seen twice) must be changed to <yourcurrentusername>:F and it must match YOUR CURRENT USERNAME exactly for the account you use to log into Windows.
For example .. if Glock were to use this (heaven forbid) and his actual W7/8 username was ToenailBiter then the text would change from Quantumloop:F to ToenailBiter:F
When you are convinced your syntax is perfect, save the file, change the extension from .txt to .reg and click it. Once run I would encourage you to right click the Freelancer folders and apply it. Every file and folder in there will be reset with you as an appropriate authority. Though second in command of your comp you'll have the "juice" to do things, like patch, those contained files without a lotta bull<cough>.
I'm begging you. If you have any trepidations about this, do not monkey with it but instead MAIL ME. I'll write one specifically for your computer. AND for the love of PETE, don't start taking ownership/permissions of stuff you haven't a clue about. There are things in the OS that must be kept out of your hands.
This pic is what it'll look like when done. Naturally I'm an arrogant soag so mine says Take OwnershipQ Cheesy
http://i1364.photobucket.com/albums/r728...7ebd18.png
When used on large folders you'll see a cmd prompt pop up and hundreds of lines of text pouring through it. Relax. That's what's supposed to happen. The FLPTC folder, for example, has 11K+ files and hundreds of folders it will be changing, and changing twice (owner/privilege) so it can take a few seconds to chew through them. Naturally, the use of this is optional. OH YA. There's nuttin' shady about this either. MSC, WAT, and WGA will still love you.
Next week I'll teach you how to remote edit the micro chip in Glocks refrigerator to change his chocolate milk into toejam. Wink
-Q
PS:
The following lines in a .reg file will remove the right click option.
Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT\*\shell\runas]
[-HKEY_CLASSES_ROOT\Directory\shell\runas]
And now today's lesson on OS manipulation.
Ownership and permissions are the root cause of all your patch implosions. How do I know? Aside from debugging most of you and watching the logs for flags, I run the same stuff you do though I use it differently. For me, fouling a patch requires me to actively bork it intentionally. Yes, I know a great deal about computers. Yes, I have a certain moral ambiguity when it comes to "handling" software. Yes, all this stuff comes easy to me. It's what I do and have been for a living back to the time I still had hair on my noggin.
So how in the world can I make you see or get what I'm trying to ultimately teach you about UAC? I hit a wall at times explaining it so I fall back to a certain skill set that makes me very fluent with software. Rather than embedding little toys in the patch to make your machines do what I want them to do, I'm going to give you something. Something very powerful and I urge you not to use it willy nilly. Used on the wrong stuff this can get a little ugly.
READ ALL OF IT AND READ IT CAREFULLY
This is for W7-W10 users ONLY
The following is the text for a regedit file that will install entries onto your boxes. It will add an option to your right click shell menu that will grant ownership and Admin privs to YOU on your box for whatever file or folder (incl subs) that you use it on. It is currently configured for ME atm but I will explain how to mod it so it's specific to you.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\runas]
@="Take Ownership"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\*\shell\runas\command]
@="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant Quantumloop:F"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
[HKEY_CLASSES_ROOT\Directory\shell\runas]
@="Take Ownership"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\Directory\shell\runas\command]
@="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant Quantumloop:F /t"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"
Copy the text verbatim and slap it into a .txt file.
This is an essential element ... the word Quantumloop:F (seen twice) must be changed to <yourcurrentusername>:F and it must match YOUR CURRENT USERNAME exactly for the account you use to log into Windows.
For example .. if Glock were to use this (heaven forbid) and his actual W7/8 username was ToenailBiter then the text would change from Quantumloop:F to ToenailBiter:F
When you are convinced your syntax is perfect, save the file, change the extension from .txt to .reg and click it. Once run I would encourage you to right click the Freelancer folders and apply it. Every file and folder in there will be reset with you as an appropriate authority. Though second in command of your comp you'll have the "juice" to do things, like patch, those contained files without a lotta bull<cough>.
I'm begging you. If you have any trepidations about this, do not monkey with it but instead MAIL ME. I'll write one specifically for your computer. AND for the love of PETE, don't start taking ownership/permissions of stuff you haven't a clue about. There are things in the OS that must be kept out of your hands.
This pic is what it'll look like when done. Naturally I'm an arrogant soag so mine says Take OwnershipQ Cheesy
http://i1364.photobucket.com/albums/r728...7ebd18.png
When used on large folders you'll see a cmd prompt pop up and hundreds of lines of text pouring through it. Relax. That's what's supposed to happen. The FLPTC folder, for example, has 11K+ files and hundreds of folders it will be changing, and changing twice (owner/privilege) so it can take a few seconds to chew through them. Naturally, the use of this is optional. OH YA. There's nuttin' shady about this either. MSC, WAT, and WGA will still love you.
Next week I'll teach you how to remote edit the micro chip in Glocks refrigerator to change his chocolate milk into toejam. Wink
-Q
PS:
The following lines in a .reg file will remove the right click option.
Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT\*\shell\runas]
[-HKEY_CLASSES_ROOT\Directory\shell\runas]