RSS

Tag Archives: win 10

Reset a Windows 10 password with CMD

requirement = installation Disk of any windows 7,8,8.1,10

boot into the boot disk. instead of install we will select repair.

then go to trouble shoot options. search for cmd

when you find it. launch it. by default cmd will open to a directory name x:> we will need to change that to the drive where windows is installed. to do this do the following
type in    c:
this will get us into C drive. type in dir to list all the content. if the list doesn’t show the items of Windows partition. you are not in the right drive. change the drive, D: or E: do this until you find the drive.

now we will move to the the system32 folder cd windows\system32 when we get here. rename the osk.exe file to osk.old. to do this run the follwing command.

rename osk.exe osk.old

now rename cmd.exe to osk.exe
same as above
rename cmd.exe osk.exe

As per design when we are on the login screen of windows there is a on screen keyboard (osk.exe) available to us. by following the above steps we have just replaced that keyboard with command prompt.

now restart and boot into the system (not the boot disk). when we are on the login screen with the user account to which we forgot the password.

open the accessibility option and click on on screen keyboard. which will launch cmd.exe

to list all users of the system :

net user

when we know the actual username of the account we want to change password.

net user [USERNAME] *

[USERNAME] refer to the account whose password we are trying to change.

if you are planning to change password and enable the built in administrator
net user administrator /active:yes
is a compulsory step.

after running the above command a new password prompt is shown. assign a new password for the account. close the cmd. and use the new pass to login.

after this don’t forget to change everything as they were.

to do this; boot into the os-disk and undo all the changes.

rename osk.exe cmd.exe
rename osk.old osk.exe

deactivate the built in administrator if you no longer need it.

thats all!

 
2 Comments

Posted by on September 28, 2017 in Windows

 

Tags: , , , , ,

Windows Photo viewer on Win 10

copy+paste the following code to a notepad file and save it as a “.reg” file. then run as administrator. this will enable photo-viewer.  after it is enabled go to control panel > default programs> select “windows photo viewer” > set default to all applicable extensions. then open an image it may open in the new image viewer. to change this go to properties of the image file and change default app.

NB: even after it got enabled ‘old photo viewer ‘ may not appear in ‘new default apps menu of win 10″

 Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Applications\photoviewer.dll]

[HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell]

[HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\open]
"MuiVerb"="@photoviewer.dll,-3043"

[HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\open\command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,72,00,75,00,\
6e,00,64,00,6c,00,6c,00,33,00,32,00,2e,00,65,00,78,00,65,00,20,00,22,00,25,\
00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,00,6c,00,65,00,73,00,\
25,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,20,00,50,00,68,00,6f,\
00,74,00,6f,00,20,00,56,00,69,00,65,00,77,00,65,00,72,00,5c,00,50,00,68,00,\
6f,00,74,00,6f,00,56,00,69,00,65,00,77,00,65,00,72,00,2e,00,64,00,6c,00,6c,\
00,22,00,2c,00,20,00,49,00,6d,00,61,00,67,00,65,00,56,00,69,00,65,00,77,00,\
5f,00,46,00,75,00,6c,00,6c,00,73,00,63,00,72,00,65,00,65,00,6e,00,20,00,25,\
00,31,00,00,00

[HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\open\DropTarget]
"Clsid"="{FFE2A43C-56B9-4bf5-9A79-CC6D4285608A}"

[HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\print]

[HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\print\command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,72,00,75,00,\
6e,00,64,00,6c,00,6c,00,33,00,32,00,2e,00,65,00,78,00,65,00,20,00,22,00,25,\
00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,00,6c,00,65,00,73,00,\
25,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,20,00,50,00,68,00,6f,\
00,74,00,6f,00,20,00,56,00,69,00,65,00,77,00,65,00,72,00,5c,00,50,00,68,00,\
6f,00,74,00,6f,00,56,00,69,00,65,00,77,00,65,00,72,00,2e,00,64,00,6c,00,6c,\
00,22,00,2c,00,20,00,49,00,6d,00,61,00,67,00,65,00,56,00,69,00,65,00,77,00,\
5f,00,46,00,75,00,6c,00,6c,00,73,00,63,00,72,00,65,00,65,00,6e,00,20,00,25,\
00,31,00,00,00

[HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\print\DropTarget]
"Clsid"="{60fd46de-f830-4894-a628-6fa81bc0190d}" 
 
Leave a comment

Posted by on September 10, 2017 in Windows

 

Tags: , , ,