Did anyone manage to kill the process over network?


formingus

Active member
Local time
12:18 AM
Posts
56
OS
Microsoft Windows 11 Pro Version 10.0.21996 Build 21996
Did anyone manage to kill the process over the network?
Even with the correct username and password, I cannot kill the network process!
I have Admin rights, share is enabled, can communicate on the network, and swap files as well but whenever I try to use the kill process it says wrong user and pass but those are 100% correct.

I try following but unluckily

@echo off
taskkill /s workstation /u AdminUsername /p AdminPassword /IM postimage.exe /F
echo Process postimage.exe terminated on workstation
pause

wmic /node:"workstation" /user:"AdminUsername" /password:"AdminPassword" process where name="postimage.exe" call terminate
echo Process postimage.exe terminated on workstation
pause
 
Windows Build/Version
Microsoft Windows [Version 10.0.22631.4890]

My Computer

System One

  • OS
    Microsoft Windows 11 Pro Version 10.0.21996 Build 21996
    Computer type
    PC/Desktop
    Manufacturer/Model
    System Model HP EliteDesk 800 G1 SFF
    CPU
    Intel(R) Core(TM) i5-4590 CPU @ 3.30GHz, 3301
    Motherboard
    Hewlett-Packard
    Memory
    Installed Physical Memory (RAM) 12.0 GB
    Graphics Card(s)
    NVIDIA GeForce GTX 1050 Ti
    Sound Card
    Realtek High Definition Audio
    Monitor(s) Displays
    1 Monitor 32 inch Hyundai
    Screen Resolution
    1920x1080
    Hard Drives
    SSD 120 + HDD 1TB + HDD 4TB
    PSU
    Crosair CX 450
    Case
    HP
    Keyboard
    HP KU 0316
    Mouse
    A4 Tech
    Internet Speed
    100 Mbs
    Browser
    Chrome
    Antivirus
    ESET Smart Security
pc on domain of local account?

try for local account: taskkill /s workstation /u .\AdminUsername /p AdminPassword /IM postimage.exe /F <-- added .\
on domain /u domainname\adminusername
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
Powershell way
Powershell:
$creds = Get-Credential
$processName = "*something*"

Invoke-Command -ComputerName "computer1" -Credential $creds -ScriptBlock { Get-Process -Name $using:processName | Stop-Process}
 

My Computer

System One

  • OS
    Windows 11
Or PS Session to it via powershell and execute the task
 

My Computer

System One

  • OS
    Windows 11 Pro
pc on domain of local account?

try for local account: taskkill /s workstation /u .\AdminUsername /p AdminPassword /IM postimage.exe /F <-- added .\
on domain /u domainname\adminusername
I am getting the wrong user or password, but those are 100% correct
 

Attachments

  • CMD Wrong Pass.webp
    CMD Wrong Pass.webp
    20.2 KB · Views: 1

My Computer

System One

  • OS
    Microsoft Windows 11 Pro Version 10.0.21996 Build 21996
    Computer type
    PC/Desktop
    Manufacturer/Model
    System Model HP EliteDesk 800 G1 SFF
    CPU
    Intel(R) Core(TM) i5-4590 CPU @ 3.30GHz, 3301
    Motherboard
    Hewlett-Packard
    Memory
    Installed Physical Memory (RAM) 12.0 GB
    Graphics Card(s)
    NVIDIA GeForce GTX 1050 Ti
    Sound Card
    Realtek High Definition Audio
    Monitor(s) Displays
    1 Monitor 32 inch Hyundai
    Screen Resolution
    1920x1080
    Hard Drives
    SSD 120 + HDD 1TB + HDD 4TB
    PSU
    Crosair CX 450
    Case
    HP
    Keyboard
    HP KU 0316
    Mouse
    A4 Tech
    Internet Speed
    100 Mbs
    Browser
    Chrome
    Antivirus
    ESET Smart Security

My Computer

System One

  • OS
    Microsoft Windows 11 Pro Version 10.0.21996 Build 21996
    Computer type
    PC/Desktop
    Manufacturer/Model
    System Model HP EliteDesk 800 G1 SFF
    CPU
    Intel(R) Core(TM) i5-4590 CPU @ 3.30GHz, 3301
    Motherboard
    Hewlett-Packard
    Memory
    Installed Physical Memory (RAM) 12.0 GB
    Graphics Card(s)
    NVIDIA GeForce GTX 1050 Ti
    Sound Card
    Realtek High Definition Audio
    Monitor(s) Displays
    1 Monitor 32 inch Hyundai
    Screen Resolution
    1920x1080
    Hard Drives
    SSD 120 + HDD 1TB + HDD 4TB
    PSU
    Crosair CX 450
    Case
    HP
    Keyboard
    HP KU 0316
    Mouse
    A4 Tech
    Internet Speed
    100 Mbs
    Browser
    Chrome
    Antivirus
    ESET Smart Security
