Subscribe For Free Updates!

We'll not spam mate! We promise.

Showing posts with label Windows. Show all posts
Showing posts with label Windows. Show all posts

Thursday, 15 January 2015

Unlock Windows User Account If Your Password Expired or Forgot

Lost the password of the only administrator account on your computer? Windows password has expired but you forgot the original password? Just imagine yourself in such a situation! How to unlock a locked or expired user account without admin privileges? This tutorial will show you step-by-step procedure to unlock Windows 8, 7, Vista or XP user account with a bootable WinPE CD.

 

Step 1: Make A Bootable CD

Use an alternate PC to download the PCUnlocker ISO image which is a WinPE-based bootable media. The file you downloaded is a zip file that contains the disk image, you will need to extract the image from the zip file (i.e. drag it to your desktop).

Download ImgBurn and install, launch the program. Select the ‘Write image file to disc’ option. Next click the browse option and navigate to the disk image you just extracted. Click Open.

Select the burn to disc icon (Note: This will be greyed out, until there is a blank CD in the drive). The image is very small, it will not take long to burn.

Step 2: Boot Your Locked PC from CD

This procedure uses the boot CD you have just created, for it to work you need to make sure the machine will attempt to boot to its CD/DVD Drive before it boots to its hard drive. (Or it will simply boot into Windows login screen again).

This change in boot order (boot sequence) is carried out in the machines BIOS. When you turn on the machine watch for a message that looks like Press {key} to enter Setup. Typically Esc, Del, F1, F2, F12, or F9. When in the BIOS locate the boot order and move the CD/DVD Drive to the top of the list.

Step 3: Unlock Windows User Account

Once your computer boots from the CD, the entire Windows PE boot image will be loaded into memory. After the booting procedure is complete, you'll see the PCUnlocker program. It automatically searches for your Windows SAM database on your local hard drive, and then show you a list of local user accounts for your Windows installation.

From the list box you can find out which user account is locked out, disabled or password protected. Choose a user account with an expired or forgotten password, and click on "Reset Password" button. The program will remove your forgotten Windows login password, set your password to never expire, and unlock your locked or disabled user account.

Click on "Restart" button and reject the WinPE CD. The computer will reboot and it then automatically log back into your Windows user account without asking for a password!

Cracking/Hacking Windows Passwords (UPDATED: VISTA too!!)

Picture of Cracking/Hacking Windows Passwords (UPDATED: VISTA too!!)
xpboot.gif
Instructional/Educational Purposes only.
Be nice kids.

First of all, and I have to say this because of some recent comments, this is not a virus, and will not delete any files from your computer. In fact, ophCrack, the software we're gonna use is a very popular password cracker. Google it or Wikipedia it if you don't believe me.

This works for WINDOWS ONLY
UPDATE: WORKS FOR XP AND VISTA

This will crack all windows passwords up to 14 digits on a computer.
You need physical access to the computer.
You don't need to be logged in (that's what this is for).
It will tell you all user names and passwords on the computer.

 

Step 1: Get the resource

1. Go here:
http://ophcrack.sourceforge.net/download.phphttp://ophcrack.sourceforge.net/download.php

2. Download the latest version of ophcrack live cd. To crack passwords on an XP computer select 'ophcrack XP LiveCD'. To crack passwords on a VISTA computer select 'ophcrack VISTA LiveCD'.

3.The software you download will be a CD image (.iso format). If you try opening this on a computer with a CD-Writer and CD-Writing Software (eg. Nero, Roxio, Record Now, or whatever you have) it will write that file to a CD.
So, make the CD

Step 2: Crack

1. Make sure the computer you intend to crack is off.

2. Turn on, and instantly pop in the CD you just created.

