Hi, I am what you would call a Newb at scripting. I have managed to cobble together from many sources on the web a script that mostly works for me.
Here is what I am going for:
We have a school environment with about 25 pcs. Due to the learning software that they use, we can't lock down the pcs as much as I would like. I am trying to find a way to delete the crap that gets added to the desktop and restore the things that should be on the desktop. Getting rid of the stuff is relatively easy, but getting the proper things back is causing me problems. Right now I am trying to pull the icons out of a different profile and copy them to the proper location, but this doesn't work when running in the security context of the user. I tried setting it as the login script in the group policy, but same issue.
The question is: is there a way to get around this security restriction (assuming that is the issue at hand) short of making a folder with all of the shortcuts and giving the students permissions on that folder. I don't want to allow them to do anything more than they already can on these boxes, and the people at the site don't seem to understand that they need to keep an eye on the kids to prevent them from needing us to restore the boxes on a regular basis.
Thanks for any help,
Mike
"Maturity is a bitter disappointment for which no remedy exists, unless laughter can be said to remedy anything."
-Vonnegut
Here is what I am going for:
We have a school environment with about 25 pcs. Due to the learning software that they use, we can't lock down the pcs as much as I would like. I am trying to find a way to delete the crap that gets added to the desktop and restore the things that should be on the desktop. Getting rid of the stuff is relatively easy, but getting the proper things back is causing me problems. Right now I am trying to pull the icons out of a different profile and copy them to the proper location, but this doesn't work when running in the security context of the user. I tried setting it as the login script in the group policy, but same issue.
The question is: is there a way to get around this security restriction (assuming that is the issue at hand) short of making a folder with all of the shortcuts and giving the students permissions on that folder. I don't want to allow them to do anything more than they already can on these boxes, and the people at the site don't seem to understand that they need to keep an eye on the kids to prevent them from needing us to restore the boxes on a regular basis.
Thanks for any help,
Mike
"Maturity is a bitter disappointment for which no remedy exists, unless laughter can be said to remedy anything."
-Vonnegut