Forums on Intune, SCCM, and Windows 11

Welcome to the forums. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your topics and posts, as well as connect with other members through your own private inbox!

NEW simple TS will not delete a single file and will not show anything under SMSTS.log

  • Thread starter Thread starter Nscott
  • Start date Start date
  • Replies Replies 2
  • Views Views 2K

Nscott

Member
Messages
9
Reaction score
1
Points
3
Morning All,
We've changed our HRIS system recently. I've placed the new shortcut on the desktop and now we're ready to remove the old and now dead shortcut.
I put a task sequence together to remove the old lnk file, which wouldn't work... so after numerous prodding i've just created a simple txt file in a folder and made a TS to delete that file, and still no go. it's just stuck on "Installing" within software center.

1. Task sequence > Run Command line
Tried the following
- cmd /c del /q /f c:\temp\test.txt
- cmd /c del /q c:\temp\test.txt

2. i've been able to successfully delete the files within a command prompt window (admin and non admin)

3. tried powershell as well using
- remove-item "C:\temp\test.txt"
- ran this via bypass

I feel like this previously has worked, so i'm not sure what is going on at the moment.Screenshot 2023-10-23 at 9.49.40 AM.png
 
I ended up switching to a package calling to a BAT file which worked and worked quickly.

Day before yesterday i created another TS calling to a program within a package, which worked as well, but took a little over 6 minutes after it went to "installing", which i was able to repeat on 2 computers.
fast forward to yesterday, I had an old co-worker who is now a contractor come back on site for a bit to look at it with me, and the original task sequence worked just fine? it's like SCCM was having a bad 2 days.
We weren't able to determine what the issue was unfortunately and cannot repeat it.
 
Back
Top