I've to add some users/group to a local user/group in windows xp sp3.

I've tried to use:

        net localgroup Unlock ced /add /domain

but does not work (user SYSTEM):

        C:\WINDOWS\system32>net localgroup Unlock ced /add /domain
        La richiesta verrà elaborata dal controller di dominio per il dominio 
SANVITO. (the request will be processed by domain controller SANVITO)
        Errore di sistema 5. (system error 5)
        Accesso negato. (access denied)

If i run not using /domain (switch that, as docs stated, mean
«choose the group belonging to the primary domain», but instead
explicitly set domain:

        net localgroup Unlock SANVITO\ced /add

works.


I've googled around and a proposed method to know local domain are:

        systeminfo | findstr /B /C:”Domain”

but a little overkilled and os-language dependent.


There's a better way? Thanks.

-- 
dott. Marco Gaiarin                                 GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''                http://www.sv.lnf.it/
  Polo FVG  -  Via della Bontà, 7 - 33078  -  San Vito al Tagliamento (PN)
  marco.gaiarin(at)sv.lnf.it      tel +39-0434-842711  fax +39-0434-842797

                Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
           http://www.lanostrafamiglia.it/chi_siamo/5xmille.php
        (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
-------------------------------------------------------------------------
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
_______________________________________________
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users

Reply via email to