3. By this time, windows might have started loading. So, turn off computer by holding down power button and then turn on again. What you want to do is boot from the CD. This can be done in two ways:
a. Often pressing one of the function keys (depending on manufacturer) takes you into the BIOS setup (the first splash screen that pops up when you turn on your computer should tell you which one: often F2, F11 or F12.) There, you should look around until you find where you can change the boot order (this differs from company to company depending on your computer brand). Change the boot order, so the computer first boots from CD then from Hard Disk.
b. There is often another function key (again depending on manufacturer) which enters you into the boot selection menu where you can select where to boot from. Hit boot from CD.

4. Watch as the CD loads. It will load a temporary version of linux on to the ram, dump all user names in a box and start processing. This software can only crack passwords up to 14 digits. As it deciphers the passwords, it will decipher each password in two blocks of 7 characters each, and then show you the whole password as a combination of those two under the column labeled 'net password'.

5. Vola! In about 5-10 minutes you have all the user names and passwords on that computer.
 

Great Tricks for Windows 8 that You Probably Don’t Know image

image
We’ve covered a lot of tips, tricks, and tweaks for Windows 8, but there are still a few more. From bypassing the lock screen to instantly taking and saving screenshots, here are a few more hidden options and keyboard shortcuts.
Whether you love Windows 8, hate it, or just wish Metro would go away, these options will help you make Windows 8 work the way you want it to.

Disable the Lock Screen

Windows 8 shows a lock screen when you restart your computer, log out, or lock it. It’s very pretty, but it just adds one more keystroke to the login process. You can actually disable the lock screen entirely, although Microsoft hides his option very well.
image
This option is located in the Group Policy Editor. To launch it, type “gpedit.msc” at the Start screen and press Enter.
image
In the Group Policy Editor, navigate to Computer Configuration\Administrative Templates\Control Panel\Personalization.
image
Double-click the “Do not display the lock screen” option, set it to Enabled, and click OK.
image
The next time you restart your system, log out, or lock the screen, you’ll see the login screen instead of the lock screen.
image
Combine this with skipping the Start screen and you can boot to a login screen and log straight into the desktop, just like on previous versions of Windows. The desktop will be the second screen you access instead of the fourth.

Take & Save Screenshots Instantly

Windows 8 has a new hotkey combination that lets you take and save screenshots instantly. To take a screenshot, hold the Windows key down and press the Print Screen key. Your screen will flash and Windows will save a screenshot to your Pictures folder as a PNG image file.
image
You might assume that WinKey+Alt+Print Screen would take and save a screenshot of the current window, but it doesn’t. Maybe this will be implemented in the final version of Windows 8.
We’ve also covered other new keyboard shortcuts in Windows 8.

Prevent Files From Opening in Metro

If you prefer to use Windows 8’s desktop and try to avoid Metro, you may be surprised the first time you double-click an image file in Windows Explorer and get kicked back into Metro. By default, Windows 8 launches images, videos, and music in Metro apps – even if you open them from the desktop.
To avoid this, launch the Default Programs control panel by pressing the Windows key to access Metro, typing “Default Programs,” and pressing Enter.
image
Click the “Set your default programs” link.
image
In the list of available programs, select the “Windows Photo Viewer” application and click the “Set this program as default” option.
image
Repeat this process for the  “Windows Media Player” application. You can also set the desktop version of Internet Explorer as your default Web browser from within Internet Explorer.
Of course, if you have a preferred image viewer or media player, you can install it and set it as the default application instead.

Display Administrative Tools

By default, Windows hides the Event Viewer, Computer Management and other Administrative Tools from the Start screen. If you use these applications frequently, you can easily unhide them.
From the Start screen, mouse over to the bottom or top right corner of the screen and click the Settings charm. You can also press WinKey-C to view the charms.
sshot-20
Click the “Settings” link under Start and set the “Show administrative tools” slider to “Yes.”
image
The Administrative Tools will appear on the Start screen and in the All Apps list.
image

Control Automatic Maintenance

