PSTools: PSList

For me the PSTools from Sysinternals (Microsoft) are a daily need to work for our customers so I thought maybe they are helpful for you too. As you can see I used them before in the Article for the BiosConfigUtility. In that Article I used PSexec. But for now I will start with PSList

You can download the PSTools here
PSTools

I use PSList from the PSTools to check if user is logged on or to check the processes a user or a machine is running. For example when we do a silent installation on a machine which has more than one part to install I can see what is installing this moment. Or when I need to connect to a machine with RDP I can make sure no user is logged on.

for a simple use you just open a command window (start –> run –> cmd) pull the pslist.exe file into it and type after it -t -s \PCName

for example:

pslist.exe -t -s \MyPCName

But I don’t want to leave you there. This is probably how you use it most of the time. There are several other switches. to see what they do please check the Microsoft site. PSList

Anyway you might see fast that you use PSList in a regular basis and don’t want to pull the file in the cmd window and type everything in it. Well here is a simple batch file that will help you out. Putt the .bat file and the pslist.exe file in the same folder

@echo off
:GetTargetPC

cls
set /P TargetPC="PC Name: "
if not defined TargetPC goto GetTargetPC

start "PSList %*" pslist.exe /accepteula -t -s \%TargetPC%
set TargetPC =

goto GetTargetPC

As always this is the simplest solution.
all that the Script does is to ask you for a PC Name and start PS List in a new window. It will then go back to the point where it asks you for a PC Name. This is for the case that you maybe want to open a second PSList on the same or different PC.
The switch /accepteula prevents the eula window coming up when you use it the first time.

You can also add a few more things. Like a log or a Last used PC List.

If you need help with that or have generall questions feel free to ask. It would nice if you give me a feedback if this Article was helpful for you

HPBiosConfigUtility.exe Commandlines

So i thought i post the output of the command HPBiosConfigUtility.exe /? so that you can see that at once. I hope it helps

Hewlett-Packard BIOS Configuration Utiltiy Version 2.14.0.8 Copyright (c) 2005 - 2006, Hewlett-Packard Development Company L.P.
Usage:

BiosConfigUtility.EXE {options}

where the valid options are:

/GetConfig:”filename” – Gets the configuration data.
/SetConfig:”filename” – Modify the system BIOS configuration.
– Accepts only RESPET formatted files.
/Format:REPSET – Specifies the GETCONFIG output format.
– /FORMAT:REPSET is the default.
/? or /Help – Display this help message.
/cspwd:”pwd” or
/CurSetupPassword:”pwd” – Current BIOS Setup Password.
– Provide only if needed for /SETCONFIG
or if changing the password with
/NewSetupPassword
– Can specify multiple current passwords.
/nspwd:”pwd” or
/NewSetupPassword:”pwd” – New BIOS Setup Password.
– Used to modify the password.
– To remove the password use /NewSetupPassword:””
/verbose – Display details about each setting such as
failure code, reason for failure

NOTE: BIOS passwords are converted from ASCII to English keyboard
scan codes. If a character does not map directly to a scan
code, the password is ignored.

Valid ‘characters’ are mapped to keyboard keys as follows:

` 1 2 3 4 5 6 7 8 9 0 – =
q w e r t y u i o p [ ] a s d f g h j k l ; ‘
z x c v b n m , .

Valid ‘SHIFT+characters’ are mapped to keyboard keys as follows:

~ ! @ # $ % ^ & * ( ) _ +
Q W E R T Y U I O P { } |
A S D F G H J K L ; ‘
Z X C V B N M

 

 

BiosConfigUtility from HP

The Tool BiosConfigUtitlity from HP can help you to read out the Bios Configuration of an HP PC, and if you like to save the changes you made.
you’ll find it in the SSM Pack from HP
Download SSM
If you like this remote of a network you might need the PSTools from Sysinternals (Microsoft)
PSTools

How to use BiosConfigUtility.exe: Quick Guide

Continue reading BiosConfigUtility from HP