Posts tagged General

How Can I Change Local Passwords on A LOT of Workstations? (2 Years Ago Today)

woman How Can I Change Local Passwords on A LOT of Workstations? (2 Years Ago Today)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!

  • Twitter
  • StumbleUpon
  • Slashdot
  • Technorati Favorites
  • Facebook
  • Digg
  • Delicious
  • LinkedIn
  • Fark
  • Google Bookmarks
  • Google Reader
  • Windows Live Favorites
  • MySpace
  • Yahoo Bookmarks
  • Blinklist
  • Faves
  • Netvouz
  • Propeller
  • Reddit
  • Simpy
  • Spurl
  • WordPress
  • Yahoo Buzz
  • BibSonomy
  • Share/Bookmark

Is it possible to have TOO MUCH RAM?

scarecrow oz Is it possible to have TOO MUCH RAM?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!

  • Twitter
  • StumbleUpon
  • Slashdot
  • Technorati Favorites
  • Facebook
  • Digg
  • Delicious
  • LinkedIn
  • Fark
  • Google Bookmarks
  • Google Reader
  • Windows Live Favorites
  • MySpace
  • Yahoo Bookmarks
  • Blinklist
  • Faves
  • Netvouz
  • Propeller
  • Reddit
  • Simpy
  • Spurl
  • WordPress
  • Yahoo Buzz
  • BibSonomy
  • Share/Bookmark

Adding your own options to the XP right click menu.

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.

RightClick Adding your own options to the XP right click menu.

Now you want to add useful right click options for yourself and AtA is here to show you how!

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

FileTypes Adding your own options to the XP right click menu.Actions Adding your own options to the XP right click menu.
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.

NewAction Adding your own options to the XP right click menu.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…

FinalShortCutCS2 Adding your own options to the XP right click menu.
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!

_TheRightClickThisAdmiN_

  • Twitter
  • StumbleUpon
  • Slashdot
  • Technorati Favorites
  • Facebook
  • Digg
  • Delicious
  • LinkedIn
  • Fark
  • Google Bookmarks
  • Google Reader
  • Windows Live Favorites
  • MySpace
  • Yahoo Bookmarks
  • Blinklist
  • Faves
  • Netvouz
  • Propeller
  • Reddit
  • Simpy
  • Spurl
  • WordPress
  • Yahoo Buzz
  • BibSonomy
  • Share/Bookmark

Windows Vista Little Known Shortcuts! Awesome.

Shortcuts Windows Vista Little Known Shortcuts! Awesome.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?

BUT did you know that if you press the Windows Key and the corresponding number of the shortcut it will auto-launch? So if you have the show desktop icon in the first position pressing Win-1 will show your desktop. And if Internet Explorer is in the second position…
Guess how we launch her? Win-2! Nifty, easy trick for Windows Vista.

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!

  • Twitter
  • StumbleUpon
  • Slashdot
  • Technorati Favorites
  • Facebook
  • Digg
  • Delicious
  • LinkedIn
  • Fark
  • Google Bookmarks
  • Google Reader
  • Windows Live Favorites
  • MySpace
  • Yahoo Bookmarks
  • Blinklist
  • Faves
  • Netvouz
  • Propeller
  • Reddit
  • Simpy
  • Spurl
  • WordPress
  • Yahoo Buzz
  • BibSonomy
  • Share/Bookmark