D
DavidEMS
I'm setting up an XP Pro computer for users who cannot use a keyboard. I need
the onscreen-keyboard (osk.exe) to load at startup BEFORE login, so the users
can login with userid and passwords.
I created a gpedit startup script. The script works perfectly and the
onscreen keyboard shows up when I execute the script AFTER login, but NOT as
a startup script.
I included code that logs to a file whenever the script is executed, and it
is logging and executing at startup. But the onscreen keyboard is not showing
up.
Set objShell = CreateObject("WScript.Shell")
objShell.Run ("c:\windows\system32\osk.exe")
'log when the startup script was run
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFile = objFSO.OpenTextFile("C:\ScriptLog.txt", 8, 1)
objFile.Write(now() & " Startup Script was run" & vbCrLf )
objFile.Close
Any thoughts?
the onscreen-keyboard (osk.exe) to load at startup BEFORE login, so the users
can login with userid and passwords.
I created a gpedit startup script. The script works perfectly and the
onscreen keyboard shows up when I execute the script AFTER login, but NOT as
a startup script.
I included code that logs to a file whenever the script is executed, and it
is logging and executing at startup. But the onscreen keyboard is not showing
up.
Set objShell = CreateObject("WScript.Shell")
objShell.Run ("c:\windows\system32\osk.exe")
'log when the startup script was run
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFile = objFSO.OpenTextFile("C:\ScriptLog.txt", 8, 1)
objFile.Write(now() & " Startup Script was run" & vbCrLf )
objFile.Close
Any thoughts?