Tag Archive: windows


Moving WSS 3.0 Databases

WSS 3.0 uses Microsoft SQL Embedded Edition (MSEE) for its data store. When MSEE is installed, the data files are installed to your C: drive by default. Since you do not want to have a file on your system drive that can grow exponentially, you need to move it to another drive. Here is how you do it.

Note: While completing this process your WSS site will be offline to your users.

  1. Shutdown all Windows Sharepoint services & IIS Admin service: This will ensure that there are no locks on the files you need to move.
  2. Open a cmd prompt and cd to C:\Program Files\Microsoft SQL Server\90\Tools\binn
  3. Enter sqlcmd -S \\.\pipe\mssql$microsoft##ssee\sql\query -E: This starts the Microsoft SQL Server 2005 Command Line Query Utility
  4. Enter the following commands to view the available databases & hit Enter after each:
    • SELECT name from sysdatabases
    • GO

    You should see a number of DBs, move the following 4 databases (GUID’s may be different):

    • SharePoint_Config_c464b7ce-59ef-4820-9f75-f46a0937c08e
    • SharePoint_AdminContent_451452bf-9dc0-40c9-be18-14f14bc23007
    • WSS_Search_NETSERVER_86a140c5958d4a5d97c8c2cbee745424
    • WSS_Content
  5. Enter the following commands & hit Enter after each line. Repeat for each database.
    • EXEC sp_detach_db @dbname = ‘Content_Database_name’

    • GO
  6. Move the databases to their new location. They can be found in C:\Windows\SSQL\Data\.mdf and _log.ldf
  7. After the files have been moved run the following commands (Make sure to change the itialic sections to your specifics):
    • EXEC sp_attach_db @dbname = ‘Content_Database_name‘, @filename1 = ‘drive:\path\Data\.mdf’, @filename2 = ‘drive:\path\Data \_log.ldf’
    • Go
  8. Repeat step 7 for each database you moved.
  9. Restart IIS Admin services and all Windows Sharepoint services
  10. Ensure your Sharepoint site is working

If this is done before you build your site it will take no time at all to move the DBs to the new location.

More Registry Goodies

We are in the process of installing a policy and procedure management application at the hospital. It has been setup so that users are not required to enter their user name and password to access the site, it is done via LDAP. To get the single-sign-on benefits of the LDAP look ups we needed to add the domain name to the list of trusted sites in IE. This can be done via Group Policy, but, my experiences with this group policy setting has been mixed. Each time I configured this Group Policy Object setting it turned off the option for the user to add sites. Each new site needed to be added by me in to the GPO. While I limit what my users can change and access I do not like getting calls for simple stuff like this. What was I to do?

View full article »

Set the IE homepage via the registry

We just got in a batch of HP desktops and so far they look to be a good investment. There isn’t much crap/bloat ware installed on it, so we can get them out the door to our users quite quickly. We have had only 1 minor issue with them. For each new user who logs in, the system sets the IE homepage to an HP/AOL site, not our corporate intranet. Instead of emailing our users instructing them on how to set the homepage back to our intranet site I logged into our Desktop Authority server and added a new option under the registry settings.

View full article »

Removing Printers with a Machete…

As a sys admin, the bane of my existence are printers.  In fact I think I could make a list on how I hate them so, but that is for another time.  Back to the story.  In the past month I have had to take out my machete, enter the deep dark jungle of the registry and hack out all reference to printers and printer servers , twice.  View full article »

Disk Defragmentation

Does your PC just not run as fast as it did when you first got it?  Chances are your hard drive has become fragmented.  What does this mean?  Well, your hard drive is made up of many "slices" which are called sectors.  When you create a Word document or download a song onto your computer it is written onto your hard disk.  When you delete the file it is erased from the hard disk leaving an open space on your hard drive.  Then you download the pictures from your latest vacation and part of the data is written to that now empty space and the rest to another part of your hard drive.  Over time, after many songs, pictures, movies, etc your data is spread out all over the hard drive.  This causes delays in reading the data off the hard drive when you want to show grandma your vacation pictures.  Wikipedia has a lot more info on fragmentation. View full article »

Viewpoints on Vista

Paul Thurrott has written an interesting article looking back to the early days of Vista's (longhorn) development.  You can read about the 1st two articles here.  It is worth a read to see how much optimistic Gates and the Windows folk were back in 2001.  Vista today looks nothing like the idealistic view of Longhorn they had dreamed up.  I can't wait for the rest of Paul's history comes out.

John Dvorak's latest PCMag article brings up some serious concerns for the possible inclusion of Windows Genuine Advantage in the retail release of Vista.  John has been writing on technology for a very long time and I enjoy his articles immensly and his blog is on my daily list of reading.

Windows Defender & WSUS

I have installed Windows Defender on a few of the corporate laptops and noticed that they were not getting definition updates.  I tried reinstalling the product but was unable to get it to update.  Google turned up some leads but none of them worked for me.  On a whim I went to check out WSUS server to see if the updates were available there.  In the Sync Options area, under Products I saw what I wanted to see.  Windows Defender updates are pushed through MS Update and since we use WSUS instead of MS Update the laptops were not getting updated.   I few clicks and a sync later our Windows Defender installs are now getting up to date definitions.

Show me your Rootkit

Rootkits are becoming more of a problem everyday.  Sophos has released a free program that will detect a rootkits presense and remove it.

What is a rootkit?

The term rootkit is used to define a Trojan (or technology) used to hide the presence of a malicious object (process, file, registry key, network port) from the computer user or administrator.

View full article »

Computer Fundamentals 100

Welcome to the first of many guides to technology I will be writing. For my first guide, lets call it Computer Fundamentals 100, I will give you my top 5 tips for a new or prospective computer owner, specifically Windows users.

1. A computer is nothing to be afraid of. So, go ahead and explore the file system. Aside from deleting any files located in c:\windows, or c:\program files, there isn't to much that can go wrong by going into My Computer and taking a look around, Trial & error work for you as a small child, why not as an adult. View full article »

Powered by WordPress | Theme: Motion by 85ideas | © 2006–2012 Dave Hildebrand | 67 queries in 2.206 seconds.