Hi there,

I hope you can help me!

I use the readvalue to get a domain. Then it has to be showed in the screen. For example I'll use for the domain: TEST1
It seems like this :

$RdvDom=ReadValue("HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MSNP32\NetworkProvider","AuthenticatingAgent")

? "$$RdvDom = $Rdvdom"

Displayed : $RdvDom = TEST1

The script where I need this part for will run over more domains. There all domains have separate configurations, I use different Labels.

I want to use the readvalue into a label. Such like this:

While @error=0
goto $Rvd
Endif

? "Not logged on to an active Domain !!!"
Exit

:TEST1
? "CONFIGs for clients which logged on to Domain TEST1"
Exit

:TEST2
? "CONFIGs for clients which logged on to Domain TEST2"
Exit

:Test3
? "CONFIGs for clients which logged on to Domain TEST3"
Exit

I hope you do understand my problem.

Thnx a lot for the one who can help me !!!!

Greetings Ro!