How to make Windows 7 desktop read-only?

I have Windows 7 Professional on my home computer, 1 windows account, multiple users and... huge mess on desktop. I want to force other household members to save their temporary files and documents on NAS storage I bought. I know I can change the location of the desktop folder but it's not an option for me.

Is there any way to make windows desktop read-only?


Solution 1:

You could create a batch file that runs on startup that runs Icacls. This will change the Access Control List for a specific user on a certain directory. I haven't tried this on the Desktop folder and I'd rather not mess up my Desktop so you'll have to experiment. But I looked around and this seems to be how people are accomplishing this.

The Desktop is a "special" folder in Windows which is why I believe you need to have the batch file run on startup. I think that the ACL for the Desktop will get reset on reboot. Again, haven't tested this.

Here is a link to MS Technet detailing the usage of Icacls. Don't mind the fact that it says Windows Server. The command used to be called Cacls in XP but is being phased out in Windows 7 for Icacls.

http://technet.microsoft.com/en-us/library/cc753525(v=ws.10).aspx

Watch the spelling!!! I think I misspelled the command every time I typed in in this post. It is NOT "Icalcs".

Solution 2:

I just wanted to add to ickleislands answer and answer your last comment:

First off, setting the desktop folder to read-only is not best way to move forward on this, because you are all logging into windows using the one account.

You could try creating the various user accounts yourself (with passwords and put into the user groups they need) and then hand these account over to each user before they logon.

Then, as an alternative to setting the folder as read-only, you could create a shortcut from the original users desktop folder (the one with all the stuff in it) on say, your wife's desktop. When she needs to use a file from the old desktop, ask her to 'cut' files to her new desktop, rather than copy.

Remind each person who uses the computer why this is important (to prevent accidental data loss) and that it will save them time and frustration not having to wade through everyone else stuff if they take out only the files they need as they go. From time to time you may need to help push this process along, but at least the other people are helping with the work..