Re: BAT file to retrieve Registry Setting
- From: "Bart Perrier" <bart_perrier@xxxxxxxxxxx>
- Date: Thu, 9 Jun 2005 10:15:02 -0500
Thanks for the reply Mark.
The key is HKLM\Software\Citrix\ICA Client\ --> ClientName and the
workstations are the infamous Windows 95 with a few Windows 98s.
I am not sure if these machines have reg.exe on them. If it is not a default
in Win 95, then probably not. I understand that BAT scripting is
considerably different than vbScripting, but is there a way to explicitly
say, "Give me the value at HKLM\Software\Citrix\ICA Client\ --> ClientName"?
I plan to setup a BAT file accessible on the network for each person to run
and then format the output in the COMMAND window with a PAUSE at the end so
they can write it down.
COMPUTERNAME - Computer1
CITRIX CLIENT NAME - CitrixClientName1
Ultimately, I would like to handle a likely NULL value or document what it
will look like. I plan to do this with a, hopefully simple, IF EXIST.
Thanks again Mark.
Bart Perrier
"Mark V" <notvalid@xxxxxxxxxxx> wrote in message
news:Xns96706709DF9E0z9zzaQ2btw@xxxxxxxxxxxxxxxxxxxxxxx
> In microsoft.public.win2000.cmdprompt.admin Bart Perrier wrote:
>
> > Can anyone help me with a BAT file to pull a String Value from
> > HKLM\Software and the computer name? I need to send a number of
> > folks out to workstations that are 95 machines. Rather than try
> > to setup vbScript on each workstation, I need to use a BAT file.
>
> Does "that are 95 machines" mean they are Windows 95 OS? Or more
> probably 95 machines running ???
>
> What string value? Do you have the MS utility REG.EXE?
>
> %COMPUTERNAME% may be sufficient for the computer name.
> REG.EXE QUERY args
> with subsequent FINDSTR filter, etc. ... Perhaps.
>
> Also, if the systems are in a Domain you may be able to accomplish
> the tasks remotely. Possibly utilizing PSEXEC.EXE (Sysinternals).
> If not, then is the output to STDOUT, local file, network file? Will
> the technicians be logged on locally (or a Domain) Administrators
> account? A few more details will help.
.
- Follow-Ups:
- Re: BAT file to retrieve Registry Setting
- From: William Allen
- Re: BAT file to retrieve Registry Setting
- From: Mark V
- Re: BAT file to retrieve Registry Setting
- References:
- BAT file to retrieve Registry Setting
- From: Bart Perrier
- Re: BAT file to retrieve Registry Setting
- From: Mark V
- BAT file to retrieve Registry Setting
- Prev by Date: Adding printers
- Next by Date: Re: .exe files don't open
- Previous by thread: Re: BAT file to retrieve Registry Setting
- Next by thread: Re: BAT file to retrieve Registry Setting
- Index(es):
Relevant Pages
|
Loading