I am working in a company that has a few different domains that have no trust
relationship.

Some of the users from a remote domain need to access a few shared folders
located on our domain.

Because there is no trust relationship between the two domains, these users
have
account in our domain.
Users can map the drives and access the resources and everything is fine
until I am running SOX reports and that is the time when

I see that "LastLogin" property is not updated for these users so I cannot
rely on
what is in stored in that variable to disable the accounts for inactivity
(e.g. 30 days
since last login).

Is there a way to fix this or a work around and have "LastLogin" updated
when they
authenticate in my domain?

I have a script for SOX but for tests I am using the following script:

On Error Resume Next

sDomain = Array("dc1","dc2","dc3")

UserID = InputBox("Please Enter User Name","User Name")

if UserID ="" then wscript.quit


For iCount = lbound(sDomain) To ubound(sDomain)
set UserS = GetObject("WinNT://" & sDomain(iCount) & "/" & UserID &
",user")
LastLoginOnS = LastLoginOnS & "Domain : " & sDomain(iCount) & "
" & UserS.LastLogin & vbcrlf
Next

Wscript.Echo UserS.AccountExpirationDate

Wscript.Echo "User Name : " & UserID & vbcrlf & vbcrlf & LastLoginOnS