Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Add user @ T-12 not working properly

Featured Replies

I have followed the add user and autologon routine over on the unattended site as mentioned at one stage in another topic, but it hasn't worked for me fully - it added the user, but it just didn't add it to the Administrators group.

Here is what I have got to work with so far...

adduser.cmd - changed passwords in next 2 files too

net user rustynet Pa55w0rd /add
net localgroup Administrators rustynet /add
net accounts /maxpwage:unlimited
REGEDIT /S autologon.reg
EXIT

Autologon.reg

Windows Registry Editor Version 5.00 

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"DefaultUserName"="rustynet"
"DefaultPassword"="Pa55w0rd"
"AutoAdminLogon"="1"

The only thing I can think of is that I still had that NetUser exe file in the \$oem$\system32 directory on the cd, which I used to use to rename the default Admin account, but I'd have thought that it would only work with netuser as one word, and the net user command would be handled by CMD as usual - or am I obviously wrong and that was my problem?


this is what mine looks like and it works smooth. i run it from cmdlines @ t-13

i don't have a P/W, that is what the blank quotes are.

NET USER "Matt" "" /ADD /COMMENT:"Generated Administrator Account" 
NET LOCALGROUP Administrators "Matt" /ADD
NET ACCOUNTS /MAXPWAGE:UNLIMITED

hope you figure it out. :)

  • Author

Is it meant to have the "" around the name, as the Unattended site doesn't show it?

Mine's actually run from cmdlines.txt too, just that I didn't think of that for the topic, though the file only has 2 entries - one which runs the adduser.cmd and another which run a batch to run a reg file to set the source directory, though I don't think it worked as came up with the cd drive source still later.

That's what I use in a batch file launched by cmdlines.txt :

SET USER=Squall
net user %USER% "" /add
net localgroup administrators "%USER%" /add
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "DefaultUserName" /d "%USER%" /f
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "DefaultUserPassword" /d "" /f
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "AutoAdminLogon" /d "1" /f

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.