Windows 8 has a new scheduled maintenance feature that automatically updates software, runs security scans, and performs system diagnostics at a scheduled time. By default, the maintenance tasks run at 3am if you aren’t using your computer. If you’re using your computer at the scheduled time, Windows will wait until the computer is idle.
To customize this time, open the Action Center from the flag icon in the system tray.
image
You’ll find Automatic Maintenance under the Maintenance category. Click the “Change maintenance settings” link to customize its settings.
image
From this screen, you can set the time you want to run automatic maintenance tasks. You can also have Windows wake up your computer to run maintenance tasks, if it’s asleep.
image

Customize Search Applications

Metro apps can appear as options when you use the search feature.
image
You can control the apps that appear here and trim down the list. First, click the Settings charm from anywhere on your system and click the “More PC settings” link.
image
From the PC settings screen, click the Search category and use the sliders to hide apps from the search screen.





image

Do you have any other Windows 8 tricks to share? Leave a comment and let us know!

How to Make Your Computer Talk to You


Intelligent machines capable of speech are often the stuff of futuristic sci-fi movies, but you can turn any computer into a chatty Cathy. Even though we aren’t yet at the stage with computers where they can interact with us like people, there are a few tools and simple scripts we can write to make any computer that is running Windows speak to us.

A Little (Visual) Basic History

In 1988, the first iteration of VBScript or (Visual Basic Scripting Edition) appeared and was still a very primitive version of what we have today. Over the years, the need for an easy to use and lightweight scripting language for Microsoft increased. Because of this, the company kept working on it and finally released it to the public in 1996.
It is a simple script that uses COM (Component Object Model) to create, read, update, and delete files within Microsoft operating systems. Since Windows 98 was released, it has been installed with every computer. It is highly versatile because of the fact that the VBScript host environment can be embedded within programs using Microsoft Script Control. It is used quire often with Internet Information Services, Windows Script Host, and Internet Explorer.
But, that’s enough of the technical jibber jabber. Let’s get down to it and learn how to make your computer talk!

Single Use VBScripts

Creating a visual basic script is very easy and doesn’t require any special programs. Though there are programs you can use to write more highly advanced scripts, most programmers and people who dabble in writing scripts just use Microsoft’s Notepad.
Let’s start the process by opening Notepad. After you have opened Notepad all you need to do is type in the following code or simply copy and paste it into the notepad window. In order to change what your script makes the computer say, simply replace the section that says “The geeks shall inherit the earth” with whatever you want to hear.
dim speechobject
set speechobject=createobject("sapi.spvoice")
speechobject.speak "The geeks shall inherit the earth"
Talking Computer 2
After you have successfully entered the text you wish to hear, just press “File,” and click on the “Save As…” option.
Talking Computer 3
Find a place where you want to save the image. For this example, I am saving it to an empty folder in the Downloads directory. The important thing you need to do is give it a name that ends with .vbs. This will tell the computer that you are not saving a plain text file; rather, you are saving a VBScript. We will name this sample “Geek test.vbs” as shown below.
Talking Computer 4
Now you can go ahead and close the notepad and navigate to the folder where you saved the VBScript. You will notice that the icon is not the normal TXT icon. It is a small blue scroll on a white backdrop. Double click on this icon to launch your single use script and listen to your text. Congratulations, you’ve just created your first script.
Now, to get the hang of it, try to create a few more scripts with any text you want to hear. Alternatively, you can right click on the VBScript and select the “Open with…” option then choose notepad to edit the text within the same file.
Talking Computer 5

Text to Speech Script

Now that you know how to write a single use script and have probably played with it a few times, you may be getting a bit bored. That’s why we are going to kick it up a notch.
The next thing we will learn is how to create a script that is slightly more advanced than the single use script. This will create a dialog box that you can type text into and have it read back to you by your PC.
Start by opening up your notepad again and entering this script or copy and pasting it into the notepad window.
 Dim message, sapi
 message=InputBox("What shall I say, your Geekness?","I speak for you.")
 Set sapi=CreateObject("sapi.spvoice")
 sapi.Speak message
