Showing posts with label Windows. Show all posts
Showing posts with label Windows. Show all posts
Windows - How To Recover A Lost Password with Ubuntu

Windows - How To Recover A Lost Password with Ubuntu

You no longer remember the password of your Windows session? Need to unlock a password-protected PC? The following tutorial describes a simple, yet effective method of changing your current Windows password that will help you regain access to your session. 

This tip is valid for Windows XP, Vista, 7 and Windows 8 users. 

How To Reset Your Password in Ubuntu


Download and Burn Ubuntu onto a CD/DVD

The first step is to download and burn the Ubuntu disk image onto a CD or DVD. 

Boot from CD/DVD Drive

Insert the Ubuntu installation CD/DVD and start your computer. During startup, press Delete,F1 or F2 to access the BIOS. Once the BIOS setup utility opens, go to the Boot tab > Boot Device Priority

Drag the CD/DVD drive to the top of the list, and tap on F10 to save your settings. Press on Y (Yes) to confirm, and press Enter

Install chntpw

Once Ubuntu starts up, select your language settings, and click Try Ubuntu. Go to System >Administration > Synaptic Package Manager to open the package manager. Next, go toSettings > Repositories. Go to the Ubuntu Software tab > Downloadable from the Internetand tick the Community-maintained Open Source software - (universe) checkbox. Close theSettings menu. 

Click on the Reload button to update the packages. You will see a field called Quick Searchdisplayed at the top right. Type chntpw into the search box, and press Enter. The package will then be displayed. Click on the little star displayed on the left side of the package name, and selectMark to Install > Apply

Identify the System Drive

The next step is to locate the drive on which Windows is installed. 

Go to My Computer and search for the drive containing the Windows folder. Note the references of the selected drive. 

Delete Your Current Password

Go to Applications > Accessories > Terminal. Enter the following commands: 

cd /media
, followed by the Enter key. 
ls
, followed by the Enter key. 

A list of your hard disk drives will be displayed. Locate the system drive, and type cd xxxx . PressEnter. (Replace xxxx by the reference of the system drive). 

Next, type cd WINDOWS/system32/config and press Enter to move to the file that contains your passwords. 

Type sudo chntpw SAM -i, followed by Enter. Type 1 and then press Enter

A table with the names of all Windows users will be displayed. Move the RID column to retrieve the code for the desired user account. 

Type 0x followed by RID code of the user before and confirm with Enter

Type 1 and press Enter to erase the password for selected user. Once the operation has been carried out, press Enter to exit. 

Type Q to save all changes, followed by Enter to validate. 

Close all windows and restart your computer. Don't forget to remove the Ubuntu installation disk. 

You can now access your Windows session without any password requirement.

Switchable Graphics Cards on Windows 10

Some laptops come equipped with dual graphics cards, namely a high-performance standalone one (also known as a discrete graphics card) to run graphic intensive programs, and an integrated graphics chip built into to the motherboard. 

Integrated graphics cards are usually sufficient when it comes to running your OS (desktop), and performing basic tasks such as web browsing, video playback and document editing. However, in order to run games or graphic-intensive programs such as video editing, 3D animation, and CAD software, it is recommended that you switch to the discrete graphics card. This process is usually done by your operating system, but Windows 10 also allows you to launch program with the graphics card of your choice. 

The actual procedure of changing your graphics card is very easy. Simply right-click on the program shortcut > Run with graphics processor. You may then click on your desired option to designate the correct graphics card: 




Windows 10 - How to Change Cortana's Default Search Engine

The fact that Windows 10 doesn't provide any built-in option to change default search engine of Cortana led many people into thinking that the intelligent personal assistant works exclusively with Bing. Want to change the default search engine of Cortana or Windows Search? There exist a simple workaround that involves using Google Chrome or Firefox.


Prerequisites

- Donwload and install Google Chrome or Firefox
- Set Google Chrome or Firefox as your default web browser. 

Set your default web browser

Click on Start > Settings > System > Default apps > Web browser


Choose your default web browser. 

Change Cortana's default search engine with Firefox

Open Firefox, click on the Menu button > Options. Go to the Search section, select your default search engine (e.g. Google) and then tick the Use this search engine for searches from Windows checkbox:


Close the Options menu and try to make a web search with Cortana. 

Change Cortana's default search engine with Google Chrome

Open Google Chrome and then install the Bing2google extension from this link. Once installed, all your web searches made with Cortana or Windows Search will be redirected to Google.com: 


Want to redirect Bing searches to search engines other than Google? Get the Chrometana extension instead; It allows you to use the search engine of your selection.

Batch Script to Delete Old Files

Batch files can be created for customized tasks such as cleaning up older system, or copying files from one folder to another as a backup. 

Batch Script Command to Delete Files

If you would like to create a batch script that can be used to copy files older than 30 days from one folder to another, while simultaneously deleting the old files from the source folder, here's a sample batch script that can automate the task: 



forfiles /p "PATH" /s /d -30 /c "cmd /c del @file : date >= 30 days >NUL"

Note that the PATH in the given code should be substituted by the path where you would like your files to be deleted. If there are no spaces in the path, the - symbol is not needed. 

This command can be saved in a .bat file and may be scheduled with other automated tasks. 

N.B. More than one directory may be included in this command.

Kategori

Kategori