TheSwamp

Code Red => VB(A) => Topic started by: Lin-Z on December 01, 2005, 05:51:18 PM

Title: Script to change XP logon?
Post by: Lin-Z on December 01, 2005, 05:51:18 PM
We're having a little problem with winxp and a server install of Map 3D and ADT.  We've narrowed it down to 2 things:
1.  XP does not play well with others
2.  the user's logon name format is throwing everything off.

I'm trying to find an example of script that will take the logon name (first.last) and make windows see it as all one word (firstlast).  Yes, I know that the easy thing would be to just alter their login names but we're talking mondo security issues here.

Any suggestions would be most appreciated.   :-)
Title: Re: Script to change XP logon?
Post by: TR on December 01, 2005, 06:18:32 PM
Public Function RedoLogin(Login As String) As String
Dim lg() As String
lg = Split(Login, Chr(46))
RedoLogin = lg(0) + lg(1)
End Function
Title: Re: Script to change XP logon?
Post by: TR on December 01, 2005, 06:27:11 PM
Sorry, I'm an idiot. That wasn't what you're looking for.
Title: Re: Script to change XP logon?
Post by: jjs on December 06, 2005, 06:28:02 PM
We're having a little problem with winxp and a server install of Map 3D and ADT.  We've narrowed it down to 2 things:
1.  XP does not play well with others
2.  the user's logon name format is throwing everything off.

I'm trying to find an example of script that will take the logon name (first.last) and make windows see it as all one word (firstlast).  Yes, I know that the easy thing would be to just alter their login names but we're talking mondo security issues here.

Any suggestions would be most appreciated.   :-)

is it XP home or Pro?

What OS is the server running?