Well, there's no guarantee that what's in the All Users folder is the factory settings, either, of course. It's whatever your admin has set it up to be.

To answer your question, though, I don't think that's enough. There are things in some INI files that you want to keep, but there are also things in the same INI files that you want to change. So just making the decision at the file level won't be good enough no matter what. And which things those are is implementation dependent, so it's likely to change frequently and without notice.

What is your goal here? Wiping out the entirety of a user's customizations doesn't seem like a very useful thing. If they wanted to do that, it seems they'd just delete the profile or create a new one.

Jamal Mazrui wrote:
What if only set files are copied from the All Users folder?

Jamal

On Mon, 4 Aug
2008, Ron Parker wrote:

Date: Mon, 04 Aug 2008 16:27:13 -0400
From: Ron Parker <[EMAIL PROTECTED]>
Reply-To: [email protected]
To: [email protected]
Subject: Re: Restoring factory settings


People more knowledgeable than I will probably address the rest of your
question, but I wanted to jump in to point out that if you copy all
files from All Users to the user profile folder, you will break the
trust mechanism, and you will revert the trust level to "only trusted
scripts" with no scripts or publishers trusted by default, regardless of
what the settings are in the All Users profile.

That's by design, to mitigate certain potential attack vectors, so it's
not a bug and it's not going to change.

Jamal Mazrui wrote:
Should a script copy all files from the All Users folder to the user
profile folder?  Should the file mask be more selective than *.* such as
*.0* instead?



Reply via email to