thank you so much
MAKES TOTAL SENSE...
and you are correct...the GPO was VERY shaky it didn't do anything. I think I will try the way you said AD account
also yes I see what you mean - the value was no good because I did not have the correct script.
da huh LOL sorry :)
MUCH APPRECIATON TO...
thank you MUCH APPRECIATION
THIS WAS INCORRECT
MsgBox "OSVersion='" & OSVersion & "'"
if I took the "OSVersion='" and got rid of the ' then the result was OSVersion='
then I took away the "'" and put just "" and got a blank
so I started experimenting...basically it did not return an...
Well that gave me a result of OsVersion="
so that does not work
this is the code...what is WRONG?
Select Case OSVersion
Case "Microsoft Windows XP Professional"
strProg = "netswitchXP.vbs"
Case Else
strProg = "netswitch.vbs"
End Select
CreateObject("WScript.Shell").Run "cscript.exe " &...
I did it did not help. It runs fine...but does not do the netswitchXP.vbs
basically I need to TURN OFF the wireless network card on any computer regardless of O.S. IF the user has a WIRED CONNECTION. so that they cannot have a simultaneous connection of both wired and wireless.
the...
OK I tried running it and it looks like it works but does not really work? the screen flies by so fast -
I can run my netswitchXP.vbs script in a dos window with
cscript.exe netswitchXP.vbs "Local Area Connection" "Wireless Network Connection"
and IT WORKS.
but when I use the script (which...
OK - I need to put the following 'variables' after each netswitchXP.vbs OR netswitch.vbs commands
cscript.exe netswitchXP.vbs "Local Area Connection" "Wireless Network Connection"
or
cscript.exe netswitch.vbs "Local Area Connection" "Wireless Network Connection"
is that possible?
I am a novice with vbscripting but have a desperate need for a script to do the following (EXTREMELY SIMILAR to the thread "Find if OS is x86 or x64 then Windows 7 or XP and run msi">
HOWEVER, all I need to do is test if the operating system is XP or NOT...and run a script
if XP I need to...
I am a novice with vbscripting but have a desperate need for a script to do the following (EXTREMELY SIMILAR to the above request)
<which was Find if OS is x86 or x64 then Windows 7 or XP and run msi>
HOWEVER, all I need to do is test if the operating system is XP or NOT...and run a script...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.