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 Report on clients with no LSAgent
by  RobertB   Go to last post Go to first unread
Last post: Yesterday at 6:55:32 PM(UTC)
Lansweeper Lansweeper report to match computer name
by  RC62N   Go to last post Go to first unread
Last post: 2/19/2020 5:02:27 PM(UTC)
Lansweeper Distinct user logins per PC
by  Bruce Garoutte   Go to last post Go to first unread
Last post: 2/17/2020 6:36:29 PM(UTC)
Lansweeper Software version report issue
by  RC62N  
Go to last post Go to first unread
Last post: 2/17/2020 4:07:20 PM(UTC)
Lansweeper Patch Tuesday - Exclude Win 2008 & Win7
by  doone128   Go to last post Go to first unread
Last post: 2/17/2020 1:34:36 PM(UTC)
Lansweeper Performance statistics combined into one report
by  djs1789  
Go to last post Go to first unread
Last post: 2/15/2020 1:50:32 AM(UTC)