troubleshooting Question

Problems running Script via SCCM 2007 R3

Avatar of compdigit44
compdigit44 asked on
Windows XPWindows Server 2008Windows 7
26 Comments1 Solution912 ViewsLast Modified:
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...
pushd c:\
erase /F /Q "C:\Documents and Settings\All Users\Start Menu\Programs\Startup\Program123.lnk"

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 26 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 26 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros