This error means your Windows account is temporarily locked due to too many failed password attempts. It is a security feature, usually lasting about 30 minutes to an hour before it automatically unlocks. To resolve it immediately, wait for the lockout period to expire, use another admin account, or log in to a different account.
How to Fix the Locked Account Error
Check Local Account/Safe Mode: If you have another admin account on the computer, log in with it,
open cmd as Administrator, and type cmd:
C:\Windows\System32> net user yourusername /active:yes
to unlock it.
Alternatively, boot into Safe Mode to access the system. To do so Hold continuosly (Right or Left Shift key), while on the Windows Login Prompt and choose Restart.
Wait like this until PC boots and choose the Appearing Troubleshoot -> Console option.
From recovery console to list the users:
C:\Windows\System32> net user
Check Time/Date (are correct)
Ensure your system's time and date are accurate, as discrepancies can cause authentication failures.
Wait it Out
The simplest annoying fix is waiting 30–60 minutes, as the account will automatically unlock itself.
Restart the Computer: A simple reboot can sometimes clear temporary policy locks.
Use an Administrator Account: If it is a domain account, contact your IT helpdesk (if you have such) to unlock it.
Account Unlock Method 2: Unlock Windows Locked Account via lusrmgr.msc
If you could still log into your computer using another administrator account, you can open the Local Users and Groups snap-in (lusrmgr.msc) and unlock any locked Windows account easily.
1. Press the Windows + R keys to open the Run dialog, type lusrmgr.msc, and click OK.
lusrmgr.msc
2. Click the Users folder in the left pane of Local Users and Groups snap-in. Next, right-click on your locked account in the middle pane and then select Properties.
3. Under the General tab, uncheck the option labelled Account is locked out, and then click Apply to unlock your account. That's it!
Unlock locked windows Admin account with linux
Unlocking a locked Windows local account using Linux is achieved by booting from a live Linux USB (such as Ubuntu or Kali Linux) and using the chntpw (Change NT Password) utility to edit the Windows Security Accounts Manager (SAM) database. This method works for local accounts, but not for online Microsoft accounts.
Prerequisites
A USB drive (min 8GB) to create a bootable Linux live environment.
The chntpw utility (installed by default on Kali Linux, or installed via sudo apt install chntpw on other distributions).
Crucial: Disable Fast Startup in Windows or ensure a full shutdown (hold Shift while clicking Shut Down) to prevent the partition from being locked in read-only mode.
Step-by-Step Guide: Using chntpw command
Create and Boot Live USB: Download a Linux ISO (e.g., Ubuntu, Kali), burn it to a USB using Rufus or Etcher, and boot the locked computer from this USB.
Mount Windows Partition:
Open a terminal and identify your Windows drive:
# fdisk -l
Mount the partition (e.g./dev/sda2):
# mkdir /mnt/windows
# mount /dev/sda2 /mnt/windows
Navigate to SAM Registry:
# cd /mnt/windows/Windows/System32/config/
List Users: Run the following to list users and find the RID (Relative ID) for your account:
# chntpw -l SAM
Edit User / Unlock Account:
Run the interactive tool for your username (replace username):
# chntpw -u username SAM
To unlock: Press 2 to unlock and enable the user account.
To clear password: Press 1 to clear the password.
Save Changes: When asked "Write hive files?", type y and press Enter.
Reboot:
# umount /mnt/windows
# reboot
Account Unlock Method 3: Unlock Windows Locked Account with PCUnlocker (boot CD image)
Sometimes you might get your only admin account locked out after successive failed login attempts.
For security if you are a paranoid sysadmin who configured to automatically unlock the account, you'll be permanently locked out of Windows box and none of the usual tricks work to get you back in, then a boot CD like PCUnlocker would be perhaps the only option.
Download the PCUnlocker utility (ZIP archive) and save it to your desktop or another place you can get to easily. Extract the ZIP file to your local drive and you'll get an ISO file.
Next, burn the ISO file to a blank CD using your favorite image burning program. If you want to install PCUnlocker onto a USB flash drive, I recommend using the freeware like ISO2Disc.
Boot your locked computer from the CD just burned.
To to so, you may need to change the BIOS boot order so the CD drive option is listed first (if it is not already done in BIOS).
After successfully booting from the CD, PCUnlocker will list out all accounts on your computer available to manage.
Under the "Locked Out" column in the list, you can see which account is locked out already.
Choose your locked account / click on Reset Password button.
It will quickly unlock your Windows account and remove the existing password.
Remove the disc from PC. Restart it and log in as you normally do, but leave the password field empty.
You should be in!
After fixing the "The referenced account is currently locked out and may not be logged on to" error.|
Consider setting a new Windows password that is hard to guess but easy to remember, or change the account lockout policy in Windows, to prevent account to be locked out in future.
If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!
Did you know that when you copy all the files from a USB Drive you don’t copy all the data?
Did you know that there may be files that are not even visible?
In this tutorial you will discover how to copy all of your USB Drive sector by sector, that is to say, that you will see how to create a copy identical to your USB drive without missing anything!
This can be useful if you have formatted your USB stick in error and want to use it, you can create an image for the USB Drive on your computer and then you can recover the formatted data in the image afterward!
The software used in this tutorial is called ImageUSB, it is free, portable, and easy to use.
Don’t use this method if you want only to copy some files, use this to clone/backup your USB Drive with all its master boot record, partition tables, and data.
Select your USB Drive from the list, select “Create image from USB drive“. Choose the location for the binary image file (.bin) that will be created from the USB drive.
Click on “Create“.Click “Yes” to confirm your choices.
Click “Yes” to overwrite the bin file in case it’s already there.
Wait for a couple of minutes…
After the image is created you should see this message. Click “OK“.
Now if you want to restore an image to your USB Drive, just select your USB Drive and choose “Write image to USB drive“. Choose your bin image and click on “Write“.
This program is not recommended on different sizes USB Drives… Use it mostly for backup/restore on the same USB Drive for your bootable software.
There you have it, the copy of USB to second USB completed !
THX 1138 is an American science fiction film set in a dystopian future in which the populace is controlled through android police officers and mandatory use of drugs that suppress emotion, including outlawed sexual desire. It was directed by George Lucas in his feature film directorial debut in 1971.
Produced by Francis Ford Coppola and written by Lucas and Walter Murch, it stars Donald Pleasence and Robert Duvall.
THX 1138 was developed from Lucas's student film Electronic Labyrinth: THX 1138 4EB, which he made in 1967 while attending the University of Southern California's film school. The feature film was produced in a joint venture between Warner Bros. and Francis Ford Coppola's production company, American Zoetrope. A novelization by Ben Bova was published in 1971. The film received mixed reviews from critics and failed to find box office success on initial release; however, the film has subsequently received critical acclaim and gained a cult following, particularly in the aftermath of Lucas's success with Star Wars in 1977.
THX1138 Director's cut: The Future Trailer
The movie is one of the most awesome movies on SCi-Fi Topic I've ever seen much better than comercial ones such as Star Wars and perhaps one of the best if not the best movies, George Lucas has done ever.
The THX with its Android police is another inspirational one that perhaps has inspired the naming of the Android Operating System like that.
THX 1138 movie is an example of a kind of communist society in the future which perhaps the global elite has planned for humanity. The only mean of the THX 1138 is to consume and work being programmed (conditioned) by the central authorities with a full control over all aspects of the individual life, its kinda of pretty much what is today western world has been turning into.
I believe we're currently in a transitional stage to this futuristic society in which, the life costs zero.
Well, after all the global programmers of society in our age has a sense of humour to finance a movie like that 🙂
My sister tried updating her Ubuntu to a newer version 12.04 (Precise Pangolin) but in the middle of the dist-update process had to go out and hence closed her notebook thinking the update would continue by itself. I’m not fully aware what happened next, maybe the battery charge went down, maybe the computer entered sleep mode in the middle of some important package update or whatever. The result however on next opening OF her Ubuntu powered Acer Aspire 5736Z was Ubuntu unable to boot properly. The boot up failed in the middle of booting the BootSplash (from some of the /etc/init.d … init scripts)
. The BootSplash status was therefore failing and on the screen the GUI cursor appeared refreshing every few seconds, whether on every refresh the screen become blank, the hard drive was reading on and on, continuously as well. Since the screen was keeping mostly blank I had no way to see exactly why the hard drive was scraping on and on….
My first guess was to try to boot the Ubuntu in single user mode (without GUI environment) and then complete the interrupted packages apt-get dist-upgrade.
In the old days of RedHat and probably nowdays in Fedora, I remember entering single user mode was easy just press I button few times on OS boot in non-interactive mode. The I (boot single-mode) shortcut however is not compatible with Deb based distros (as I found out by trying it out unsuccesfully).
Actually during booting process, this notebook did not even prompted the GRUB menu with even simple choice to choose an old kernel or something, hence I took a quick look on the net how can I make the GRUB menu appear on Ubuntu!. As I read the reason why GRUB menu did not appear on the laptop boot was due to very short GRUB (select) boot timeout delay set.
Therefore to make the GRUB prompt (select) prompt appear in Ubuntu it is necessery to:
1. Hold continously the SHIFT key at boot
Once the textmode GRUB selection screen appears, as I read in instructions in blogs one has to: HITe key, over default boot-up kernel, e.g.:
Ubuntu, with Linux 3.2.0-23-generic
Now to boot Ubuntu in single user mode as I red it is necessery to modify near line:
linux /boot/vmlinuz-3.2.0-24-generic root=UUID=bc6f8146-1523-46a6-8b\6a-64b819ccf2b7 ro quiet splash
to something like:
linux /boot/vmlinuz-3.2.0-24-generic root=UUID=bc6f8146-1523-46a6-8b\6a-64b819ccf2b7 ro single quiet splash initrd /boot/initrd.img-3.2.0-24-generic
Then finally to load up with the changed GRUB options, I have pressed Ctrl+X Unfortunately this didn’t work on this totally bugged Ubuntu. After continuously looking for way to boot in sigle user or textmode (without X server), I found another blog recommending to change: quiet splash words with text in grub kernel load-up options ..
In my case none of the ways worked out so I finally decided to do it the “old-fashioned” classical way to recover Ubuntu, e.g. – by using Ubuntu Install CD, booting in “Try Ubuntu” mode and using the good old chroot cmd.
Fixing the failed updates Ubuntu, came up to booting with Ubuntu Install CD with option: Try Ubuntu without any change of your computer, further on once the CD boot up, I entered console and inside console used commands similar to one of my previous posts – How to mount /proc, /dev and chroot in Linux
Ubuntu fix was up-to to issuing :
# mkdir /mnt/recover # chroot /dev/sda1 /mnt/recover root@ubuntu:~# mount /proc root@ubuntu:~# mount /proc/pts root@ubuntu:~# mount -a root@ubuntu:~# mount /dev root@ubuntu:~# dpkg-reconfigure -a root@ubuntu:~# apt-get update .... root@ubuntu:~# apt-get --yes upgrade .... root@ubuntu:~# apt-get --yes dist-upgrade ....
Onwards during the apt-get upgrade and apt-get dist-upgrade few questions poped up asking me if I would like to replace some files with their new versions on each questions I substituted the files with the new maintainer version. Then finally after PC restart my sis Ubuntu boot up now fine with the latest Ubuntu version 12.04.
These days, I'm playing with The GIMP. I've been a GNU / Linux, FreeBSD user for already 11 years now but as I'm doing mostly system administration and I don't have much expertise in Panting or Computer Graphical Design, I've never put much time to learn more in the interesting area of graphical design. Hence until just recently, Just until now, I've never spend time with the GIMP (GNU Image Manipulation Program) and never realized how powerful this great program is. The more I learn about GIMP functionalities and how it works the more it makes me determined to learn some basic web design 🙂
The functionality which The GIMP offers in a basic install is quite rich, however by default on most Debian and Ubuntu installations many of the great plugins which easifies the way to edit pictures is missing.
Example for a very valuable functionality which is not present with standard gimp package installed on Debian and Ubuntu are:
GIMP FX-Foundry is a thoroughful collection of GIMP scripts (addon plugins), that automates many of the operations which requires a professional web design skills and gives an easy intuitive interface through which very robust "high level" graphic design can be accomplished. This additional GIMP extensions helps to create very unique design in just few simple steps, as well as gives multiple tools for the sake of easy pro design creation. For anyone looking for quick edit of images with GIMP FX-Foundry is a must have GIMP plugins extension. The script pack is located on http://gimpfx-foundry.sourceforge.net/
To install FX-Foundry scripts collection on Debian / Ubuntu / Linux Mint and other based Linux distributions:
gimp-plugin-registry package name is based on GIMP Plugin registry's website
. Gimp plugin registry contains many helpful design goodies 🙂
Once installed you will notice GIMP with a new menu on the main menus bar reading FX-Foundry :
GIMP FX Foundry extensionos package contains 124 scripts for additional graphics manipulation. The collection contains less scripts than the ones provided by gimp-plugin-registry. package has 156 scripts inside.
One of the most helpful GIMP addition from the package is the inclusion of Save for Web button under:
File -> Save for Web
Another very helpful .deb package which adds up to GIMP's design possibilities is gimp-data-extras .
gimp-data-extras adds 111 new GIMP Fill in Patterns , which can be used through the Blend Tool to Fill selected areas with color gradients.
Generally once installed this package will add to GIMP – an extra set of brushes, palettes, and gradients for The GIMP as you can read in the package description.
I was also quite stunned to find out the good old GIMP is capable of basic Video editting!!
On Debian and Ubuntu there is a package called gimp-gap which once installed adds an extra Video menu.
I've not tested the GIMP video editting capabilities yet, however I intend to learn something about it immediately when I have some free time left. You see the enormous list of Video editting possibilities GIMP obtaines with gimp-gap which btw stands for (The GIMP Animation Package).
To install gimp-gap:
debian:~# apt-get install --yes gimp-gap
I've noticed also the following list of others useful GIMP additions (mainly helpful in Web, Brochure and Logo Graphic Design) to install them:
Here is the package description of the packages above command will install:
gimp-cbmplugs – plugins for The GIMP to import/export Commodore 64 files
gimp-data-extras – An extra set of brushes, palettes, and gradients for The GIMP
gimp-dcraw – GIMP plug-in for loading RAW digital photos
gimp-dds – DDS (DirectDraw Surface) plugin for the gimp
gimp-dimage-color – GIMP plugin to convert Minolta DiMAGE pictures to sRGB colour space
gimp-gap – The GIMP Animation Package
gimp-gluas – Lua environment plug-in for GIMP
gimp-gmic – GIMP plugin for GREYC's Magic Image Converter
gimp-gutenprint – print plugin for the GIMP
gimp-lensfun – Gimp plugin to correct lens distortion using the lensfun library
gimp-normalmap – Normal map plugin for GIMP
gimp-plugin-registry – repository of optional extensions for GIMP
gimp-resynthesizer – Gimp plugin for texture synthesis
gimp-texturize – generates large textures from a small sample
gimp-ufraw – gimp importer for raw camera images
flegita-gimp – Gnome Gimp scan plugin.
gtkam-gimp – gtkam gimp plugin to open digital camera pictures
mrwtoppm-gimp – GIMP-plugin to support Minolta DiMAGE 5/7/7i RAW images
Now after installing all this plugins and seeing all GIMP's power, I'm starting to wonder why are still people ranting Adobe PhotoShop is feature rich.
That's all, enjoy the great new GIMP features. Happy picture editting 😉
I've not played audio CD for ages. Anyways I had to set up one computer with Linux just recently and one of the requirements was to be able to play audiocds.
I was surprised that actually a was having issue with such as simple tasks.
Here is how i come with this article.
If you encounter errors playing Audio CDs on any Linux distro in VLC or other players, you might need to apply the following fix.
I'm not sure if this packages are required, anyways having them installed is a good idea especially on computers which will have to support as much multimedia as possible.
Trying to play a CD with VLC the result was not nice, you see in the picture above the error that poped up while trying it with VLC:
Due to wrong configuration of the play device VLC will be looking to read the audio cd from.
To succesfully play the audiocd invoke VLC command with a cdda///dev/sr0 argument like so:
hipo@xubuntu-desktop:~$ vlc cdda:///dev/sr0
...
To permanently fix the error you will have to edit ~/.config/vlc/vlcrc :
Inside ~/.config/vlc/vlcrc find the lines:
dvd=/dev/cdrom
Substitute the above line with:
dvd=/dev/sr0
Next find the line:
vcd=/dev/cdrom
Change the above line with:
vcd=/dev/sr0 Due to a bug in generating vlcrc , the dvd= might be set also to other messy unreadable characters (different from /dev/cdrom). This can also be the reason why it fails to properly read the disc.
If dvd= and vcd is set to a different unreadable characters delete them and substitute with /dev/sr0 .I've experienced this on Xubuntu Linux with a Bulgarian localization (probably the bug can be seen in other Linuxes when GNOME is installed in Russian, Chineese and other UTF-8 languages.
The strange error can be observed also in other players when the localization is set to someone's native language …
Alternative solution is to install and use rhythmbox instead of VLC.
Other program to play audio CDs called workman , you will have to get used to the interface which uses gtk1 and therefore obsolete. Putting aside the ugly interface it works 😉
Every now and then my gnome keyboard layout switcher hangs. When my keyboard switcher hangs I can't switch between my two defined languages English and my native Bulgarian
The hang up of the language switcher is makes switching between my two defined languages impossible until I logoff and login again or kill the current GNOME session with CTRL+ALT+BACKSPACE.
Sometimes logging off again is not necessery so I have to logoff and login to GNOME few times until finally the gnome keyboard layout switcher reacts to an issued change language via Alt+Shift or by clicking on it.
Unfortunately the gnome keyboard layout switcher is not available as a process so there is no way to simply kill -HUP the process responsible for it.
Just until today I couldn't find a way how to restart the gnome keyboard layout switcher when it hangs.
Now today I finally found a way to restart it without restarting the whole gnome session or killing completely the Xorg server.
To "fix" up the keyboard switcher when its not responding, I had to issue in gnome-terminal or via ALT+F2:
hipo@noah:~$ gnome-keyboard-properties
As you can see in the screenshot below, one has to press the Move Up button to switch the default order of languages. Once this is done the keyboard layout switcher starts working again. Once working I just used the move up once again to revert back my default language order as it used to be.
I'm not sure what exactly is causing the GNOME 2 keyboard layout switcher to hang (when it does), my guess is it is due to some kind of version incompitability between gnome versions or configurations specific to my computer. In the past I was running Debian Testing/Unstable and then downgraded back to Debian stable, probably this is the reason of the language switcher hangs.
One of my friends Windows 7 started returning errors while trying to open from My Computer the local Windows C, D and E drives.
This error appeared immediately, after malware and registry fix up programs were run on the PC. The exact programs that lead his PC into the state of returning an error:
This file does not have a program associated with it for performing this action. Create an association in the Set Associations control panel
are:
a-squared
Registry Booster
This two programs by the way are doing quite a good job on fixing Windows XP and Windows Vista PCs which were cleaned up earlier with Malware Bytes and Avira , however it seems they’re not 100% still compatible with the Windows 7 registry database or some uncleaned malware or virus on the PC has post-messed up the registry file associations. As its always the case with Windows you don’t have a clear idea what’s going …
Anyways as said the PC was in a bad situation, where neither Windows Explorer nor in any mean the disk drives can be opened or red, hence there was need for a quick way to revert back the default Windows file association registry settings After some quick research online, I’ve found an archive containing default Windows registry values for file associations
Therefore to revert back all Windows 7 file extensions from Windows install time, I had to download the file All_Default_File_Extensions.zip , extract the archive with WinZip or WinRar and run each of archive contained .reg extension files. The .reg files had to be run with Administrator account. It takes a while and its a bit irritating until all of the .reg files are run and all the file association default Windows settings are reverted back but thankfully in the end the C drive opening error:
This file does not have a program associated with it for performing this action … is resolved. Cheers 😉
Yesterday night, one more Computer Genius – John McCarthy has passed away at the age of 84. John McCarthy is mostly famous for the creation of Lisp Programming language, which was probably the most used programming language in the short past. There are plenty of corporate old iron hardwares which still run programs written in Lisp. Lisp is the language in which Richard Stallman has created his so famous EMACS text editor for GNU.
Computer Technology students, should have studied certainly Lisp in the form of Lisp Scheme.
Lisp is the the second oldest high level programming language only to be predeceded by Fortran .
Lisp gave birth to the so called Macro programming languages
and was invented by McCarthy in 1958, while he was in Massachusetts MIT university.
What is so important about Lisp is that it is de-facto the first language in the world which was written to be suitable for AI (Artificial Intelligence) researches. There is plenty of interesting information about Lisp as well as a number of forks and variations circulating for almost all the existing major operating systems nowdays.
Besides LISP creation McCarthy was in the first team who did a the first Remote Computer Chess game. The game played was among USSR and US scientists, where the moves were transferred by telegraph.
In 1972 MCCarthy was awarded with the Turing Award – (Today probably the most prestigious award for incredible technology achievements in the world). McCarth’s home website had a lot of great papers on programming languages, mathematical theory of computation and most importantly philosophical words and notes on Artificial Intelligence
His site has a lot of his essays as well as his personal views on the world and predictions (foreseen probabilities by him) on the world future.
McCarthy had even written a short Sci-Fi story (The Robot and The Baby), the story aim was to explore the question, whether robots should have simulated emotions.
John McCarthy is among the brightest computer genius who ever live on this planet as well as a true “icon” for a computer hacker. The news for his death is quite shocking especially after the sudden death of the creator of C programming Language and UNIX Denis Ritchie , and a week earlier the pass of Steve Jobs
It seems like no coincidence, that the brightest computer minds are departuring this life, probably God is taking them one by one just like he gave them the gifts to invent and revolutionize the technology we use today.
Surely McCarthy has left a huge landmark on technology and his name will be in the books for the generations to come.
Triumph of the Nerds is 3 parts documentary movie on how the Personal Computer was developed. The movie features interviews with Steve Jobs, Bill Gates, Steve Ballmer, Allan Paul and many other IT veterans who played key roles for the development of the Personal Computer ,
The movie is an interesting watching for people interested into Information Technology and gives some minor insights on the starred interviewed people and their life philosophy. It was interesting times back then and it seems many of the guys who could participate in the PCs were very lucky, where others who made key developments which are de-facto standards today went into history without much being remembered.
Now the trends which these man set in world’s development is not nice. Even though PC brough a lot of fun in our every lives it suddenly started taking over our privacy and made the humanity divided.
The movie is a story of a man motivated by greed arrogancy and exploitation. Even though the movie has historical value it doesn’t even mention about Free Software Richard Stallman and the free software movement.
The movie talks about the development of CP/M the predecessor of Quick and Dirty DOS (QDOS), MS-DOS Windows 1,2,3, Windows 95 etc.
It also tries to picture the events around the raise and fall of IBM and OS/2.
The most notable parts for me in the movie are the showing off of some old computer hardware and Mainframe servers as well as the quick explanation on how Mainframes irons predecessed the PC. Another interesting moment in the movie is displaying Steve Jobs demonstrating the Xerox’s Alto graphical interface. Talking about Jobs it was quite shocking for the world his sudden death just 3 days ago so (R.I.P).
The movie author Robert X. Cringery stress out in the movie the great struggle between the so called “the blue Elephant” IBM and the just emerging early Microsoft Corporation
Triumph of the Nerds slightly mentions Digital Equipment Corporation / DEC or COMPAQ as later known. DEC is company less known in todays world which had historically great impact on computer market, so its a pity the movie part mentioning DEC is so short.
What the movie misses is to aforemention About’s Digital Equipment VMS operating system known under the code name OpenVMS. OpenVMS even of today is believed by many to be the most secure Operating System ever developed.
The movie part that talks about DEC is the second part of movie it shows a nice COMPAQ portable computer.
One should admit COMPAQ portable Computer is a really trendy for its time, Also the way it sticks the keyboard to the screen does remind seriously the opening and closing of a modern laptop 😉
The movie includes some interesting, so called crash courses where the movie author gives some insight on elementary computing, so for those new to informatix the movie will surely be educative as well, though for a UNIX gurus this elementary computing scenes will look kinda ridiculous 😉
One serious flaw with this movie is the complete lack of interviews with Richard Stallman and the importance of Free Software for the development of modern PC and the influence of the free software culture on todays latest Macintosh and PC developments.
A related movie which probably most IT geeks already know / seen is Pirates of the Sillicon Valley
, hence large chunk of Triumph of the Nerds gives another point of view on the ideas and stories presented in Triumph of the Nerds
Triumph of the Nerds brings back some good memories of the glorious PC computer past for all of us who had been a DR-DOS/MS-DOS and Windows 3.11 / 95 users.