You are not logged in.
Due to a large amount of fake accounts registrations for advertising purpose (spam), this forum does not accept new registrations any longer.
You can still browse existing threads to find the help you are looking for. If you do not find it and have questions, please use this contact form.
====================================
En raison d'un nombre important d'enregistrements de faux comptes utilisateurs à des fins de spam (publicité non sollicitée), il n'est désormais plus possible de s'enregistrer sur les forums de support technique.
Vous pouvez toujours parcourir les sujets existants pour trouver ce que vous recherchez. Si vous ne trouvez pas l'information et avez des questions, veuillez utiliser ce formulaire de contact.
Is there a parameter to create an admin account when restoring via a command line? That would be very helpful.
Offline
Hi,
A standard user account can be changed into an admin account using this command line :
net localgroup "Administrators" "User_Name" /add
or
net localgroup "Administrators" "Computer_Name\User_Name" /add
The first one works in XP and the second with later systems.
Just put both lines in your script and that should do the trick.
regards,
Fab
Offline
Thanks!
Offline
[ Generated in 0.018 seconds, 7 queries executed - Memory usage: 1.42 MiB (Peak: 1.61 MiB) ]