4

In Windowses (XP SP3, Windows 7, et al), setting Windows' login/account/user password by:

  • Run --> Compmgmt.msc --> Local Users and Groups --> Users --> Right Click on a user in right panel --> Set password...

shows:

Resetting this password might cause irreversible loss of information for this user account. For security reasons, Windows protects certain information by making it impossible to access if the user's password is reset.

  • Update (added the end of this warning)

    "The data loss will occur the next time the user log off.

    You should use this command only if a user has forgotten his or her password and does not have a password reset disk. If this user has created a password reset disk should use the disk to set the password.

    If the user knows the password and wants to change it, he or she should log in, then use User Accounts in Control Panel to change the password.

    For additional information, click Help.

    Buttons: Proceed, Cancel, Help"

and in next dialog box:

If you click OK, the following will occur:

  • The user account will immediately lose access to all of its encrypted files, stored passwords, and personal security certificates

enter image description here

Can these losses be reverted by setting the login password back to the old one?
Or, more specifically, do these losses still occur, if I

  • change the password first to another (new) one and, after that, by the same procedure,to a previous (old) one?
  • if I enter in "New password:" and "Confirm password:" textboxes the old password?
    i.e. set the password to the old one )applying this procedure)?

Update:
As developer, I know that deleting and then recreating an object doesn't restore the old object, just creates identical copy (with usually tedious manual work of restoring references, links, dependencies which are rarely even known since frequently created dynamically, in run-time).

And the question has huge implications for practical system administration especially in workgroups, sometimes big ones.

5
  • 4
    I wonder why we don't get this warning when changing passwords using Control Panel > User Accounts
    – Moab
    Apr 25, 2012 at 0:59
  • Yes, I also wanted to write about it but then decided to keep the question less bloated. Note than in case using Control Panel > User Accounts one should enter the old password Apr 25, 2012 at 4:33
  • "one should enter the old password" what effect does this have over not entering the old password in computer management? Probably should make a SU question out of this.
    – Moab
    Apr 25, 2012 at 17:36
  • 2
    @Moab: if you are changing your own password, you enter the old password and Windows decrypts and then re-encrypts your encryption key, so that there is no data loss. Apr 26, 2012 at 4:52
  • Note that you can disable file encryption with group policy, although stored passwords and personal security certificates might still be an issue. Apr 26, 2012 at 4:54

2 Answers 2

1
Can these losses be reverted by setting the login password back to the old one?

Depends on if were talking about encrypted information or not.

if I enter in "New password:" and "Confirm password:" textboxes the old password? i.e. set the password to the old one )applying this procedure)?

If you did this then the password would not actually be changed. Information stored like the encryption key likely still would be wiped. Why would anyone do this?

1
  • 3
    Why would anyone do it? - A: First, it is methodological question, the answer to which permits me to understand more clearly this area. Second, there are various practical situations - sometimes, in workgroup I change a lot of passwords, and forgot that I already changed one (or more), etc. Apr 24, 2012 at 18:16
1

The warning message will always be displayed when you change your password. No matter whatever you'll change it to:

The user account will immediately lose access to all of its encrypted files, stored passwords, and personal security certificates

I think you won't lose access to your EFS encrypted files after changing your password back to the old password. Because the EFS files are encrypted based on the RID and password hash of your user account. The RID and encryption algorithms won't change from time to time. There is no random number involved in the encryption procedure.

1
  • Aren't the password hashes salted? If so, the salt would change, even if you set your password to the same string. Sep 9, 2019 at 11:59

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .