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
2
votes
0 answers

C# monitor accessing / reading files

I want to get list of reading files at the moment If I open a.txt with notepad, I want to capture it in my C# application To be more clear, something like Sysinternals Process Monitor 7zFM.exe 1264 ReadFile …
2
votes
1 answer

PSExec does not show output of the started child process (local machine)

We are in the need of spawning processes from session 0 isolation to a logged in user in session 1. This task is done by using psexec, this happens entirely on the same machine, but I am unable to get the output of the child process to be displayed…
Samuel
  • 6,126
  • 35
  • 70
2
votes
2 answers

Does Java have automatic parallelization?

I wrote a computationally heavy single threaded program, but when I executed it I was surprised to see that my quad core processor was at 95% utilization. I was expecting to see something close to 25% utilization (one core). I used the Process…
2
votes
0 answers

Number of processes killed by pskill

Can you clarify for me what I'm seeing when using pskill to kill a remote process on a domain PC? I have written a small, .exe file in VB.NET that runs on a remote PC that simply loads a web page and saves a value to a database for me. I have…
Source Matters
  • 1,110
  • 2
  • 15
  • 35
2
votes
1 answer

Start conhost.exe without console window flashing

I'm writing an embedded powershell host in C# using VS13 (Windows Application NOT console app). I can invoke powershell commands just fine. The issue I'm having is that when the invoke function handles a console command like ping, netstat, etc. it…
RG5
  • 517
  • 1
  • 5
  • 16
2
votes
2 answers

How to pipe 'Elapsed Time' (or other output) from PsList

This task is incredibly simple yet I can't seem to figure it out (all the more reason it's frustrating) - I would like to query PsList for a particular process and return a specific portion of it's regular output. In example, I would like to return…
zelusp
  • 3,500
  • 3
  • 31
  • 65
2
votes
1 answer

Is there any analog of TCPvcon which allows to close TCP connection on remote machine?

I started to use SysInternals suite, and it is great. But I wonder, whether there is any analog of TCPvcon, which allows to logon to remote machine, like psexec does, and then get list of TCP connections from there (similar to pslist functionality),…
Miollnyr
  • 269
  • 2
  • 8
2
votes
4 answers

Current program/file name in focus (Windows)

I am coding an application in C# that needs to know the current program and files a user has in focus. I.e. I want to write functions like: string GetProgramNameCurrentlyInFocus() { ... } string GetFilenameCurrentlyInFocus() { ... } Which return…
2
votes
1 answer

Python script not executing sysinternals command

This is a follow-up from Invoke pstools in Python script When I open a command prompt and execute D:\pstools\psloggedon.exe -l -x \\10.10.10.10 I get DOMAIN\user But when I execute the script import sys, subprocess, socket, string import wmi,…
Glowie
  • 2,271
  • 21
  • 60
  • 104
2
votes
3 answers

VMMap - Why is Committed memory 13.4GB for one exe? Working Set is only 1.7GB

So my question is about this one exe that seems to be eating my server's RAM up. It is a Windows Server 2008 R2. Rebooting doesn't seem to help, as the Commit Size will remain more or less 13GB. This came to my attention because the vendor wants…
ansiz
  • 57
  • 1
  • 6
2
votes
2 answers

Handle command for remote pc

I want to run handle for a specific folder for a remote pc at my network so to know which processes are locking the folders. tried: handle /accepteula \\remotePcName\c:\myFolder handle /accepteula \\remotePcName\User(name of the…
C Ts
  • 21
  • 4
2
votes
1 answer

Force USB High Speed EHCI 2.0 hub to enumerate as Full Speed UHCI/OHCI device

In Windows XP SP3 is there a registry key or some setting, maybe even at the device level in the registry, that an EHCI USB 2.0 High Speed hub can be enumerated as a UHCI or OHCI full speed device at the host level? I am seeing an issue where a USB…
Preston
  • 2,543
  • 1
  • 17
  • 26
2
votes
3 answers

procdump not creating dumps for StackOverflow exception

I am trying to create crash dump for .Net C# application. For this I have written a code which will crash the application for Stack Overflow exception: namespace Crashme { class Program { static void Main(string[] args) { …
Kallol
  • 302
  • 4
  • 16
2
votes
2 answers

Is it possible to add a network drive to %PATH% environment variable

I have a python script calling an exe file. The exe file can be in the same folder as that of the python script or in a network drive. Is it possible to call the exe if it is in a remote drive/computer? Can this be done by setting the %PATH%…
Prabhu
  • 3,434
  • 8
  • 40
  • 48
2
votes
3 answers

BGInfo error occurred opening the Default Desktop registry key

Running the very nice BGInfo tool to uniquely identify various computers. However, in trying to run on Windows 2008 Server R2, I am getting following error: "An error occured opening the Default Desktop registry key. Please ensure the current user…
Dan Aquinas
  • 321
  • 2
  • 4
  • 10