Notification

Icon
Error

Psexec service delete

Posted: Saturday, January 25, 2020 12:15:01 AM(UTC)
steveb

steveb

Member Original PosterPosts: 14
0
Like
We have had issues at times with not being able to open a remote psexec session because of the service already existing on workstations and refusing to start.

This powershell command prompts for credentials and stops the service if running and deletes it so you can open a new session.

powershell.exe invoke-command -credential user -computername {smartname} {stop-service -name psexesvc; sc.exe delete psexesvc}

Active Discussions

Lansweeper Find machines missing any 1 of several apps
by  BennettL   Go to last post Go to first unread
Last post: Yesterday at 10:15:50 PM(UTC)
Lansweeper Report on basic Router information
by  Liljack   Go to last post Go to first unread
Last post: 3/30/2020 7:44:22 AM(UTC)
Lansweeper Windows: Static IP address configured (Built-in)
by  RobinPSU   Go to last post Go to first unread
Last post: 3/27/2020 8:52:12 PM(UTC)
Lansweeper Adding top user to asset report
by  Argon0  
Go to last post Go to first unread
Last post: 3/26/2020 5:20:51 PM(UTC)
Lansweeper User Last Login (If Any)
by  Argon0   Go to last post Go to first unread
Last post: 3/26/2020 5:18:03 PM(UTC)
Lansweeper A Report to find a single file
by  Rowe  
Go to last post Go to first unread
Last post: 3/26/2020 1:38:28 PM(UTC)