Questions tagged [sysinternals]

Windows Sysinternals is a part of the Microsoft TechNet website which offers technical resources and utilities to manage, diagnose, troubleshoot, and monitor a Microsoft Windows environment.

The Sysinternals web site was created by Mark Russinovich and Bryce Cogswell to host their advanced system utilities and technical information.

The website featured several freeware tools that aid in the adminstration of local and remote Windows systems.

Sysinternals is now part of the Microsoft TechNet website.

166 questions
0
votes
1 answer

Running batch command on an executable using python

I'm using this code to start the batch file but import os os.startfile("C:\Documents and Settings\Zha\Desktop\Strings\strings.exe ") the strings.exe running a batch command when you open it from cmd, like this: strings -q "C:\Documents and…
0
votes
3 answers

Parse variable in python subprocess

This is follow on from Python script not executing sysinternals command My script takes input python ps.py sender-ip=10.10.10.10 The sender-ip gets read into a variable, userIP. However, when I pass userIP into the following subprocess pst =…
Glowie
  • 2,271
  • 21
  • 60
  • 104
0
votes
0 answers

Strip python string

EDITED TO INCLUDE WORKING SCRIPT Here is working script based on user's answers import sys, subprocess, socket, string import wmi, win32api, win32con pst = subprocess.Popen( ["D:\pstools\psloggedon.exe", "-l", "-x", "\\\\10.10.10.10"], …
Glowie
  • 2,271
  • 21
  • 60
  • 104
0
votes
1 answer

Invoke pstools in Python script

I am trying to invoke pstools (specifically, psloggedon.exe) in my Python script import sys, subprocess, socket, string import wmi, win32api, win32con pst = subprocess.Popen( ["D:\pstools\psloggedon.exe", "-l", "-x", "\\10.10.10.10"], …
Glowie
  • 2,271
  • 21
  • 60
  • 104
0
votes
1 answer

Getting PSEXEC to run a local .vbs file on a remote machine without copying it over

I would like to get PSEXEC to run a .vbs file on a remote machine for me, however I currently have to have the .vbs located on the remote machine. Below is an example of my script which does work. psexec \\<\i.pAddress\> -u <\User\> -p <\Password\>…
Shane_S
  • 119
  • 2
  • 2
  • 9
0
votes
0 answers

Sysinternals psexec remotely executed application hangs

I'm calling psexec as follows: psexec \\10.0.0.1 -i "C:\Program Files\Notepad++\notepad++.exe" notepad++.exe is executed on the remote PC. I can see the application window come up. As soon as I type any characters into notepad++ it…
sizzle
  • 2,222
  • 2
  • 21
  • 32
0
votes
0 answers

PsExec hangs on calling the interactive executable

I am new to SysInternals tools, and I have a question whether there exists a workaround. I need to launch an executable that is a command-line console to some network functions in target-LAN environment. It works fine until I issue the "online"…
AlexPawlak
  • 779
  • 1
  • 10
  • 22
0
votes
1 answer

Is it possible to use AutoHotKey to run PSLoggedOn and edit the output in the stream and return the result?

I am using AutoHotKey to build a simple GUI tool that uses the Sysinternals tool PSLoggedOn. First if I use run psloggedon.exe -l -x \\computername I don't get any output at all. So I tried run %ComSpec% /C psloggedon.exe -l -x 1>…
Neil
  • 111
  • 2
  • 11
0
votes
2 answers

Call Process.GetProcesses by specifying/impersonating another account?

By using Process.GetProcesses, we can list running processes in a remote computer, e.g. Process [] allRemoteProcesses = Process.GetProcesses("myRemoteComputer"); However, this seems to depend on the permission of my account. It throws exception…
Louis Rhys
  • 34,517
  • 56
  • 153
  • 221
-1
votes
1 answer

How to check the amount of shared memory allocated by a particular process in windows

Tools like Process Explorer or AccessChk will tell you that shared memory exists in the segment section, but how to figure out how much memory was allocated by the particular named shared memory segment.
-1
votes
1 answer

Using AccessCHK with pipe

Can anyone post an example of using accesschk with \pipe. I'm running process with -s param and getting a lot of files listed, but only folders are needed. Tried to run with *findstr /vi ".[a-z]$", but no success Thank you.
Yuri
  • 2,820
  • 4
  • 28
  • 40
-1
votes
1 answer

calling PNtQuerySystemInformation from dll on a 64bit computer

Following program to retrieve all the process information from my computer. The same application when it is called through a dll, it fails to retrieve system process information. // TestSysInternals.cpp : Defines the entry point for the console…
KItis
  • 5,476
  • 19
  • 64
  • 112
-1
votes
1 answer

Sysinternals psexec not running on the remote desktop

I've got two Remote Desktops hosted by a Hyper-V. On Remote Desktop "A", I've got a .bat file, which I want to execute. On Remote Desktop "B", I've got a cmd open with psexec cmd ready to invoke .bat file on machine "A". "path-to\\psexec.exe" \\ip…
magic_turtle
  • 1,243
  • 3
  • 17
  • 37
-1
votes
1 answer

How to execute multiple commands - C#

There are 2 PCs(server & node). The Selenium hub is up & running. The notifications are seen in its cmd window. Now, I'm trying to set up another PC as a Selenium node. To do that I need to run 2 commands from the server PC command prompt.It works…
sukesh
  • 2,379
  • 12
  • 56
  • 111
-1
votes
1 answer

Automating autoruns-psexec or not

So i'm working on some project to find malware in my network.Trying to automate autoruns(sysinternals) in order to find anomalies or changes in startup on workstations.to do so i want to make daily reports for multiple workstations each day and…
Chechik
  • 11
  • 1
  • 7
1 2 3
10
11