Talking Computer 6
After the code has been entered, simply save the file as “Text to Speech.vbs” as shown earlier to finalize the script. Once it has been saved, navigate to the location where it is, and double click on it. You will notice that window is called “I speak for you.” and the prompt to enter text to be vocalized is “What shall I say, your Geekiness?” You can always alter these to say anything you want.
For now, let us enter “The geeks shall inherit the earth” then press the “OK” button to run the script and hear your text out loud.

Greetings VBScript Script

This is getting pretty fun, but your computer still isn’t interacting with you very much. Now we will try another simple script that takes into account the time of day as well as the appropriate response for the time of day. This script will read your computer’s time and, based on that, it will greet you in a certain way.
Start by opening your notepad and inserting this short script. You can replace the section that has the greetings of the day with any phrase you want to hear as well as replace Geekmeister with your own name.
Set Sapi = Wscript.CreateObject("SAPI.SpVoice")
 dim str
 if hour(time) < 12 then
 Sapi.speak "Good Morning Geekmeister "
 else
 if hour(time) > 12 then
 if hour(time) > 16 then
 Sapi.speak "Good evening Geekmeister "
 else
 Sapi.speak "Good afternoon Geekmeister "
 end if
 end if
 end if
Talking Computer 8
Now you can save the text document as a VBS file. Once you have done that, go to the folder where it is saved and double click on it. Based on the time that your computer shows, it will either say “Good morning, good afternoon or good evening Geekmeister.”
The script tells it that if the clock reads anything before 12, it is morning, and that anything after 12 is afternoon; however, it also has a clause that says even if it is after 12, as long as the time is past 16:00 (4 pm) it becomes evening.
Talking Computer 9

Time of Day VBScript Script

If you would like to get a little bit more advanced and receive the time, you can create a new notepad and enter this script.
The script may look complicated, but it is essentially telling your computer what to say and how to say it based on the time that is shown on your computer’s clock. You can always replace the “The current time is” with any introduction for the time that you want.
Set Sapi = Wscript.CreateObject("SAPI.SpVoice")
 Sapi.speak "The current time is"
if hour(time) > 12 then
 Sapi.speak hour(time)-12
 else
 if hour(time) = 0 then
 Sapi.speak "12"
 else
 Sapi.speak hour(time)
 end if
 end if
if minute(time) < 10 then
 Sapi.speak "o"
 if minute(time) < 1 then
 Sapi.speak "clock"
 else
 Sapi.speak minute(time)
 end if
 else
 Sapi.speak minute(time)
 end if
if hour(time) > 12 then
 Sapi.speak "P.M."
 else
 if hour(time) = 0 then
 if minute(time) = 0 then
 Sapi.speak "Midnight"
 else
 Sapi.speak "A.M."
 end if
 else
 if hour(time) = 12 then
 if minute(time) = 0 then
 Sapi.speak "Noon"
 else
 Sapi.speak "P.M."
 end if
 else
 Sapi.speak "A.M."
 end if
 end if
 end if

Now you just need to save the file as a VBScript as you did in the previous steps and then navigate to that folder. If everything went well, you should be able to double click on it and hear the computer tell you the time.

Startup Greeting

Now that you know how to make your computer greet you and tell you the time, how cool would it be if the computer would do that when you turn on the computer. It is actually very easy to do if you just combine the two scripts and put them in the right place.
Start by opening up Microsoft notepad and copying this code into the window. It is simply a copy of both codes combined for you. Remember that you can change the greeting to “What’s up dude, Hello Master, Greetings your almighty highness,” or anything you want your computer to say to you.
Set Sapi = Wscript.CreateObject("SAPI.SpVoice")
 dim str
 if hour(time) < 12 then
 Sapi.speak "Good Morning Geekmeister "
 else
 if hour(time) > 12 then
 if hour(time) > 16 then
 Sapi.speak "Good evening Geekmeister "
 else
 Sapi.speak "Good afternoon Geekmeister "
 end if
 end if
 end if
 Sapi.speak "The current time is"
