Thursday, February 2, 2012

Find out what services need credentials

Symptom: You need to adapt to a changing environment where certain Windows services may have been enabled under the credentials of a user who no longer has access to anything.

How do you get a list of servers, service, and credentials quickly?

wmic /node:server1,server2,server3,"server-4" services get DisplayName,StartName /Format:csv

Wednesday, January 18, 2012

Outlook Fast Search doesn't return results

Symptom: You're in outlook, and the search results aren't as expected, or not returning anything.

Check here: http://office.microsoft.com/en-us/outlook-help/instant-search-is-not-finding-items-HA010198085.aspx

VERIFY THAT YOUR OUTLOOK DATA FILES CAN BE INDEXED
Outlook indexes the following data files:

Personal Folders files (.pst)
Offline Folder files (.ost)
This includes Microsoft Windows Live Mail, IMAP, and POP e-mail accounts. If you use a Microsoft Exchange account (much more common in business e-mail systems than in a home or personal account), you must be connected to the server running Exchange and use Cached Exchange Mode for Instant Search to index your messages. Cached Exchange Mode uses an Offline Folders file (.ost) to save your information on your computer. To verify which data files are being indexed, do the following:
On the Tools menu, point to Instant Search, and then click Search Options.
Alternatively, click the arrow in the Instant Search pane, and then click Search Options on the menu.

Under Indexing, verify that the data files that you want to include in your search are selected in the Index messages in these data files list.
VERIFY THAT INDEXING IS COMPLETE
To verify the indexing status, do the following:

On the Tools menu, point to Instant Search, and then click Indexing Status.
Alternatively, click the arrow in the Instant Search pane, and then click Indexing Status on the menu.

Verify that the dialog box reports 0 items remaining. If not, indexing is not complete and needs to finish before all of your Outlook items can be searched.
INDEXING STATUS REPORTS "0 ITEMS REMAINING," HOWEVER, SEARCH RESULTS ARE NOT CORRECT
If the Indexing Status reports 0 items remaining and Instant Search is still not returning the correct search results, exit Outlook and restart your computer. When you start Outlook again, verify that Outlook is indexing your items properly by doing the following:

On the Tools menu, point to Instant Search, and then click Indexing Status.
Alternatively, click the arrow in the Instant Search pane, and then click Indexing Status on the menu.

Verify that the number of items in the Indexing Status dialog box has increased. If the number has not increased, you must wait until indexing is complete for the results.


While you're looking at the checkboxes for what is supposed to be indexed, if you would like to start from scratch, clear the box[es] and OK through to exit the index search. Then go back and check them again, and OK out. This is what will take a few hours, but it will now index your email as if it never had done it before. Verify on occasion. The numbers should increase for a while, then decrease back to zero. Once completed, your index has been rebuilt.

Thursday, July 7, 2011

Can't send ctrl-alt-del via UVNC UltraVNC

well, it's not fun from the viewer, but let's say you've installed UltraVNC and rebooted the remote computer. Now you can't send Ctrl-Alt-Del to log in.

On screen keyboard can help for Windows 7 and (I think? Vista). You know that button in the bottom left? Turn on the on screen keyboard. Press the ctrl key, then the alt key, then the del key and you're in.

Tuesday, July 5, 2011

Captive portal follows you home

had an issue with a client where the hotel's captive portal followed him home with IE9. flushdns didn't work, neither cache and cookie delete. This was specifically an issue with onsite local connections, so I added the IP address to "local sites" in IE and it seemed to have resolved.

Wednesday, June 15, 2011

Hard links vs sym links

Sometimes you are programming and the items you're working on are a subset/extraset of a program that you don't really want to include in your project, especially if the add-on project is being maintained with git or svn or something.

Sometimes your dev and your test are on the same box, so you can hard link the files you're working on in your dev directory and they'll mirror in your test instance. Hard links are better than sym links in this case because you want to distribute the files, not links to files, and you want your live test to not point to your dev copy.

Install byobu on Amazon AMI

How hard is this? I don't know...
Download source https://launchpad.net/byobu/+download
tar xzvf byobu_version.tar.gz
cd byobu_version
sudo ./configure
sudo make
sudo install

(you might need autoconf and automake and gcc)

Wednesday, June 8, 2011

Skype using port 80 - Skype Community

Skype using port 80 - Skype Community

What's using port 80 on your computer? It could be Skype.

To really find out, type this:
netstat -ano | find ":80 " | more
then get the last number on the list:
TCP 0.0.0.0:80 0.0.0.0:0 LISTENING 5628
tasklist | find "5628"
Skype.exe 5628 Console 1 19,956 K

Blog Archive