Get Windows Service Pack version

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
shahroq
Forum Newbie
Posts: 6
Joined: Wed Sep 21, 2005 8:05 am

Get Windows Service Pack version

Post by shahroq »

hi
i have a php web-based application & want to check windows service pack version installed on the client OS.
is it possible with php or js?
Last edited by shahroq on Wed Sep 21, 2005 11:21 am, edited 2 times in total.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

nope.
Deemo
Forum Contributor
Posts: 418
Joined: Sun Jan 18, 2004 11:48 am
Location: Washington DC

Post by Deemo »

best way to do it: run windows update
shahroq
Forum Newbie
Posts: 6
Joined: Wed Sep 21, 2005 8:05 am

Post by shahroq »

plz describe more about runnin windows update. how can i do it?
qads
DevNet Resident
Posts: 1199
Joined: Tue Apr 23, 2002 10:02 am
Location: Brisbane

Post by qads »

Its been ages since my last post here, but i could't help my self :P.

Click start > all programs > windows update
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

It's not possible to determine what service pack someone has via Javascript or PHP. Windows Update will not help.

An ActiveX/Java object can determine the service pack potentially..


what do you need this for?
shahroq
Forum Newbie
Posts: 6
Joined: Wed Sep 21, 2005 8:05 am

Post by shahroq »

i have a web application in a non-english language that has problem in findin some characters in windows 2k with sp 1 or 2 (this problem solved in win 2k with sp 3 and 4).
now i want to banned users with win2k-sp1 and 2 to access my application.
remember that i cant put complicated or plug-ins needed solutions, i just want to check the service pack and if the user have sp1 or 2, dont let him to login.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

if you used a UTF8 or UNICODE 16 character set, you shouldn't have any issues with almost any version of Windows 2000
shahroq
Forum Newbie
Posts: 6
Joined: Wed Sep 21, 2005 8:05 am

Post by shahroq »

now its not the issue(unisoce), i have this problem and im looking for way to check the sp version.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

as I've said, you can't.. there is no reliable way to do it without guessing, or simply showing them text and a correctly rendered image of these "problem" characters...
Post Reply