if hour(time) > 12 then
 Sapi.speak hour(time)-12
 else
 if hour(time) = 0 then
 Sapi.speak "12"
 else
 Sapi.speak hour(time)
 end if
 end if
if minute(time) < 10 then
 Sapi.speak "o"
 if minute(time) < 1 then
 Sapi.speak "clock"
 else
 Sapi.speak minute(time)
 end if
 else
 Sapi.speak minute(time)
 end if
if hour(time) > 12 then
 Sapi.speak "P.M."
 else
 if hour(time) = 0 then
 if minute(time) = 0 then
 Sapi.speak "Midnight"
 else
 Sapi.speak "A.M."
 end if
 else
 if hour(time) = 12 then
 if minute(time) = 0 then
 Sapi.speak "Noon"
 else
 Sapi.speak "P.M."
 end if
 else
 Sapi.speak "A.M."
 end if
 end if
 end if
Once you have copied this entire code exactly as it is, into notepad, go ahead and save it as “Startup greeting.vbs”. It can also be called anything you want, but for the purposes of this demonstration, it is easier if we’re all on the same page. Now that it has been saved, you can double click on the VBScript file to hear it greet you and tell you the time.
Talking Computer 11
If you want it to play when you turn on your computer, like Jarvis from Iron Man, simply select the file and drag it with your mouse down to the “Start button.” Without releasing your mouse move it onto “All Programs” then find the “Startup” folder and release your mouse button.
Talking Computer 12
If, for some reason this does not work for you, you can also manually navigate to the startup folder. You will first go to the folder where your “Startup greeting.vbs” is saved and copy it.
The next step is to type the following path into the top of any Explorer window and press “Enter”. You will just need to change USERNAME with the name you use for your computer account.
C:\Users\USERNAME\AppData\Roaming\Microsoft\
Windows\Start Menu\Programs\Startup
Once you are in the startup folder, just paste the vbs file and you are good to go. Now, the next time you start your computer and log in, it should automatically greet you and inform you of what time it is.
Talking Computer 13
If you had any trouble creating any of the scripts, they are all free to download by using these links.
  1. Geek Test
  2. Greeting
  3. Startup Greeting
  4. Telling Time
  5. Text to Speech

Wednesday, 14 January 2015

What you need to know about Unix, Linux, and variants

Unix ABCs
Unix, which is not an acronym, was developed by some of the members of the Multics team at the bell labs starting in the late 1960's by many of the same people who helped create the C programming language. The Unix today, however, is not just the work of a couple of programmers. Other organizations, institutes, and other individuals contributed significant additions to the system we now know today.

Linux ABCs

