Solved

Prohibit New Items on Desktop - but Allow Changing Current Items

Posted on 2009-05-15
8
386 Views
Last Modified: 2013-11-25
I would like to set up our users computers, so that they cannot save new items to the desktop. But I still want them to be able to edit their timecard which is already on the desktop.

We have group policy set up on a Win Server 2003 box, so if there's a viable option in there - I'll take it.

I've tried changing the permissions of the users desktop folder to read-only with CACLS, and then changing the permissions on the timesheet to full control. That stops them from adding anything new, but they also still can't save at all - I don't understand why, since the effective permissions on the file is full control.

I can do logon scripts, kixtart, group policy, or even manually if I really have to. But it's not such a critical thing that I want to purchase software for it.

Any thoughts?
0
Comment
Question by:spamster
  • 5
  • 2
8 Comments
 
LVL 82

Accepted Solution

by:
oBdA earned 500 total points
Comment Utility
How about moving the timesheet file itself into another folder where the user has write access, and instead putting a shortcut to it on the desktop?
0
 
LVL 7

Author Comment

by:spamster
Comment Utility
That'd work as a work-around... even if it's not the answer I was looking for :)

As a side note - I also tried removing the user from the desktop's ACL, and then only giving them permission to the timesheet. Unfortunately everything on the desktop disappeared.

I'll wait to see if there are any other ideas, and in the mean time work on a script that will move the timesheet over to their mapped documents folder (U:), and replace it with a shortcut.
0
 
LVL 82

Expert Comment

by:oBdA
Comment Utility
The issue might be the timesheet program. If it, for example, first saves to a temporary file, then deletes the original file and finally renames the temp file, there's no other workaround.
0
 
LVL 7

Author Comment

by:spamster
Comment Utility
Ahhh... hadn't thought of that. It's an Excel file, so that's probably what's happening...
0
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
LVL 3

Expert Comment

by:hotwire-p
Comment Utility
If it's an Excel file then what oBdA suggests above will be the issue; Excel saves by saving your changes to a temp file, deleting the original file then replacing it with the temp version. Full details on this can be found on the MS KB here: http://support.microsoft.com/kb/271513/en-us

If you need them to have access from the desktop to a timesheet but don't want them putting anything else on there I'd put the timesheet in their home or profile folders on your network where I'm assuming they do have write access, then put a shortcut onto the read-only desktop. That way excel will be happy as it will have a folder it can write new content to, but your end users will still have a read-only desktop.

NB: If you did this and the desktop folder is read only and you don't change the ACL on the shortcut, they will also be unable to delete the shortcut.


0
 
LVL 7

Author Comment

by:spamster
Comment Utility
Ok, I ended up using Kixtart to check if there was already a timesheet on the desktop, if so, it copies it to their documents folder.
Then it creates a new shortcut to that timesheet and finally calls a batch file that uses cacls to make their desktop read-only.
0
 
LVL 7

Author Comment

by:spamster
Comment Utility
@hotwire-p Thanks to you too, you wrote it out very clearly, but it was the same suggestion as oBdA.

I appreciate both of your help
Hopefully I'll be able to repay that one day.
0
 
LVL 7

Author Closing Comment

by:spamster
Comment Utility
Thanks man, I appreciate the help.
0

Featured Post

Easy Project Management (No User Manual Required)

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

It was Monday morning and while heading to work those familiar feelings of frustration began to rise: How was I ever going to get my yard work done?! At the end of every weekend I discovered that I spent more time trying to decide what to work on th…
Know what services you can and cannot, should and should not combine on your server.
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now