prevent use of 'net user' command to change passwords on windows vista / xp
Posted
by
guest
on Super User
See other posts from Super User
or by guest
Published on 2010-12-29T09:30:12Z
Indexed on
2010/12/29
9:55 UTC
Read the original article
Hit count: 265
hello
the point is, if i'm logged in (and as almost every windows user, i've got an admin-account), and someone comes across my not locked pc, it is possible to change my password the pro-way through using:
net user Admin %NEW_PASSWD%
what can i do to prevent that, besides not being logged in as admin.
i once saw a way, where the 'net user' command was substituted by a .bat file. so if you call 'net user Admin ...', it runs this .bat-file instead, which locks the notebook immediately.
problem is, i honestly don't know how i could let windows substitute eg net.exe with a .bat-file. (too little windows knowledge)
do you know any way how to do it? i'd appreciate it.
© Super User or respective owner