vitesse Posted April 20, 2004 Share Posted April 20, 2004 Is there a trick to keep the same acount name in c:\doccuments ans settings? the first time I install on a fresh HD it use c:\doccuments and settings\myname, but the second time, cause the name allready existe it use c:\doccuments and settings\administrator.myname. I want to put thinks in that place, like my favorite, but I can't because the phisical emplacement change after re-install. Link to comment Share on other sites More sharing options...
Jono Posted April 20, 2004 Share Posted April 20, 2004 you could always create a user at the cmdlines.txt stage (T-13) and then autologin as that user and call a cmd script to copy over the files, or you could use the all users folder under documents and settings which would put them there however all the other users on the computer would have them , so i would say your best bet is the 1st thing i mentioned above Link to comment Share on other sites More sharing options...
vitesse Posted April 20, 2004 Author Share Posted April 20, 2004 ok, but if I re-install windows, it will not be phisicaly in the same place, right?but the trick of all user is interesting for favorite, I have never think about that, but this is not pratical for all files. Link to comment Share on other sites More sharing options...
airmr Posted April 21, 2004 Share Posted April 21, 2004 Is it possible to create a user and use that User in the winnt.sif instead of admin for autologon the first time ? Link to comment Share on other sites More sharing options...
ToBe Posted April 21, 2004 Share Posted April 21, 2004 Is it possible to create a user and use that User in the winnt.sif instead of admin for autologon the first time ?Look here:http://unattended.msfn.org/xp/autologon.htmI don't think you can add a user through winnt.sif. Link to comment Share on other sites More sharing options...
vitesse Posted April 25, 2004 Author Share Posted April 25, 2004 My Unattended CD is almost finish, but I allways search how to use the same physical name. I can create a user acout, no problême... the first time this is c:\documments and settings\myname\ but if I re-install the second time this is c:\documments and settings\myname.000\ and c:\documments and settings\myname.001\....... Is it possible in a windows xp instalation to re-use the same folder from the old instalation so keeping all your doccuments and favorite from the last instalation widout manualy copy it after the instalation. Cause I don't know what will be the old windows directory and the new one, it depend on how many time I have installed it, so I can't do a batch file for that task. Anyone Have an Idea? Link to comment Share on other sites More sharing options...
Sebastiaan Posted May 8, 2004 Share Posted May 8, 2004 I'm trying to accomplish the same... Anybody? Link to comment Share on other sites More sharing options...
jambocool Posted October 3, 2004 Share Posted October 3, 2004 this is what im tryin to do... except to make it all that much harder ive got 3 different user accounts !! Link to comment Share on other sites More sharing options...
MHz Posted October 3, 2004 Share Posted October 3, 2004 if exist "%systemdrive%\documents and settings\myname" goto endnet user myname /addnet localgroup Administrators myname /addnet accounts /maxpwage:unlimitedREGEDIT /S autologon.reg:endExitIf you are using a batch file to create an account that already exists. Why not use if exists?3 Accounts?if exist "%systemdrive%\documents and settings\myname" goto user2net user myname /addnet localgroup Administrators myname /addnet accounts /maxpwage:unlimitedREGEDIT /S autologon.reg:user2if exist "%systemdrive%\documents and settings\myname2" goto user3net user myname2 /addnet localgroup Administrators myname2 /addnet accounts /maxpwage:unlimited:user3if exist "%systemdrive%\documents and settings\myname3" goto endnet user myname3 /addnet localgroup Administrators myname3 /addnet accounts /maxpwage:unlimited:endExit Link to comment Share on other sites More sharing options...
Tsunami Posted October 3, 2004 Share Posted October 3, 2004 that's nice MHz, but you will still have to create the user if the folder exists. I haven't found a way to do this yet either, so I can't help here. Link to comment Share on other sites More sharing options...
MHz Posted October 3, 2004 Share Posted October 3, 2004 if exist "%systemdrive%\documents and settings\myname" ren "%systemdrive%\documents and settings\myname" "%systemdrive%\documents and settings\myname-old"net user myname /addnet localgroup Administrators myname /addnet accounts /maxpwage:unlimitedREGEDIT /S autologon.reg:endExitPerhaps you could try this if required.Normally, if you reinstall over the top of a windows installation, the accounts are kept? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now