Posts tagged General
How Can I Change Local Passwords on A LOT of Workstations? (2 Years Ago Today)
Jan 5th
I know the feeling of your secure network being compromised by an end user… Passwords do fall into the wrong hands and then what do you do? Scenarios start running through my head and I make a mental list of all the passwords and system configs that need to be changed. These aren’t fun times in Admin land but they usually breed scripts and easier ways to do the necessary!
El Di Pablo tell us of his experiences… And is culminated by using a Great tool that AtA LOVES! Check it out…
I had a bit of a scare the other day. I get a call from a user in the field.
She is traveling with her laptop and she was calling from her hotel. she was complaining that she couldn’t log into her laptop using her normal log in credentials, and that the only way she could log in was using the local administrators account.
“Local Admin what?!?!”
I exclaimed then started hyperventilating. I asked her how she came across the local administrator password, and she told me that one of the techs at the company that is no longer with us gave it to her a long time ago.
I asked her to spell out the password for me, and low and behold it was the corporate standard.
I ran to my bosses office and reported the compromise, and recommended changing the local passwords. He agreed and called a meeting with me, our head desktop technician and one of the senior systems administrators to come up with a plan of attack. I told them that I can easily change these passwords using a script and pspasswd.exe that comes with Sysinternals PSTools.
I told them that I can export a list of all of the workstations on the network from Active directory, and put them in a text file. pspasswd will read directly from the list in the text file and change the password of the specified account on each computer in the list. I showed each of the guys in the meeting how it works, and they agreed that my script would be the best way to go with this.
Here is an example of the syntax used in my script. Keep in mind that this script must be ran from within the directory containing the pspasswd.exe program or else you have to modify the script to change into it’s directory. Of course, if you know batch scripting well, you can add all sorts of stuff to the script, but the basic run command looks like this:
>set /p filename=”Please enter name of computer list (ie: computers): “
>pspasswd @%filename%.txt -u administrator@domain.com -p password
administrator newpassword >> %filename%-results.txt
You’ll notice that I added an output to a text file so I could create a log of which workstations the password was changed on, and which ones it wasn’t. That is a good idea so you can keep whittling away at it until the change has been completed on all workstations. Also, you’ll notice that I added the -u and -p switches. You don’t need that if you are already running the script from an account that has permissions to change local passwords.
There are many other little changes you can do as well. I used the set command because I had different lists for different offices. You could just put the computer names in one list and not use the set command.
Let me know if you have used this or a similar product, and perhaps some other scripting ideas for this.
This is one of those articles where you HAVE to read the comments. You guys have some great insights and ideas! Keep on Commenting, that is what makes this site great. Go ahead pat your self on the back!
Is it possible to have TOO MUCH RAM?
Jan 3rd
You know the saying, “You can’t have too much RAM or too much storage.”
Well, there is at least one case where a lot of RAM can cause problems.
My current desktop had 1 Gig of RAM and I recently bought an additional 2 Gigs since the price was so low. (And of course I used The AdmiN’s link to give a little back to AtA)
Wow, 3 Gigs of RAM what could possibly be bad about that? Well one night, I went to put the system into hibernate and it beeped and a balloon popped up from the system tray that said “Insufficient System Resources Exist to Complete the API.” After that, the system would only go into standby, not into hibernate. In fact the hibernate tab of the Power Options settings was completely gone.
It turns out this is a known issue and Microsoft has a patch for it. The KB article describes the exact problem I was having and states “This problem typically occurs when the computer uses 1 gigabyte (GB) or more of RAM.“
My favorite part of the article is
“This problem occurs because the Windows kernel power manager cannot obtain the memory resources that are required to prepare the computer to hibernate.“
So basically, you have so much memory that we cannot obtain enough memory! The system had no problem obtaining enough memory resources when there was only 1 Gig of RAM, but with 3 Gigs there isn’t enough.
I applied the patch offered in the article and haven’t had any problem putting the system into hibernate since.
Who knew, it IS possible to have too much RAM!
Adding your own options to the XP right click menu.
Oct 26th
As avid Windows users you have seen how applications add right click menu options. For instance Mcafee antiVirus adds a shortcut to Scan For Threats in the selected folder or Resco’s options to encrypt or de-crypt a folder.
It is actually pretty easy and involves NO registry editing like you might have expected. Simply open up my computer choose Folder Options and then File Types


