hbinded Posted November 10, 2006 Share Posted November 10, 2006 Hi, I have one quick question. After using nlite to make my unattended install, I noticed that the name of my %HOMEPATH% folder (which in my case is supposed to be C:\Documents and Settings\Administrator" ) had changed into "C:\Documents and Settings\Administrator.INFECTED" INFECTED is the name of my computer.I had some folders and files in "$OEM$\$Docs\Administrator\My Documents\Projects" which were supposed to be copied over during install but they weren't. So I was wondering what could have caused this? and how can I avoid the renaming of the said folder?Thanks! Link to comment Share on other sites More sharing options...
ZcWorld Posted November 10, 2006 Share Posted November 10, 2006 (edited) you could have have them copyed over at the runonce part of windowswhen windows boots up for the frist timeit will move the files that being copyed like c:\mystuff\docs\username\docs\ to c:\doc n settings\username\doc\ Edited November 10, 2006 by ZcWorld Link to comment Share on other sites More sharing options...
chapmani Posted November 22, 2006 Share Posted November 22, 2006 If you look at the Documents and Setting tree, you will see that there is a branch called "Administrator" and "Administrator.INFECTED". Your $OEM$ copied files are in the "Adminstrator" branc.It seems that when the install sees the account already exists (IE from its creation in the $OEM$\$Docs) it creates a new one by suffixing the computer name on the end. This is probably an attempt to keep files and setting from being overwritten by a new install. Link to comment Share on other sites More sharing options...
pugwash2004 Posted November 22, 2006 Share Posted November 22, 2006 The same thing happens on a network with a domain, if you log onto a fresh install with the local administrator account first and then a domain administrator account you'll have two folders starting with administrator but the second will be suffixed with the domain of the account. It's just the way windows deals with two accounts with the same name. Link to comment Share on other sites More sharing options...
hbinded Posted November 25, 2006 Author Share Posted November 25, 2006 I will use NSIS to copy the files. thanks a-lot! p.s. sorrry for the late reply. 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