Developed by Linus Torvalds and further elaborated by a number of developers throughout the world, Linux (lee'nuhks/ or /li'nuks/,_not_/li:'nuhks) is a freely available multitasking and multiuser operating system. From the outset, Linux was placed under General Public License (GPL). The system can be distributed, used, and expanded free of charge. In this way, developers have access to all the source codes, thus being able to integrate new functions or to find and eliminate programming bugs quickly. Thereby drivers for new adapters (SCSI controller, graphics cards, etc.) can be integrated very rapidly.

MS-DOS vs. Linux and Unix

If you are able to navigate a computer using MS-DOS or the Windows command line, you should be able to quickly pick up on the navigation of Linux and Unix. In the below chart is a listing of common MS-DOS commands with their Linux and Unix counterpart.
MS-DOSLinux and Unix
attribchmod
backuptar
dirls
clsclear
copycp
delrm
deltreerm -R
rmdir
editvi
pico
formatfdformat, mount, and umount
move and renamemv
Typeless <file>
cdcd
chdir
more < filemore file
mdmkdir
winstartx

Linux and Unix Commands



Aa2p | ac | access | alias | agrep | apropos | apt-cache | apt-get | aptitude | ar | arch |
arp |as | aspell | at | awk
Bbasename | bash | bc | bdiff | bfs | bg | biff | break | bs | bye
Ccal | calendar | cancel | cat | cc | cd | chdir | checkeq | checknr | chfn | chgrp | chkey
|chmod | chown | chroot | chsh | cksum | clear | cls | cmp | col | comm | compress | continue|
copy | cp | cpio | crontab | crypt | csh | csplit | ctags | cu | curl | cut
Ddate | dc | dd | df | depmod | deroff | dhclient | diff | dig | dircmp | dirname | dmesg |
dos2unix | dpkg | dpost | du
Eecho | ed | edit | egrep | eject | elm | emacs | enable | env | eqn | ex | exit | expand | expr
Ffc | fdisk | fg | fgrep | file | find | findsmb | finger | fmt | fold | for | foreach | fromdos | fsckftp | fuser
Ggawk | getfacl | gethostname | gpasswd | gprof | grep | groupadd | groupdel | groupmod |
gunzip | gview | gvim | gzip
Hhalt | hash | hashstat | head | help | history | host | hostid | hostname
Iid | ifconfig | ifdown | ifup | ip | init | info | iostat | isalist | iwconfig
Jjobs | join
Kkeylogin | kill | killall | ksh
Llast | ld | ldd | less | lex | link | ln | lo | locate | login | logname | logout | losetup | lp |lpadmin |
lpc | lpq | lpr | lprm | lpstat | ls | lsof | lzcat | lzma
Mmach | mail | mailcompat | mailx | make | man | merge | mesg | mii-tool | mkdir | mkfs |
modprobe | more | mount | mt | mv | myisamchk | mysql
Nnc | neqn | netstat | newalias | newform | newgrp | nice | niscat | nischmod | nischown |nischttl |
 nisdefaults | nisgrep | nismatch | nispasswd | nistbladm | nl | nmap | nohup | nroffnslookup
Ood | on | onintr | optisa
Ppack | pagesize | passwd | paste | pax | pcat | perl | pg | pgrep | pico | pine | ping | pkill |
poweroff | pr | printenv | priocntl | printf | ps | pstree | pvs | pwd
Qquit
Rrcp | readlink | reboot | red | rehash | remsh | renice | repeat | replace | rgview | rgvim |
rlogin | rm | rmail | rmdir | rn | route | rpcinfo | rsh | rsync | rview | rvim
Ss2p | sag | sar | scp | screen | script | sdiff | sed | sendmail | service | set | setenv | setfacl|
 sethostname | settime | sftp | sh | shred | shutdown | signals | sleep | slogin | smbclientsort |
 spell | split | stat | stop | strftime | strip | stty | su | sudo | swapoff | swapon |sysinfo | sysklogd
Ttabs | tac | tail | talk | tar | tbl | tcopy | tcpdump | tee | telinit | telnet | test | time | timextodos |
top | touch | tput | tr | traceroute | tree | troff | tty
Uul |  umask | unalias | uname | uncompress | unhash | uniq | unlzma | unmount | unpack |untar |
until | unxz | unzip | uptime | useradd | userdel | usermod
Vvacation | vedit |  vgrind | vi | view | vim | vipw | vmstat
Ww | wait | wall | wc | wget | whereis | whatis | which  | whilewho | whoami | whois | write
XX | xargs | xfd | xhost | xlsfonts | xorg | xset | xterm | xrdb | xz | xzcat
Yyacc | yes | yppasswd | yum
Zzcat | zip | zipcloak | zipinfo | zipnote | zipsplit

* In addition to each of the above explanations, additional information about a specified command for your Unix or Linux variant can be found by using the main command.