| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 123701 | 2012-03-12 02:56:00 | Urgent Directory needed | DeSade (984) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 1264502 | 2012-03-12 03:49:00 | It's coz it's going to be case sensitive run: cat /proc/mounts This will show you where everything is mounted What you want to do is probably something like: mount -t ntfs-3g /dev/sda1 /mnt/windows Then type: cd /mnt/windows You're now in your windows drive, so then try something like: ls This will give you a directory listing. Your windows may or may not be "Windows" or "windows" or "WINDOWS", it depends. Remeber, it's linux now so it's going to be case sensitive. So then you want to go: cd windows ls | grep -i system32 The "-i" means "Ignore case", so it'll show you if it's System32, SYSTEM32 or system32 Then: cd system32 Again, keep in mind however it's capitalized I'm pretty sure the config directory is always lower-case so you can then: cd config *finally* you can: chntpw –l SAM ...and follow the rest of the tutorial. When you're done, you need to run (Don't forget to unlock the account after you've nullified it's password, I'm not sure if it's in the tutorial, haven't read it): cd ~/ umount /mnt/windows This will safely unmount the drive. Then, kill power / reboot / whatever :) |
Chilling_Silence (9) | ||
| 1264503 | 2012-03-12 07:29:00 | To reset the Windows 7 password - All you need is a windows recovery 7 CD or the original install DVD and about 30 seconds of time once at the command prompt-- Have a look These instructions (reboot.pro) From step 4 onwards, from the command prompt. Done it several times at customers places and they are shocked as to how easy it is. Take note of 6- When you reach the LogOn screen hit the Shift key 5 times, a command window will open. Other wise it doesn't work. |
wainuitech (129) | ||
| 1264504 | 2012-03-12 21:47:00 | /mnt/windows is the mount the directory is /Windows/System32/config Still not sure why I can't cd to it though After mounting enter the following command, find /mnt/windows -name SAM -print this will locate the directory where the SAM file is and display. Then you can change to that directory. In my system SAM is in C:\WINNT\system32\config and I run WinXP SP3. Also be careful with upper case/lower case etc. It has to be exact for the cd command to work in Linux. |
tmrafi (5179) | ||
| 1264505 | 2012-03-12 22:30:00 | Got it working It was a case issue all the way through and I needed to use sda2 not sda1. Thanks for the help. |
DeSade (984) | ||
| 1 2 | |||||