celticfan11
OSNN Senior Addict
- Joined
- 20 Jan 2003
- Messages
- 744
Stop users from adding desktop icons to the desktop, via GPO in server 2003.
Thanks in advance
This site may help?
http://technet2.microsoft.com/Windo...8784-4b8d-ba1f-ba1882ba83741033.mspx?mfr=true
Check out this part of the document.
Appendix B: Non-Administrators Local Group Policy Settings
Person who posted here was getting the same error.you are not using csript for the scripting engine.
That is what i did.May have been easier to just make desktops read only ?
? why didn't you just run the script with cscript instead of going through all that?
Code:cscript <myscriptfile.vbs>
no, i was referring to having to add a line in to change the default script host to cscript. You don't have to if you just run the vbs script by calling cscript.exe first (cscript <filename>). It won't prompt or cause any of the other problems.
I know it's not really much so maybe the use of the phrase "through all of that" was a little exaggerated.:s
yes.. if you calling the vbs script from a batch file, in the batch file, just add the line "cscript <filename> <parameters>"