MSFN Forum: Locked-out my administrator user/group from hard disk permissions - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

If you have questions about customizing Windows XP that are nLite-specific, please post them in the nLite forum, not here. If you have questions regarding the unattended installation of Windows XP, please post them in the Unattended Windows 2000/XP/2003 section.
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Locked-out my administrator user/group from hard disk permissions To avoid trojan writing itself to my 2nd partition Rate Topic: -----

#1 User is offline   matthewk 

  • Member
  • PipPip
  • Group: Members
  • Posts: 288
  • Joined: 07-June 05

  Posted 23 November 2007 - 06:32 PM

Hey guys,
I had this trojan that created itself along with an autorun.inf on all drives (and all usb removable drives that were inserted into my pc). I have one hard disk that is partitioned into c: and d: , and I formatted and reinstalled windows on c:\ thinking it would clear it up. Oddly enough, when I had winxp reloaded, d: still had the exe and autorun.inf there. So, it corrupted my windows install/process list when I viewed my d: drive.

To get rid of it, I opened a dialog and checked the box to deny the writing of d: for the admins group and system. I left that open, and brought up the explorer window with d:\ showing the exe file and the autorun.inf file. I selected them both, deleted, and quickly hit apply on the permissions dialog box for d:\. So, the files didn't get recreated.

I formatted c:, and reinstalled windows again, and now the two files and hidden process in windows is gone. The only problem is windows still has the denied permissions for writing to d:\ set (see img below). I was surprised that these permissions were still existing after a reinstall. Anyone have a solution for me? I believe the only thing remaining to do is restore my writing permissions for my admin&system groups.
Thanks,
Matthew K
Posted Image


#2 User is offline   Idontwantspam 

  • Nerd-in-Chief
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,063
  • Joined: 25-February 07

Posted 23 November 2007 - 06:53 PM

Permissions are stored in each file, folder or drive's Access Control List (ACL), which is NOT changed when you reinstall on a different partition, move the disk to another computer, etc. Therefore, the permissions you set remain even after a reinstall.

Why not just restore permission? Is there a problem with doing so?

#3 User is offline   matthewk 

  • Member
  • PipPip
  • Group: Members
  • Posts: 288
  • Joined: 07-June 05

Posted 23 November 2007 - 07:03 PM

View PostIdontwantspam, on Nov 23 2007, 06:53 PM, said:

Why not just restore permission?

How do I do that? I am logged in with the only admin user that I created when I reinstalled windows, and the box is grayed-out.
Posted Image

This post has been edited by matthewk: 23 November 2007 - 07:22 PM


#4 User is offline   Idontwantspam 

  • Nerd-in-Chief
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,063
  • Joined: 25-February 07

Posted 23 November 2007 - 07:26 PM

Oh, I see.

The problem is that when you reinstalled windows, you possibly got assigned a new SID. Meaning you don't own the drive.

Take ownership of it. Click the owners tab, select the administrators group and click OK a few times. Close all the dialogs open, then try to give yourself permission again.

#5 User is offline   matthewk 

  • Member
  • PipPip
  • Group: Members
  • Posts: 288
  • Joined: 07-June 05

Posted 23 November 2007 - 07:29 PM

That worked, thanks a lot :) I actually tried it and didn't think that it worked. I just went back to try it again, and I noticed that they were available for me to get the permissions back. Thanks a lot for your replies.

#6 User is offline   Idontwantspam 

  • Nerd-in-Chief
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,063
  • Joined: 25-February 07

Posted 23 November 2007 - 07:40 PM

Glad to help. :hello:

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy