Sunday, 19 April 2015

How to Change a Guest Account to an Administrator in Windows

If you want the Windows guest account to be more than just a guest account, then read on.

Steps

  1.  Make sure the guest account is enabled. You must be an administrator to do this. If you are not an administrator, go into safe mode with command prompt and click on the administrator account.
     
  2.  Open Notepad (Start > All Programs > Accessories > Notepad)
     
  3.  Type the following:
    • net localgroup guests guest /delete
    • net localgroup administrators guest /add
     
  4.  Save as anything.bat (make sure the file type is selected as all files).
     
  5.  Double click on the new file.
     
  6. After the command prompt closes, you have succeeded.

Tips

  • If the administrator has a password it is recommended to use an ""ophcrack live cd"" (search Google) to crack an administrator password.
  • This can also be used to switch a guest to a limited account. Just replace administrator accounts with user accounts.
  • Type the commands on separate lines or this will not work.
  • To change it back, use system restore to before you changed it.

Warnings

  • If you give a guest account too much power (such as administrator), anyone that accesses the computer can delete other accounts, steal files, change system settings, etc. Do this at your own risk.

How to Change a Guest Account to an Administrator in Windows


Friday, 17 April 2015

How to Kill a Process in Command Prompt

To kill processes on your computer, you would normally use the Windows Task Manager. The Windows Task Manager is a program designed to help you manage the processes running on your computer. Although the Task Manager is sufficient for most circumstances, it is designed to prevent users from ending processes that it believes are critical which can result in some errors when you try to kill those processes using it. Additionally, some frozen programs may not terminate if you attempt to kill them from Task Manager. When you encounter problems such as these, you're not out of options. A program called Command Prompt may be able to kill processes that Task Manager can't. If you want to kill a process on your computer using Command Prompt, read on!

Part 1 of 2: Viewing Processes Currently Running on Your Computer

  1. Start Task Manager. Press the ^ Ctrl key, the  Shift key, and the  Esc key in consecutive order at the same time to open Task Manager.
     
  2. View the names of the running processes and identify the problematic process.
     
     
    Click the Processes tab in Task Manager and find the name of the process that you want to kill.
    • Windows 8/8.1 users should click the Details tab.
    • If a program that is currently running on your screen is frozen and you want to kill it, an easy way to find its name is to click the Applications tab (Processes tab in Windows 8/8.1), right click the window's name, then click Go to process (Go to details in Windows 8/8.1).
    • If the Task Manager window does not display any tabs, double-click in the indicated space in the window to show them.
 

Part 2 of 2: Killing Processes Currently Running on Your Computer

  1.  Open the Start menu. Press the  Win key.
     
  2.  Start Command Prompt as an Administrator. Right click the first result that appears in the Start menu and click Run as Administrator.
    • If a User Account Control dialog appears, click Yes on it.
     
  3.  Type taskkill /f /im into Command Prompt.
     
  4.  Space at least once after completing the previous step, type a quotation mark, type the name of the process you want to kill, then type another quotation mark to top it off.
     
  5. Kill the process. Press the  Enter key.
    1. Command Prompt should display a message similar to SUCCESS: The process "example.exe" with PID 0000 has been terminated.

How to Make a Password Generator Using Command Prompt

You may be bored with your work and want to make something for fun or something else, then you can try this technique to make a password generator in command prompt.
  1. Open Notepad. There are many ways to open it. You can do this by:
    • Click on Start -> Accessories -> Notepad, or
    • Click on Start -> Run and type notepad, then hit Enter.
     
  2. Type the code as shown below into Notepad.
     
  3. Click on File -> Save as.
     
  4. Write the file name in ".bat" format, e.g.- Password Generator.bat and chooseAll files from Save as type drop-down list, then click on Save.
     
  5. Open up the saved file to get 3 generated passwords. It'll generate other 3 passwords on your every key-stroke.
     
  6. To close this process press Ctrl+Break, then press Enter. Now press "y" to exit.


How to Hide a File in an Image File

Hiding a file in an image file is called 'Steganography'. Its a technique using which we can exchange data across the world over internet without using any encryption or decryption method. What happens actually is we just bind the file (we want to send) with an image file. The actual file becomes hidden within an image file and hence becomes more protected. The image file functions normally as it should. Even if someone snoop into our network and gets his hands on over that image, he just can't unbind the actual file hidden within that image until unless he doesn't know the exact trick. Lets see how to do this. Follow the steps below carefully.

Part 1 of 2: Hiding the File

  1. Create a new folder anywhere in your system. For example: "D:\NewFolder".
     
     
  2. Select all files you want to hide and get them zipped using WinZip or WinRar.Let this file is 'womb.rar'.
     
  3. Select an image file like 'ppp.jpg' in which you want to hide your 'womb.rar'.
     
  4. Place both 'ppp.jpg' and 'womb.rar' into the folder you created.
     
  5. Open command prompt (press 'Window+R', type 'cmd' & press 'Enter' key).
     
  6. In Command Prompt window, navigate to the folder where you placed both 'ppp.jpg' & 'womb.rar' files. Just type "cd folder-path" for example: cd D:\New Folder in Command Prompt.
     
  7. Type following command very carefully in Command Prompt:
    copy /b ppp.jpg+womb.rar ppp.jpg.
     
  8. Well done! If everything went good, 'womb.rar' (contains all those files you want to hide) has been hidden in the 'ppp.jpg' (image file you selected).

Part 2 of 2: Accessing the Files

  1. Realize that 'ppp.jpg' is a JPEG extension file. Hence its properties will remain same. It'll work like any other JPEG image file. But your data 'womb.rar' is still hidden within it.
     
  2. Know that there are two file extraction methods:
    • Method 1: Simply right-click 'ppp.jpg' and select 'open with winrar'. You (or anyone you send the file to) can see 'womb.rar' zipped file there. Just unzip it and here your all files are.
    • Method 2: Change the extension from 'ppp.jpg' to 'ppp.rar'. Then, double-click to open it. You can see 'womb.rar' zipped file there. Just unzip it, and here your all files are.