Re: Confirm SP2 installed
- From: "M. Burnett" <mb@xxxxxxxx>
- Date: Wed, 4 Oct 2006 16:58:39 +0000
Ron, there are many ways you can get this information.
From the command line:
C:\>systeminfo | find "Service Pack"
or
c:\>wmic OS GET CSDVersion
or using WMI from a script:
Win32_OperatingSystem
http://windowssdk.msdn.microsoft.com/en-us/library/aa394239.aspx
From the Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion CSDVersion
You could even check to see if certain files exist:
C:\windows\System32\Driver Cache\i386\Sp2.cab
C:\Windows\System32\dllcache\SP2.cat
C:\windows\system32\xpsp2res.dll
Mark Burnett
"Ron" <Ron@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:BFC0AC77-82A5-4A02-B28A-91D3E93158ED@xxxxxxxxxxxxx:
Hi Michael,
Sadly, I am net admins, not a programmer :) At the time of connection there
is a piece of software that is downloaded to the client. I am able to use
command line inputs to get this program to return a TRUE or FALSE result to
the specific check being done.
Unless anyone knows of the registry keys or files to check, I will have to
throw it back to the developers of our endpoint who might find your linked
article helpful.
Thank you for your assistance Michael. Have a good day!
Anyone else???
"Michael Chambers" wrote:
> >
> > Before esatblishing a remote connection into our office network, we are
> > able
> > to carry out client integrity checks of clients PCs in our users homes.
> >
> > The checks are pretty basic - We can check if a file exists in a
> > particular
> > location, we can check if a registry key exists and has the correct
> > information and we can MD5 hash files to check for integrity.
> > lockdown
> > I want to ensure that our users are running XP with SP2 installed.
> > 1. What registry key/data will confirm this to me?
> > 2. Is there a particular executable that will be the same (XP home and
> > Pro)
> > that I could check integrity with a hash?
> > 3. Is there a better newsgroup to post this in? :)
>
> Can you write your own software to do this? If so then see
> http://windowssdk.msdn.microsoft.com/en-us/library/ms724451.aspx .There are
> references here for doing it remotely as well though I've never tried it
> outside of the local intranet. Note that doing it by checking some registry
> key or a file may be possible (protected Windows files in particular) but
> it's not really a good idea unless you have no choice. I'm not sure what
> MSFT would have to say about it (you can try contacting them) but I
> seriously doubt they would recommend it. Using an official function from the
> Windows API is normally the proper way to do it (note that I'm a very
> experienced software developer)
> Windows Hardening
>
>
.
- Follow-Ups:
- Re: Confirm SP2 installed
- From: Michael Chambers
- Re: Confirm SP2 installed
- Prev by Date: Re: administrator
- Next by Date: Re: DCOM shutdown error
- Previous by thread: Re: Confirm SP2 installed
- Next by thread: Re: Confirm SP2 installed
- Index(es):
Relevant Pages
|