And then click the advanced button and then the New button to associate an Action with this file type. For this example I am associating JPG files with editing in Adobe CS2. In the action line I type what I want to show up on the right click menu and the application used to perform action is the command line for the magic behind the shortcut.
I advise you to use the Browse button to browse on over to the EXE associated with the application you want to open. Here I browsed over to C:\Program Files\Adobe\Adobe Photoshop CS2\Photoshop.exe . It puts this in quotes leave them there and put a space after the last quote and add another quote followed by %L and another quote. This passes the selected file name to the application. Without this it will just open Photoshop and what good it that?
But after you are finished and click ok on all the open windows you can go check out your handy work by right clicking on a JPG…

And what do you know? It actually works! Ah what a great way to start the day shaving valuable seconds off of my work flow. It might give me an extra 15 minutes over the course of the day to play with FireNes!
Windows Vista Little Known Shortcuts! Awesome.
Oct 15th
Everyone knows your friendly neighborhood admin is all about shortcut keys and uber productivity.
I don’t know how I never found this one before… Check it out you have your quick launch buttons displayed next to your start menu for easy access.
By default you have Show Desktop, IE and whatever other applications you installed. Now you obviously know that if you single click on any of these icons the appropriate app launches.
Common knowledge right?
So instead of installing launcher programs if you just need easy access to a few apps put them in your quick launch menu and make sure it is being displayed because if you can’t see it you sure can’t launch it!
UPDATE: It works even when the toolbar is hidden!
I need a FREE solution to recover deleted files!
Aug 11th
We have used many different retail programs to recover accidentally or maliciously deleted files off of our PC, Digital Camera or Mobile device. We have tried a few free ones and they bring us back to the old saying… You get whatcha pay for! As such we never really covered the topic here on Ata, But we came across a post on TechiePortal reviewing not one but TWO FREE apps that can get your crap precious data back! We tried both of them just like Alfred did and got pretty much the same results. Restoration (the second app) has found a new home on my memory stick! Check out this post and check out their website for more AtA approved geeky goodness!
Glary Undelete is a freeware program that can retrieve data deleted from the recycle bin, files deleted with the Shift key pressed down or those deleted from command prompt. It can also recover files from memory cards of digital cameras. NTFS and FAT files systems are supported and works fine on XP and Vista.
Restoration is a portable recovery software, so you can run it even from a USB stick. At 229KB, I am amazed at how much this software can do. Restoration also does the same functions as Glary Undelete. Even though its so small, it actually managed to find more files that Glary.
Results
Software Glary Undelete Restoration Files Found 328 files 719 files How to recover deleted files
Run program, choose location of deleted files and search. Once the files are found, use the restore option to try copying them back. Note that once the space used by a deleted file is overwritten, recovery software cannot retrieve the files. So, if you lost any data, make you you do not use that drive till you manage to restore the files [TechPortal]
We will continue to highlight some lesser known blogs/websites to help promote quality content! If you want to be featured on AtA - send in a tip or trick to tips at askTheAdmin dot Com. Thanks TechiePortal and keep up the great work.
Identify your memory without cracking the case.
Jul 30th

We have reviewed Crucial Memory in the past here when we gave away a 2gb memory module to one of our readers. So we were happy to plug them again when Jenny from San Fransisco wrote us asking:
Yo Admin can you tell me what kind of memory is in my PC without me having to open the case? I want to see how much it will cost to upgrade but don’t want to dive into it unless I am going to do it. Dig? I have busted up one too many machines in the past. But memory is a good way to speed up my p4 machine it has 256mb right?
Jenny Needs Memory
Jenny yes 256mb of memory is not enough for anything nowadays!

You should but that rig up to at least 1gb. Memory is cheap just go to this link and you will be able to scan your memory and get all sorts of useful facts and prices. And wait there’s more…
You will also be supporting AskTheAdmin by making any purchases via these links.
Why you might ask?
Well it is an affiliate program we have been experimenting with. You buy stuff you need and they give us a little bit o’ cheddar for referring you over to them. It gets expensive running a website where advertising revenue brings in next to nothing. But I love helping you weirdos!
Awww don’t blush! I have seen your temp files and browsing history pervo!
But back to the hard sell…
Crucial makes your life easier by telling you how much memory your system can max out at and what type it needs and best of all how much its going to cost ya! What are you waiting for speed up your machines today!
Memory being the price it is can be a GREAT ALTERNATIVE to buying a NEW MACHINE! Support us to take over the fricking world get us up on our own dedicated server/line…
Maybe we could hire some more quality writers to give you more great information if we had more than .37 in the AskTheAdmin bank account. So instead of me carrying her on my shoulders help out! How does that make you feel? (It makes me feel like a guy in the train going from car to car saying Ladies and Gentleman I don’t mean to interrupt…) Feelings… Death Threats… In the comments!