Powershell way
Powershell:
$creds = Get-Credential
$processName = "*something*"

Invoke-Command -ComputerName "computer1" -Credential $creds -ScriptBlock { Get-Process -Name $using:processName | Stop-Process}
PS C:\Users\formi> $creds = Get-Credential

cmdlet Get-Credential at command pipeline position 1
Supply values for the following parameters:
Credential
PS C:\Users\formi> $processName = "*postimage.exe*"
PS C:\Users\formi>
PS C:\Users\formi> Invoke-Command -ComputerName "workstation" -Credential $creds -ScriptBlock { Get-Process -Name $using:processName | Stop-Process}
[workstation] Connecting to remote server workstation failed with the following error message : The WinRM client
cannot process the request. If the authentication scheme is different from Kerberos, or if the client computer is not
joined to a domain, then HTTPS transport must be used or the destination machine must be added to the TrustedHosts
configuration setting. Use winrm.cmd to configure TrustedHosts. Note that computers in the TrustedHosts list might not
be authenticated. You can get more information about that by running the following command: winrm help config. For
more information, see the about_Remote_Troubleshooting Help topic.
+ CategoryInfo : OpenError: (workstation:String) [], PSRemotingTransportException
+ FullyQualifiedErrorId : ServerNotTrusted,PSSessionStateBroken
PS C:\Users\formi>
 

My Computer

System One

  • OS
    Microsoft Windows 11 Pro Version 10.0.21996 Build 21996
    Computer type
    PC/Desktop
    Manufacturer/Model
    System Model HP EliteDesk 800 G1 SFF
    CPU
    Intel(R) Core(TM) i5-4590 CPU @ 3.30GHz, 3301
    Motherboard
    Hewlett-Packard
    Memory
    Installed Physical Memory (RAM) 12.0 GB
    Graphics Card(s)
    NVIDIA GeForce GTX 1050 Ti
    Sound Card
    Realtek High Definition Audio
    Monitor(s) Displays
    1 Monitor 32 inch Hyundai
    Screen Resolution
    1920x1080
    Hard Drives
    SSD 120 + HDD 1TB + HDD 4TB
    PSU
    Crosair CX 450
    Case
    HP
    Keyboard
    HP KU 0316
    Mouse
    A4 Tech
    Internet Speed
    100 Mbs
    Browser
    Chrome
    Antivirus
    ESET Smart Security
Or PS Session to it via powershell and execute the task

Or PS Session to it via powershell and execute the task
$creds = Get-Credential
$processName = "*postimage.exe*"

Invoke-Command -ComputerName "workstation" -Credential $creds -ScriptBlock { Get-Process -Name $using:processName | Stop-Process}

But getting error1739961987275.webp
 

My Computer

System One

  • OS
    Microsoft Windows 11 Pro Version 10.0.21996 Build 21996
    Computer type
    PC/Desktop
    Manufacturer/Model
    System Model HP EliteDesk 800 G1 SFF
    CPU
    Intel(R) Core(TM) i5-4590 CPU @ 3.30GHz, 3301
    Motherboard
    Hewlett-Packard
    Memory
    Installed Physical Memory (RAM) 12.0 GB
    Graphics Card(s)
    NVIDIA GeForce GTX 1050 Ti
    Sound Card
    Realtek High Definition Audio
    Monitor(s) Displays
    1 Monitor 32 inch Hyundai
    Screen Resolution
    1920x1080
    Hard Drives
    SSD 120 + HDD 1TB + HDD 4TB
    PSU
    Crosair CX 450
    Case
    HP
    Keyboard
    HP KU 0316
    Mouse
    A4 Tech
    Internet Speed
    100 Mbs
    Browser
    Chrome
    Antivirus
    ESET Smart Security
If these are not domain joined systems you need to do the following
In an elevated Powershell console
Run the following
Powershell:
Set-NetConnectionProfile -NetworkCategory Private
winrm quickconfig
Set-Item WSMAN:\localhost\Client\TrustedHosts -Value <your_ip_network>

IP network will be the network address, to get this
Look at your IP and your subnet. Most likely your subnet will be 255.255.255.0. If so, then take your IP address and replace the last dot separated digit and replace it with a 0 and add a /24

Example if my IP is 192.168.1.56 and my subnet is 255.255.255.0
then the command would be
Code:
Set-Item WSMAN:/localhost/Client/TrustedHosts -Value "192.168.1.0/24"
 

My Computer

System One

  • OS
    Windows 11
