Skip to content


For updating the Windows SharePoint Services Search credentials

Summary of Issue

Update the WSS Search credentials. This does not change the service account password, it just updates what WSS uses.

Methods to resolve the problem

Instructions

stsadm.exe -o spsearch -farmserviceaccount DomainName\UserName -farmservicepassword NewPassword
stsadm.exe -o spsearch -farmcontentaccessaccount DomainName\UserName -farmcontentaccesspassword NewPassword

Posted in Microsoft, SharePoint Server 2007.


Disable computer accounts from old computers

Summary of Issue

This command will find computer accounts that have not checked in to the servers in over 60 days and then disable their accounts. This is great to use to clean up the computer accounts in AD.

Methods to resolve the problem

Instructions

1. Run the following command on a Domain Controller

user@computer:$ dsquery computer -stalepwd 60 | dsmod computer -disabled yes

Posted in Microsoft, Server 2003, Server 2008, Server: Active Directory, Windows.


How to change Central Admin Web site port (WSS 3.0)

Summary of Issue

How to change the Central Administration Web site port number after SharePoint has already been installed.

Methods to resolve the problem

Instructions

1. You have to be a member of SharePoint Farm Administrators group.
2. You can only change the Central Admin Website port using stsadm command-line tool.
3. To find out the current port number run:

user@computer:$ stsadm –o getadminport

4. To change the port number, use the following command:

user@computer:$ stsadm –o setadminport –port <port> [-ssl] [-admapcreatenew] [-admapidname] <application pool name>

Tested

July 2010

Sources

  • http://erickoo.wordpress.com/2009/10/14/how-to-change-central-admin-web-site-port-wss-3-0/

Posted in Microsoft, SharePoint Server 2007, SharePoint Services v3.0.


Configure Exchange mailbox forwarding

Summary of Issue

Use the following steps to forward email received at one mailbox to another. The example below forwards the email received at one domain to another.

Methods to resolve the problem

Instructions

  • Exchange 2003
  • Sign into the Mail Server
  • Create a new Contact in AD
  • After creating the contact open it up and add in your primary email address
  • Create a new user in AD on the Mail Server, so that it create a mailbox for the new user
  • After you have finished the New User wizard, open the properties to you new user
  • Click the Exchange General tab, then Delivery Options
  • Under Forwarding Address click Forward To: then Click Modify to select your contact you created in step 2.
  • Make sure that you select your contact rather than the account you just created
  • Check “Deliver messages to both forwarding address and mailbox”
  • Exchange 2007
  • Sign into Exchange Management Console
  • Create a new Mail Contact
    • Expand Recipient configuration
    • Click Mail Contact
    • Create a new Mail Contact for yourself with the email address you want all mail to be forwarded to
  • Browse to Mailbox and find your security logon account (not your Mail Contact)
  • If you have no mailbox, create a New User mail box (this creates a security account on the domain)
  • Open the properties of your mail box
  • Click Mail Flow Settings
  • Click Delivery Options and then click Properties
  • Under Forwarding Address check Forward to: and then browse to your mail contact
  • Click OK on all the dialog boxes
  • If there is any email filtering be sure to make adjustments to that system as well

Tested

June 2010

Posted in Exchange Server, Microsoft, Outlook.


Windows: Find system uptime

Summary of Issue

Find a Window’s computer uptime.

Quoted Text

Methods to resolve the problem

Instructions

user@computer:$ systeminfo | findstr /i time

Text

Posted in Server 2003, Server 2008, Windows, Windows 7, Windows Vista, Windows XP.


Remove hiberfil.sys on Server 2008

Summary of Issue

How to turn off Hibernation on Windows Server 2008

Methods to resolve the problem

Instructions

user@computer:$ powercfg -h off

Sources

  • http://waitingimpatiently.com/index.php/2009/07/08/remove-hiberfilsys-on-server-2008/

Posted in Microsoft, Server 2008, Windows.


MACs 101

From a Mac to Windows

Remote Desktop

To RDP to a Windows server from a MAC download CoRD and use the hostname or IP address of the server.

http://cord.sourceforge.net/ – this does not require admin credential to install or run

IP Scanner for Mac

http://www.angryip.org/w/Download

Posted in MACs.


Server 2003: Free up space on C:

Summary of Issue

This is a summary of sources to help clean up the C: partition of a Windows Server 2003 installation. I use this as a checklist when freeing up disk space on Server 2003.

Methods to resolve the problem

Instructions

1. Perform these steps Disk Cleanup: deleting unnecessary files
2. Clear or move the log files found in C:\Windows\System32\Logfiles
3. Manage your Servers Boot Drive
4. Use one of the following applications to find large files:
- Windirstat
- Sequoiaview
- Treeview

Posted in Microsoft, Server 2003, Server 2008, Windows.


Force SharePoint Search to Index Site

Summary of Issue

Force SharePoint Search to index site.

Methods to resolve the problem

1.  Run the following code on a SharePoint WFE server:

stsadm -o spsearch -action fullcrawlstop
stsadm -o spsearch -action fullcrawlstart

Posted in Microsoft, SharePoint Server 2007, SharePoint Services v3.0.


SQL Server Updates

Summary of Issue

SQL Server Updates past Service Packs can be hard to keep track of. I ran across this site when I could not install SharePoint Foundation 2010, because my SQL Server was not running the latest update.

This is a database of SQL Server versions for those of us who want
to know what possible vulnerabilities may exist in unpatched SQL Server
systems.  This makes it easier for those of us tasked with securing
those environments to prepare the proper documentation outlining the
threat.  Special thanks to Ken Klaft for helping maintain this area of
the site.  With the seamingly endless stream of PSS-only releases out
there this gets to be really time-consuming. --Chip

Sources

Posted in Microsoft, SQL Server.