Wednesday, August 24, 2011

Restart Windows server using the AT command.

at 22:11 shutdown /r /f /t 0


I have used this on 2003 and 2008 for a quick one time restart after hours.

Monday, August 1, 2011

ws.ourpictures.com

Why is this one of the top domains in my firewall log?

I had one PC posting to this URL every three seconds 24 hours a day. I looked at the PC and found ourpictures.exe in "C:\program files\RitzPix E-Z Print & Share." This might not be spyware but it is annoying. I deleted the exe and no more traffic for now.

Friday, May 6, 2011

SQL 2000 database out of space!

The drive is almost full. Shrinking does not help. The transaction log backup fails because there is not enough space. I changed the recovery model to 'Simple' and now I have plenty of space. The log is cleared. I know this is just a work around, but this database is not mission critical so I am good!

Thursday, May 5, 2011

I need a 'top' for windows.

I will use tasklist and sort by ram usage:

tasklist | sort /+60 (XP)
tasklist | sort /+65 (2003/2008)

Then I will sort by CPU Time:

tasklist /v | sort /+77 (All)

chrome.exe 5708 Console 0 48,612 K
chrome.exe 31432 Console 0 78,444 K
iexplore.exe 11168 Console 0 103,052 K
Image Name PID Session Name Session# Mem Usage
========================= ====== ================ ========
C:\>

Friday, February 4, 2011

How to use psexec with non-domain machine.

I use psexec daily and have for a long time. It has has never worked with computers which are not in the domain until now. I have only tried this with Windows XP.

Under Administrative Tools:
LOCAL SECURITY SETTINGS
LOCAL POLICIES
SECURITY OPTIONS
Network Access: Sharing and security model for local
accounts.

Change from "Guest Only" to "Classic"

Both of these commands now work!
psexec \\10.1.2.3 -u 10.1.2.3\administrator -p localpass cmd
net use j: \\10.1.2.3\c$ /user:10.1.2.3\administrator localpass

Update: 10/24/12
Psexec worked with a Windows 8 machine not in the domain. I only had to disable the firewall.

Wednesday, February 2, 2011

Active Directory failed logon auditing.

I need to see failed logon attempts and account lockouts in the event log. This was somehow recently disabled. To enable, edit the Default Domain Controllers Policy, NOT the Default Domain Policy.

Computer Configuration / Policies / Windows Settings / Security Settings / Audit Policy

Policy Setting
Audit account logon events Failure
Audit account management Success
Audit logon events Failure

If you are troubleshooting account lockouts, use EventCombMT!

Friday, December 10, 2010

Acrobat 9 does not display PDF in browser

This could be a problem after upgrading Acrobat Reader or running multiple versions of Acrobat. In my case, I have Acrobat 7 and Acrobat Reader 9 installed on the same machine.

I changed this key to 1 and it is fixed.
HKCU\Software\Adobe\Adobe Acrobat\7.0\Originals\bBrowserIntegration

http://kb2.adobe.com/cps/406/kb406119.html