If these are not domain joined systems you need to do the following
In an elevated Powershell console
Run the following
Powershell:
Set-NetConnectionProfile -NetworkCategory Private
winrm quickconfig
Set-Item WSMAN:\localhost\Client\TrustedHosts -Value <your_ip_network>

IP network will be the network address, to get this
Look at your IP and your subnet. Most likely your subnet will be 255.255.255.0. If so, then take your IP address and replace the last dot separated digit and replace it with a 0 and add a /24

Example if my IP is 192.168.1.56 and my subnet is 255.255.255.0
then the command would be
Code:
Set-Item WSMAN:/localhost/Client/TrustedHosts -Value "192.168.1.0/24"
1739990446433.webp
 

My Computer

System One

  • OS
    Microsoft Windows 11 Pro Version 10.0.21996 Build 21996
    Computer type
    PC/Desktop
    Manufacturer/Model
    System Model HP EliteDesk 800 G1 SFF
    CPU
    Intel(R) Core(TM) i5-4590 CPU @ 3.30GHz, 3301
    Motherboard
    Hewlett-Packard
    Memory
    Installed Physical Memory (RAM) 12.0 GB
    Graphics Card(s)
    NVIDIA GeForce GTX 1050 Ti
    Sound Card
    Realtek High Definition Audio
    Monitor(s) Displays
    1 Monitor 32 inch Hyundai
    Screen Resolution
    1920x1080
    Hard Drives
    SSD 120 + HDD 1TB + HDD 4TB
    PSU
    Crosair CX 450
    Case
    HP
    Keyboard
    HP KU 0316
    Mouse
    A4 Tech
    Internet Speed
    100 Mbs
    Browser
    Chrome
    Antivirus
    ESET Smart Security

My Computer

System One

  • OS
    Microsoft Windows 11 Pro Version 10.0.21996 Build 21996
    Computer type
    PC/Desktop
    Manufacturer/Model
    System Model HP EliteDesk 800 G1 SFF
    CPU
    Intel(R) Core(TM) i5-4590 CPU @ 3.30GHz, 3301
    Motherboard
    Hewlett-Packard
    Memory
    Installed Physical Memory (RAM) 12.0 GB
    Graphics Card(s)
    NVIDIA GeForce GTX 1050 Ti
    Sound Card
    Realtek High Definition Audio
    Monitor(s) Displays
    1 Monitor 32 inch Hyundai
    Screen Resolution
    1920x1080
    Hard Drives
    SSD 120 + HDD 1TB + HDD 4TB
    PSU
    Crosair CX 450
    Case
    HP
    Keyboard
    HP KU 0316
    Mouse
    A4 Tech
    Internet Speed
    100 Mbs
    Browser
    Chrome
    Antivirus
    ESET Smart Security

My Computer

System One

  • OS
    Microsoft Windows 11 Pro Version 10.0.21996 Build 21996
    Computer type
    PC/Desktop
    Manufacturer/Model
    System Model HP EliteDesk 800 G1 SFF
    CPU
    Intel(R) Core(TM) i5-4590 CPU @ 3.30GHz, 3301
    Motherboard
    Hewlett-Packard
    Memory
    Installed Physical Memory (RAM) 12.0 GB
    Graphics Card(s)
    NVIDIA GeForce GTX 1050 Ti
    Sound Card
    Realtek High Definition Audio
    Monitor(s) Displays
    1 Monitor 32 inch Hyundai
    Screen Resolution
    1920x1080
    Hard Drives
    SSD 120 + HDD 1TB + HDD 4TB
    PSU
    Crosair CX 450
    Case
    HP
    Keyboard
    HP KU 0316
    Mouse
    A4 Tech
    Internet Speed
    100 Mbs
    Browser
    Chrome
    Antivirus
    ESET Smart Security

My Computer

System One

  • OS
    Microsoft Windows 11 Pro Version 10.0.21996 Build 21996
    Computer type
    PC/Desktop
    Manufacturer/Model
    System Model HP EliteDesk 800 G1 SFF
    CPU
    Intel(R) Core(TM) i5-4590 CPU @ 3.30GHz, 3301
    Motherboard
    Hewlett-Packard
    Memory
    Installed Physical Memory (RAM) 12.0 GB
    Graphics Card(s)
    NVIDIA GeForce GTX 1050 Ti
    Sound Card
    Realtek High Definition Audio
    Monitor(s) Displays
    1 Monitor 32 inch Hyundai
    Screen Resolution
    1920x1080
    Hard Drives
    SSD 120 + HDD 1TB + HDD 4TB
    PSU
    Crosair CX 450
    Case
    HP
    Keyboard
    HP KU 0316
    Mouse
    A4 Tech
    Internet Speed
    100 Mbs
    Browser
    Chrome
    Antivirus
    ESET Smart Security
