I'm trying to push out a script via SCCM 2007 R3 that will remove a link from "ALL Users" Start Menu. If I run the script locally is works perfectly. When I runs via SCCM the shortcut is not removed from the start menu. I believe SCCM is getting comfused as to teh correct working directory to run the script again. I have tried using the PUSHD command but nothing seems to be workings. I have been on this for days which is driving me crazy because it shold be so simple.
Here is a sample of my script below...
erase /F /Q "C:\Documents and Settings\All Users\Start Menu\Programs\Startup\Program123.lnk"