Fab's AutoBackup forums

Welcome to Fab's AutoBackup technical support forums
Bienvenue sur les forums de support technique de Fab's AutoBackup

You are not logged in.

Announcement


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.

#1 2015-11-17 03:31:46

Kaizen
Member
Registered: 2014-04-03
Posts: 37

[SOLVED] create admin accounts via command line mode

Is there a parameter to create an admin account when restoring via a command line? That would be very helpful.

Offline

#2 2015-11-17 09:42:27

Fab
Administrator
Registered: 2011-05-11
Posts: 1,307

Re: [SOLVED] create admin accounts via command line mode

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

#3 2015-11-18 02:37:39

Kaizen
Member
Registered: 2014-04-03
Posts: 37

Re: [SOLVED] create admin accounts via command line mode

Thanks!

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.027 seconds, 8 queries executed - Memory usage: 508.53 KiB (Peak: 509.17 KiB) ]