I am trying to create a simple page for users to log printer issues on
our PS4 Citrix farm.
I have created a simple html form and published it on our intranet, the
form only asks too questions, Users Department and Problem description.
I however, am collecting more pertinant information on the asp
submission page. (time, date, username, IP address, etc)
The problem is I am trying to collect the OSVersion and Local Computer
Name as well.
When I try using;
Set objNet = CreateObject("WScript.NetWork")
strLocalName = objNet.ComputerName
strLocalName always gives me the name of the intranet server,
(basically the same results as using
Request.ServerVariables("SERVER_NAME").
I am trying to get the OS Version by performing a regread;
sOStype = oShell.RegRead("HKLM\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\ProductName")
sOSVersion = oShell.RegRead("HKLM\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\CSDVersion")
sOSBuild = oShell.RegRead("HKLM\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\BuildLab")
strFullOS = sOStype & " " & sOSVersion & "(" & sOSBuild & ")"
This also gives we the details of the server and not the client.
Has anybody done this before, and if so, can you let me know how!