JFX Posted April 21, 2011 Author Share Posted April 21, 2011 @ilko_t & BlueLife,happy you like it @ click-clickwith windows vista and later most system files belong the "Trusted Installer", no sure why this is so.At least this is no real security feature, since every elevated process can simply change the ownership.Windows 7 have takeown.exe and icacls.exe to change the rights, but if you also need to do this under Windows XP, SetACL is a better option.Here a batch file example to change the permission of 3 files, so everyone with admin rights can use them, as he like.@echo offfor %%c in ("D:\Windows\System32\eventvwr.msc" "D:\Windows\System32\compmgmt.msc" "D:\Windows\System32\gpedit.msc" ) do ( SetACL.exe -ot file -on "%%c" -actn setowner -ownr "n:S-1-5-32-544;s:y" SetACL.exe -ot file -on "%%c" -actn ace -ace "n:S-1-5-32-544;p:full;s:y")Not sure what the problem with power schemes and the reg file is, can you give more details?Also there is powercfg.exe that can export and import power settings. Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now