Is there a way to change the permissions of a series of directories on Windows 7 without getting a dialog box when it can't change the rights?
Posted
by
leeand00
on Server Fault
See other posts from Server Fault
or by leeand00
Published on 2012-10-03T18:15:26Z
Indexed on
2012/10/03
21:42 UTC
Read the original article
Hit count: 160
Is there some way to change the permissions recursively on a series of directories without getting a dialog box that pops up and tells me it can't change the permissions on a particular file?
I keep getting this dialogs multiple times duing the process of changing permissions:
An error occurred while applying security information to:
C:\pagefile.sys
The process cannot access the file because it is being used another process.
Eventually I get so many of them that I start clicking the mouse or pressing the space bar so many times that I accidentally click the cancel button.
Also it would be great if I could keep a log of which files it can't change permissions on.
Is this possible in Windows 7? Does it have to be done from the command prompt or from powershell?
© Server Fault or respective owner