Alan's Blog

"Yeah. I wrote a script that will do that."

Menu
  • About My Blog
Menu

IT lessons I learned Last Weekend

Posted on April 22, 2013April 22, 2013 by Alan

When ordering a case fan, do not rely on the picture.  There are some case fans which are 4 inches square.

When ordering a CPU, note that a AMD 3+ CPU motherboard accepts AMD 3 and 3+ CPUs, but an AMD 3 motherboard only accepts AMD 3 sockets.

When re-using an HP Pentium 4 case for your new AMD motherboard, note that HP may not have followed conventions with wiring colors.  In particular, note that you cannot turn a computer on and off with the red and black power switch wires connected to the speaker pins on these systems.  Taking the time to look at the switch could save hours in troubleshooting.

The local administrator account password can become corrupted making the entire system looked hosed when it is not.  Symptoms may include not being able to launch anything due to IE Security Zone restrictions, and  yyyy appearing in the time field.  Trying to fix the entire system when the problem is just a messed up profile is not a productive use of time.

If the secure channel is broken and the local administrator account is hosed, try logging in with cached administrative credentials.   You only need to disconnect the system from the network to get past the warning of no account in AD.  You can then delete the local administrator account profile, or create and elevate another local account.

Windows 8 changed the registry key for AHCI from  HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Msahci to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\storahci\.  This is important to know if are testing a script which automates the switch from IDE to AHCI for Windows 7 computers.

Finally, be humble.  Even if you are an expert, remember that you, too, can make wrong assumptions and do some pretty stupid things.

Leave a Reply

You must be logged in to post a comment.

Search

Please Note

All the scripts are saved as .txt files. Newer files have a “View Script” button which will let you save or open a script in notepad. For earlier posts, the easiest way to download with IE is to right click on the link and use “Save Target As”. Rename file from Name_ext.txt to Name.ext.

To see a full post after searching, please click on the title.

PowerShell Scripts were written with version 3 or later.

https connections are supported.

All new users accounts must be approved, as are comments. Please be patient.  If you find a post error or a script which doesn’t work as expected, I appreciate being notified.  My email is my first name at the domain name, and you are welcome to contact me that way.

Tags

1E ACLS Active Directory ActiveDirectory ADSI Advanced Functions Audit Change Administrator Password COMObject Computer Groups DateTime Desktop DNS Excel FileScriptingObject Forms General GPO GPS Group Policy Hacks ISE Lockout logons NAV740 Nessus OU OU permissions Outlook Pick Folder Power PowerShell Powershell Scriptlets RDP SCCM schedule reboot Scripting Security Shell.Application user information VBA Windows Update WMI WordPress WPF

Categories

akaplan.com

  • Back to Home Page

Archives

Scripting Sites

  • A Big Pile of Small Things
  • Adam, the Automator
  • Art of the DBA
  • Ashley McGlone
  • Boe Prox
  • Carlo Mancini
  • DexterPOSH
  • Doug Finke
  • Jaap Brasser's Blog
  • JeffOps The Scripting Dutchman
  • Jonathan Medd's Blog
  • Keith Hill's Blog
  • LazyWinAdmin
  • Nana Lakshmanan
  • PowerShell Magazine
  • PowerShell Team Blog
  • PowerShell.org
  • PwrShell.net
  • Richard Siddaway's Blog
  • Ryan Yates' Blog
  • Skatterbrainz
  • The Lonely Administrator

SQL Site

  • Art of the DBA

Meta

  • Register
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
©2025 Alan's Blog | Theme by SuperbThemes

Terms and Conditions - Privacy Policy