Errors copying Default User files to new user

  • Thread starter Thread starter ianworthington
  • Start date Start date
I

ianworthington

I've just reinstalled win 2000 on a machine here with sp4 and all other
MS updates. Its also got on it Office 2000, a few utilities, and a
collection of anti-malware products (AVG, Spybot S&D, Ad-aware, MS
Anti-spyware, and Zonealarm).

After installing all this, I find that whilst I can create other user
ids, I am unable to log them in, getting errors whilst copying
Templates from the Default User. (The actual file varies, but it seems
to be always the Templates folder affected).

Event Type: Error
Event Source: Userenv
Event Category: None
Event ID: 1000
Date: 10/10/2005
Time: 20:22:11
User: MARGARETPC\test3
Computer: MARGARETPC
Description:
Windows cannot copy file C:\Documents and Settings\Default
User\Templates\winword.doc to location C:\Documents and
Settings\test3\Templates\winword.doc. Contact your network
administrator.

DETAIL - The process cannot access the file because it is being used by
another process.




Event Type: Error
Event Source: Userenv
Event Category: None
Event ID: 1000
Date: 10/10/2005
Time: 20:22:12
User: NT AUTHORITY\SYSTEM
Computer: MARGARETPC
Description:
Windows cannot log you on because the profile cannot be loaded. Contact
your network administrator.

DETAIL - The process cannot access the file because it is being used by
another process.


I've checked the permissions on C:\Documents and Settings\Default
User\, and the affected files and its showing Read and Read&Execute for
Everybody. Just in case, I reset it and propogated it to the children,
but with no effect.

I've tried with with various user types too: it happens even for new
Administrators.

Any thoughts on what might be wrong?

Ian
....
 
I've just reinstalled win 2000 on a machine here with sp4 and all other
MS updates. Its also got on it Office 2000, a few utilities, and a
collection of anti-malware products (AVG, Spybot S&D, Ad-aware, MS
Anti-spyware, and Zonealarm).

After installing all this, I find that whilst I can create other user
ids, I am unable to log them in, getting errors whilst copying
Templates from the Default User. (The actual file varies, but it seems
to be always the Templates folder affected).

Event Type: Error
Event Source: Userenv
Event Category: None
Event ID: 1000
Date: 10/10/2005
Time: 20:22:11
User: MARGARETPC\test3
Computer: MARGARETPC
Description:
Windows cannot copy file C:\Documents and Settings\Default
User\Templates\winword.doc to location C:\Documents and
Settings\test3\Templates\winword.doc. Contact your network
administrator.

DETAIL - The process cannot access the file because it is being used by
another process.




Event Type: Error
Event Source: Userenv
Event Category: None
Event ID: 1000
Date: 10/10/2005
Time: 20:22:12
User: NT AUTHORITY\SYSTEM
Computer: MARGARETPC
Description:
Windows cannot log you on because the profile cannot be loaded. Contact
your network administrator.

DETAIL - The process cannot access the file because it is being used by
another process.


I've checked the permissions on C:\Documents and Settings\Default
User\, and the affected files and its showing Read and Read&Execute for
Everybody. Just in case, I reset it and propogated it to the children,
but with no effect.

I've tried with with various user types too: it happens even for new
Administrators.

Any thoughts on what might be wrong?

Ian
...

Try these two tests:

1. Copy the default profile to some other location from a Command
Prompt, using this command:
xcopy /s /h "%UserProfile%\..\Default User\*.*" c:\Junk\
- Does the problem still occur?
- Do you get any more descriptive error messages?

2. Load oh.exe (Win2000 Resource Kit), reboot, then run this
command from the Command Prompt:
oh | find /i "windword.doc"
It will tell you which process is locking the file.

I also wonder whether your machine is clean or if you have some
spyware that is locking this file.
 
Hi Pegasus. Many thanks for your reply.

I tried with xcopy, as you suggested, but the problem did not occur.

I also tried the oh command (though on "default" as the file isn't
always the same one) and it found nothing locked apart from the
index.dat files.

The problem still persists when I try to create new users though.

Any more thoughts?

Thanks,

Ian
....
 
Hi Pegasus. Many thanks for your reply.

I tried with xcopy, as you suggested, but the problem did not occur.

I also tried the oh command (though on "default" as the file isn't
always the same one) and it found nothing locked apart from the
index.dat files.

The problem still persists when I try to create new users though.

Any more thoughts?

Thanks,

Ian
...

Did you use xcopy.exe with the switches I suggested? If so
then there is probably something wrong with the mechanism
that generates new profiles. If this was my machine then I would
do the following, trying things after each step:

- Rename Default User to "Default User.bad", then run these
commands:
xcopy /s /h "Default User.bad" "Default User\"
cacls "Default User" /t /e /g everyone:F
- Move Winword.doc out of the Default User folder.
- Reboot in Safe Mode under the new account

If Safe Mode works then you have some process that locks
up some files in the Default Profile. Run msconfig.exe and
untick tasks progressively from the Startup tab until you have
isolated the culprit. You can download msconfig.exe from here:
http://www.svrops.com/svrops/dwnldoth.htm

And if all fails: Reload Windows from scratch.
 
Thanks Pegagus.

Recreated the Default User structure but it didn't solve the problem.

Moved out the files the logon process had a problem with one by one
until eventually I moved out the entire Templates directory: the
problem then moved at the Accessories folder!

Logon in Safe mode worked, do I started disabling stuff in Startup
until I had *everything* disabled (apart from mobsync, which keeps
getting reactivated?!). Then I could log on, but immediatly I started
putting stuff back in it failed again.

More worryingly I'm now unable to logon afresh even when I *do* disable
everything.

I suspect we're talking another reinstall then. But this is the second
time already as the first had this same problem. Initial install is
ok, but after adding the service packs, updates, and anti-malware
products it breaks. Most odd.

For now I think I'll just live with have to go to safe mode to initiate
a new user until I have another reason to reinstall afresh: this one
feels like it could run and run :(

Many thanks for your help.

Ian
....
 
Thanks Pegagus.

Recreated the Default User structure but it didn't solve the problem.

Moved out the files the logon process had a problem with one by one
until eventually I moved out the entire Templates directory: the
problem then moved at the Accessories folder!

Logon in Safe mode worked, do I started disabling stuff in Startup
until I had *everything* disabled (apart from mobsync, which keeps
getting reactivated?!). Then I could log on, but immediatly I started
putting stuff back in it failed again.

More worryingly I'm now unable to logon afresh even when I *do* disable
everything.

I suspect we're talking another reinstall then. But this is the second
time already as the first had this same problem. Initial install is
ok, but after adding the service packs, updates, and anti-malware
products it breaks. Most odd.

For now I think I'll just live with have to go to safe mode to initiate
a new user until I have another reason to reinstall afresh: this one
feels like it could run and run :(

Many thanks for your help.

Ian
...

Thanks for the feedback.
 
Back
Top