Tags » Psexec

Open and close a process with Powershell

Short script to open notepad.exe (can be any process you want to open) on either your local machine or a remote machine and then kill the process. 179 more words

Powershell

Running Process Explorer as SYSTEM

Brief Intro

This little “hack” can actually be applied to any executable, and therefore is simultaneously very powerful and very dangerous. Be extremely careful with performing this procedure. 215 more words

Procexp

PsExec Access Denied Problem Solution

when we try to run remote programs from local system this error saying “Access Denied” may come. To overcome this, you have to add a registry key. 48 more words

Access Denied

psexec using a local admin account to a UAC enabled system

To protect users across the network, Windows UAC imposes token restrictions on local administrators logging in via the network (using the net use \\computer\\c$ share for example). 230 more words

Collect from remote computers with PowerShell, WinRM

$computers = Get-Content .\serverlist.txt

Invoke-Command -computername $computers -FilePath .\getiscsi.ps1 | out-file C:\PSTools\iscsicollectrun.txt

Invoke-Command -ComputerName $computers -ScriptBlock {Test-WSMan} | out-file C:\PSTools\serverswithwinrmon.txt

Turn on/off WinRM on computers remotely psexec @c:\pstools\serverlist.txt -c -d powershell.exe “enable-psremoting -force”

Auto deploying a site after a successful Jenkins build

I found myself wanting to have a test site auto deploy once the tests on our continuous integration server had passed.
The reason for this is so that the new Selenium tests I wrote for the site would always be running against the latest version. 159 more words

Jenkins

Remote logins are currently disabled.

Our monitoring systems reported errors with a terminal server. I tried remote desktop and received the following error:

Remote logins are currently disabled.

Someone with administrator access disabled the logins with the change logon command. 54 more words

Troubleshoot