I have a batch file to automate some things for slipstreaming windows in that batch file i want to change the wallpaper so in that script he takes C:\mount\Windows\Web\Wallpaper\Windows over by command: (take ownership) icacls C:\mount\Windows\Web\Wallpaper\Windows /grant administrators:F /T Then i get: access denied? what do i wrong? gr. Dio
Take ownership before giving permissions: takeown /f Directory /r /d y icacls Directory /grant *S-1-5-32-544:F /T
I would be very careful or not use "Take Ownership" at all... It always screws up my Windows permissions. They eventually stop working and I have to run everything as administrator any .exe to work. Windows 8.1 is extremely sensitive to permissions. Last time using "Take Ownership" prevented me from the option "run as administrator" in shortcut or .exe file properties from sticking. The only it would stick is if I'd go into "Change Settings for All Users" menu and select "run as administrator" from there. The funny thing is that I only took ownership of games folders, not Windows or Program Files or any of that.