open powershell as admin
I added as error says "Set-Item WSMan:\localhost\Client\TrustedHosts -Value 'workstation' -Concatenate" but still refuse
Code:
Enter-PSSession -ComputerName RremotePCnameHere -Credential your_name_here
 

My Computer

System One

  • OS
    Windows 11 Pro

My Computer

System One

  • OS
    Microsoft Windows 11 Pro Version 10.0.21996 Build 21996
    Computer type
    PC/Desktop
    Manufacturer/Model
    System Model HP EliteDesk 800 G1 SFF
    CPU
    Intel(R) Core(TM) i5-4590 CPU @ 3.30GHz, 3301
    Motherboard
    Hewlett-Packard
    Memory
    Installed Physical Memory (RAM) 12.0 GB
    Graphics Card(s)
    NVIDIA GeForce GTX 1050 Ti
    Sound Card
    Realtek High Definition Audio
    Monitor(s) Displays
    1 Monitor 32 inch Hyundai
    Screen Resolution
    1920x1080
    Hard Drives
    SSD 120 + HDD 1TB + HDD 4TB
    PSU
    Crosair CX 450
    Case
    HP
    Keyboard
    HP KU 0316
    Mouse
    A4 Tech
    Internet Speed
    100 Mbs
    Browser
    Chrome
    Antivirus
    ESET Smart Security
What is strange is that WORKSTATION does not appear on NETWORK, but I can connect to Network shared drives WO Problem

1739994917218.webp

But I Can connect
1739994959441.webp
 

My Computer

System One

  • OS
    Microsoft Windows 11 Pro Version 10.0.21996 Build 21996
    Computer type
    PC/Desktop
    Manufacturer/Model
    System Model HP EliteDesk 800 G1 SFF
    CPU
    Intel(R) Core(TM) i5-4590 CPU @ 3.30GHz, 3301
    Motherboard
    Hewlett-Packard
    Memory
    Installed Physical Memory (RAM) 12.0 GB
    Graphics Card(s)
    NVIDIA GeForce GTX 1050 Ti
    Sound Card
    Realtek High Definition Audio
    Monitor(s) Displays
    1 Monitor 32 inch Hyundai
    Screen Resolution
    1920x1080
    Hard Drives
    SSD 120 + HDD 1TB + HDD 4TB
    PSU
    Crosair CX 450
    Case
    HP
    Keyboard
    HP KU 0316
    Mouse
    A4 Tech
    Internet Speed
    100 Mbs
    Browser
    Chrome
    Antivirus
    ESET Smart Security
1739995072708.webp
 

My Computer

System One

  • OS
    Microsoft Windows 11 Pro Version 10.0.21996 Build 21996
    Computer type
    PC/Desktop
    Manufacturer/Model
    System Model HP EliteDesk 800 G1 SFF
    CPU
    Intel(R) Core(TM) i5-4590 CPU @ 3.30GHz, 3301
    Motherboard
    Hewlett-Packard
    Memory
    Installed Physical Memory (RAM) 12.0 GB
    Graphics Card(s)
    NVIDIA GeForce GTX 1050 Ti
    Sound Card
    Realtek High Definition Audio
    Monitor(s) Displays
    1 Monitor 32 inch Hyundai
    Screen Resolution
    1920x1080
    Hard Drives
    SSD 120 + HDD 1TB + HDD 4TB
    PSU
    Crosair CX 450
    Case
    HP
    Keyboard
    HP KU 0316
    Mouse
    A4 Tech
    Internet Speed
    100 Mbs
    Browser
    Chrome
    Antivirus
    ESET Smart Security
Any one to help ?
 

My Computer

System One

  • OS
    Microsoft Windows 11 Pro Version 10.0.21996 Build 21996
    Computer type
    PC/Desktop
    Manufacturer/Model
    System Model HP EliteDesk 800 G1 SFF
    CPU
    Intel(R) Core(TM) i5-4590 CPU @ 3.30GHz, 3301
    Motherboard
    Hewlett-Packard
    Memory
    Installed Physical Memory (RAM) 12.0 GB
    Graphics Card(s)
    NVIDIA GeForce GTX 1050 Ti
    Sound Card
    Realtek High Definition Audio
    Monitor(s) Displays
    1 Monitor 32 inch Hyundai
    Screen Resolution
    1920x1080
    Hard Drives
    SSD 120 + HDD 1TB + HDD 4TB
    PSU
    Crosair CX 450
    Case
    HP
    Keyboard
    HP KU 0316
    Mouse
    A4 Tech
    Internet Speed
    100 Mbs
    Browser
    Chrome
    Antivirus
    ESET Smart Security
Back
Top Bottom