I got your script to work after actually pinning cmd.exe to the start menu. It doesn't seem to work when you try to unpin the shortcut link to cmd.exe.
Change "Unp&in from Start Menu" to P&in to Start Menu" and you'll see what I'm talking about. Not sure what the solution is but thought I'd point that out.
Main Topics
Browse All Topics





by: rsivanandanPosted on 2009-09-04 at 09:36:17ID: 25261229
Can't you use GPO to do this, the most easiest way, there are options to turn off which ever things you don't want.
Cheers,
Rajesh