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

Padding preceding blanks on a variable for Money or Disk Space lineup

OK, Basically I am echo'ing a line to a CSV comma delimited. This is what is happening: This is the output: Computer1 Fri 08/04/2017 13:20 110 917 340 907 Computer2 Fri 08/04/2017 13:21 110 917 435 852 Computer3 Fri 08/04/2017 12:39 …
0
votes
1 answer

Not able to Run powerSHell script using SysInternal

I need to remotely run powershell commands on multiple windows servers using SysInternal tools but I tried a lot but it seems not to work . Any help is highly appreciated . Servers.csv (file content) 10.10.10.100 10.0.0.111 Code : $List =…
Javed Eqbal
  • 63
  • 1
  • 2
  • 11
0
votes
2 answers

Encoding issue while running Sysinternals Autorunsc via Python subprocess

I have a Python 3.6.0 script where I run autorunsc v13.71 (https://technet.microsoft.com/en-us/sysinternals/bb963902.aspx) on the system (x86 or x86_64 version, according to the system bitness using platform.machine()). If I run autorunsc directly…
JChris
  • 1,638
  • 5
  • 19
  • 37
0
votes
1 answer

How to wait for a process to be gone in chef (Windows)

I would like to make sure chef waits if a process is still running before continuing. How to do that on Windows?
Jacek Tomaka
  • 422
  • 7
  • 15
0
votes
1 answer

Two file system mini filter driver registered and started but only first driver works fine and second driver doesn't work.

I have written file system mini-filter drive code in which I have registered the IRP_MJ_CREATE routines pre and post operation callback. Same thing I have done for second mini filter driver. The difference between the two driver is the only the logs…
rpk
  • 70
  • 9
0
votes
1 answer

How to get file handle by path?

Sometimes during debugging I need to get handle value for known object (file or dll) opened by debugee. It can help to find who holds this handle. How can I achieve that?
magras
  • 1,709
  • 21
  • 32
0
votes
0 answers

Running psexec on Windows Server 2008 R2 from Windows 7

I'm trying to successfully run a batch file located on a server pc (Windows Server 2008 R2) from my Windows 7 client PC. But its not working and the command prompt shows the following error information message. When I run psexec \\199.219.21.141 -u…
this-Me
  • 2,139
  • 6
  • 43
  • 70
0
votes
1 answer

Execute command in remote pc using PsExec - c#

I'm trying to set a remote PC as a Selenium node, using a console app that will run on the hub/server PC. When the program's run in debug mode, I get the following text in 'errorMessage' The handle is invalid. Connecting to…
sukesh
  • 2,379
  • 12
  • 56
  • 111
0
votes
1 answer

How do you permanently delete a persistent mapped drive on Windows Server 2012?

I found the answer to how to create a persistent mapped drive here: Map a network drive to be used by a service I used the sysinternals tools to set it up and it works perfectly. The server was cloned and now it shows up there as well. Using the…
Nat
  • 37
  • 2
  • 8
0
votes
1 answer

Windows: Cannot delete myDB.mdf because the file is open in System

This is the strangest thing ever. My company's product uses a database file with Microsoft SQL Server 2008 R2, let's just say it's named myDB.mdf. I want to delete that file and replace it with a same-named database from another system. So I try to…
phonetagger
  • 7,701
  • 3
  • 31
  • 55
0
votes
1 answer

Regarding -i option usage of psexec

I was successfully running psexec to open application on remote PC using the following command: psexec -s -i 1 \\135.20.230.160 -u administrator -p force calc But suddenly today I found that 'calc' is not opening in the remote machine. Instead it…
user3565150
  • 884
  • 5
  • 21
  • 49
0
votes
1 answer

diskusage how to use in powershell

I am very new to powershell and writing a script which will go to each computer in windows domain and get the size of a user profile. I have tried below on a powershell script $profileDir = "\\$computerName\c$\users\userProfile" $fullProfile =…
user1212915
  • 31
  • 1
  • 1
  • 4
0
votes
0 answers

C# library for PsService functionality

We have the PsService.exe tool provided by Windows Sysinternals to start or Stop any remote machine's service.But in order to use this exe in our C# we need to use the a traditional approach where we invoke a process from C# code. Process p = new…
0
votes
1 answer

Batch Script to access application logs using Psloglist.exe

I need a .bat file using which I can access the application logs of a remote server. I am using the psloglist.exe tool from sysinternals. I run the following command from a command prompt and get the desired output : C:\scripts>psloglist.exe -n 5…
0
votes
1 answer

Can Sysinternal commands be ran from within PowerShell?

I am a desktop support person and trying learn both Sysinternals and PowerShell. I have grown to understand the power of both and now I am asking if the sysinternals commands can run within powershell. I have tried a few, but they do not seem to get…
1 2 3
10
11