SerialKeys fails for non-admins in XP
WinXPTalk.com Forum Index WinXPTalk.com
Forums for Windows XP users.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winxptalk.com
SerialKeys fails for non-admins in XP

 
Post new topic   Reply to topic    WinXPTalk.com Forum Index -> Accessibility
Author Message
Steve - MO
Guest





Posted: Fri Dec 10, 2004 2:13 am    Post subject: SerialKeys fails for non-admins in XP Reply with quote

We use SerialKeys to pass data from our serial barcode readers to our
Windows application. This has worked great under Windows NT and 2000. Now
with XP Pro, I'm finding that SerialKeys - the SerialKeys Service - will fail
to start if the user that first logs on does not have administrative
privileges.
If I logon first with an account with Admin rights, SerialKeys works
perfect, and I can log out and back in with a non-admin account and it
continues to work. If I power down the PC, then restart, then again
SerialKeys wont work if I logon with a non-admin account first.
When SK fails for a non-admin account, there's 2 events recorded in the
System event log - 7009 and 7000 - stating that serialkeys timed out waiting
to connect. There's also one event recorded in the Application log -
....SerialKeys error: 5. Unable to create event.
Any clues???

thanks
Back to top
Michael Solomon (MS-MVP)
Guest





Posted: Fri Dec 10, 2004 2:24 am    Post subject: Re: SerialKeys fails for non-admins in XP Reply with quote

First, did you enable SerialKeys in each user account? If yes, were the
accounts admin accounts when you turned on SerialKeys in that account? If
not, try temporarily making the user account an admin account, then turn on
SerialKeys, make sure it works as you wish in that account and then return
it to its limited status. If SerialKeys shows as already turned on in these
user accounts, first temporarily change the account to admin, then turn off
SerialKeys and then turn it back on as specified above.

If the above doesn't resolve the issue, you might try this question on the
windowsxp.configuration_manage newsgroup.

--
Michael Solomon MS-MVP
Windows Shell/User
Backup is a PC User's Best Friend
DTS-L.Org: http://www.dts-l.org/

"Steve - MO" <Steve - MO@discussions.microsoft.com> wrote in message
news:42DD0638-127B-4D61-A0CA-6B75BCFE3977@microsoft.com...
Quote:
We use SerialKeys to pass data from our serial barcode readers to our
Windows application. This has worked great under Windows NT and 2000.
Now
with XP Pro, I'm finding that SerialKeys - the SerialKeys Service - will
fail
to start if the user that first logs on does not have administrative
privileges.
If I logon first with an account with Admin rights, SerialKeys works
perfect, and I can log out and back in with a non-admin account and it
continues to work. If I power down the PC, then restart, then again
SerialKeys wont work if I logon with a non-admin account first.
When SK fails for a non-admin account, there's 2 events recorded in the
System event log - 7009 and 7000 - stating that serialkeys timed out
waiting
to connect. There's also one event recorded in the Application log -
...SerialKeys error: 5. Unable to create event.
Any clues???

thanks
Back to top
Steve - MO
Guest





Posted: Fri Dec 10, 2004 9:41 pm    Post subject: Re: SerialKeys fails for non-admins in XP Reply with quote

Thanks for the response.
Yes, SerialKeys has been enabled for all user accounts. The fact that it
shows the failure in the event log proves it's trying to run.

Since my first posting, I've pinpointed the problem, and it's not what I
assumed.

The actual problem is that SerialKeys fails to load when I have autologon
enabled in Windows XP, regardless of whether the user auto-logging on has
administrative privileges or not. If I use the SHIFT key at logon to stop
the auto-logon, then manually enter the credentials, SerialKeys works fine
for any user, admin or not.

If the user has admin rights and serialkeys doesn't start due to the
autologon, they can issue the 'net start serialkeys' cmd and it works.
Unfortunately, none of my users are running with admin rights, so that
doesn't work for them.

I think I need to find a way to allow non-admins to start the SerialKeys
service so I can put it in their logon script, or find a way to institute a
delay before the serialkeys service runs.

Any ideas? thanks
Back to top
Michael Solomon (MS-MVP)
Guest





Posted: Sat Dec 11, 2004 12:06 am    Post subject: Re: SerialKeys fails for non-admins in XP Reply with quote

I think you should take this question to the windowsxp.security_admin
newsgroup for help with the logon script. If they can't help,
windowsxp.configuration_manage would be another possibility.

--
Michael Solomon MS-MVP
Windows Shell/User
Backup is a PC User's Best Friend
DTS-L.Org: http://www.dts-l.org/

"Steve - MO" <SteveMO@discussions.microsoft.com> wrote in message
news:8C87ED70-ABE6-4FBE-A298-CCED505063CB@microsoft.com...
Quote:
Thanks for the response.
Yes, SerialKeys has been enabled for all user accounts. The fact that it
shows the failure in the event log proves it's trying to run.

Since my first posting, I've pinpointed the problem, and it's not what I
assumed.

The actual problem is that SerialKeys fails to load when I have autologon
enabled in Windows XP, regardless of whether the user auto-logging on has
administrative privileges or not. If I use the SHIFT key at logon to stop
the auto-logon, then manually enter the credentials, SerialKeys works fine
for any user, admin or not.

If the user has admin rights and serialkeys doesn't start due to the
autologon, they can issue the 'net start serialkeys' cmd and it works.
Unfortunately, none of my users are running with admin rights, so that
doesn't work for them.

I think I need to find a way to allow non-admins to start the SerialKeys
service so I can put it in their logon script, or find a way to institute
a
delay before the serialkeys service runs.

Any ideas? thanks

Back to top
 
Post new topic   Reply to topic    WinXPTalk.com Forum Index -> Accessibility All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Office Forums Access Forums Windows Server Exchange Server Help
New Topics Powered by phpBB