如何在OpenBSD下修改Windows密码

OpenBSD的安装、升级、更新等日常问题。

版主: chenjun天地乾坤

回复
头像
leo
帖子: 2465
注册时间: 2010-01-21 3:27

如何在OpenBSD下修改Windows密码

帖子 leo » 2010-11-07 22:47

Version: 100627, Package name: chntpw-100627Maintained by: Ian DarwinRequired to build:
[archivers/unzip] [devel/gmake] Master sites: Description
"Forgot your Windows NT/2k/XP/Vista admin password?
Reinstall? Oh no... But not any more...

"chntpw is a utility to (re)set the password of any user that has a
valid (local) account on your Windows NT/2k/XP/Vista etc system.
You do not need to know the old password to set a new one.
It works offline, that is, you have to shutdown your computer and
boot off a floppydisk or CD or another system.
Will detect and offer to unlock locked or disabled out user accounts!
There is also a registry editor and other registry utilities that
works under linux/unix, and can be used for other things than
password editing."

README
$OpenBSD: README,v 1.1 2010/11/06 17:47:11 merdely Exp $

USE AT OWN RISK. READ ALL DOCUMENTS CAREFULLY. One thing worse than
being unable to login is being unable to boot; you can get there from here.

To use this program, you must have built a kernel with the config option

option NTFS

(Most kernels built after 2010/09/08 have this enabled by default).

And, you must have mounted the root of your Windoze filesystem as something like

mount -t ntfs -o rw /dev/wd1i /mnt

If your NT disk is small enough to dd to a file on your real disk, you can
experiment along these lines (see mount_vnd to understand):

# mount -t vnd -o c xp-test.hd /dev/vnd0c
# mount -t ntfs /dev/vnd0i /mnt

Then

cd /mnt/Windows/System32/config

chntpw -u noobish sam system security ... or other commands,
or
chntpw SAM SYSTEM SECURITY # sometimes names are upper case.
as per the README.txt file in this directory.
See also the other text files.

READ ALL WARNINGS. As it says there and on the web site: USE AT OWN RISK.

MD5: iwRsIHPyfu1yjhhjW6ct1A=RMD160: HY+jAgyYu3SKwuSekc13wr5km0E=Filesize: 652.976 KB
Package available on: cdrom(图片), ftp(图片)
Distfile available on: cdrom(图片), ftp(图片)

Version History (View Complete History)
  • (2010-11-05) Package added to openports.se, version chntpw-100627 (created)

wkx9dragon
锌 Zn
帖子: 493
注册时间: 2010-02-02 18:00

帖子 wkx9dragon » 2010-11-08 15:02

牛叉,找到一个非pe的修改密码工具了。哪天试试。

头像
leo
帖子: 2465
注册时间: 2010-01-21 3:27

帖子 leo » 2010-11-08 15:09

小心一点,我可没有亲自试过,不能保证肯定可以正确运行。

头像
crzyfish
镍 Ni
帖子: 195
注册时间: 2010-02-05 20:11

帖子 crzyfish » 2010-11-10 17:55

ob现在可以写ntfs了吗?连vista都能还也算不错哦~以前只改过xp的

回复

在线用户

正浏览此版面之用户: 没有注册用户 和 2 访客