Wednesday, May 31, 2006

Tech-Recipes.com - XP/2K/2003: View uptime of Windows system

Tech-Recipes.com - XP/2K/2003: View uptime of Windows system: "

Want to know how long it has been since a Windows system was booted?

Using the following command will show the uptime of the system as well as other information:

net statistics workstation



Look for a line such as this near the top of the output:

Statistics since 8/27/2004 10:34 PM"

Best practices for the Encrypting File System

Best practices for the Encrypting File System

Tuesday, May 30, 2006

Troubleshooting Windows XP, Tweaks and Fixes for Windows XP

Troubleshooting Windows XP, Tweaks and Fixes for Windows XP

Monday, May 22, 2006

Oh boy, we got problems

I found this in the event logs of one of the servers that I manage..

The File Replication Service has detected that the replica set "DOMAIN

SYSTEM VOLUME (SYSVOL SHARE)" is in JRNL_WRAP_ERROR.

Replica set name is : "DOMAIN SYSTEM VOLUME (SYSVOL SHARE)"
Replica root path is : "c:\winnt\sysvol\domain"
Replica root volume is : "\\.\C:"
A Replica set hits JRNL_WRAP_ERROR when the record that it is trying to
read from the NTFS USN journal is not found. This can occur because of
one of the following reasons.

[1] Volume "\\.\C:" has been formatted.
[2] The NTFS USN journal on volume "\\.\C:" has been deleted.
[3] The NTFS USN journal on volume "\\.\C:" has been truncated. Chkdsk
can truncate the journal if it finds corrupt entries at the end of the
journal.
[4] File Replication Service was not running on this computer for a
long time.
[5] File Replication Service could not keep up with the rate of Disk IO
activity on "\\.\C:".
Setting the "Enable Journal Wrap Automatic Restore" registry parameter
to 1 will cause the following recovery steps to be taken to
automatically recover from this error state.
[1] At the first poll, which will occur in 5 minutes, this computer
will be deleted from the replica set. If you do not want to wait 5
minutes, then run "net stop ntfrs" followed by "net start ntfrs" to
restart the File Replication Service.
[2] At the poll following the deletion this computer will be re-added
to the replica set. The re-addition will trigger a full tree sync for
the replica set.

WARNING: During the recovery process data in the replica tree may be
unavailable. You should reset the registry parameter described above to
0 to prevent automatic recovery from making the data unexpectedly
unavailable if this error condition occurs again.

To change this registry parameter, run regedit.

Click on Start, Run and type regedit.

Expand HKEY_LOCAL_MACHINE.
Click down the key path:
"System\CurrentControlSet\Services\NtFrs\Parameters"
Double click on the value name
"Enable Journal Wrap Automatic Restore"
and update the value.

If the value name is not present you may add it with the New->DWORD
Value function under the Edit Menu item. Type the value name exactly as
shown above.




The correct responce as per a MS employee is

Here is an article that will explain what a journal wrap is:
292438 Troubleshooting Journal_Wrap Errors on Sysvol and DFS Replica Sets
http://support.microsoft.com/?id=292438

The main thing here is to find out why this machine wound up in journal
wrap state.

To fix the journal wrap, you may have to perform a D2 (non authoratative
restore):

1. Click "Start", and then click "Run".

2. In the "Open" box, type "cmd" (without the quotation marks) and then
press ENTER.

3. In the "Command" box, type "net stop ntfrs" (without the quotation
marks).

4. Click "Start", and then click "Run".

5. In the "Open" box, type "regedit" (without the quotation marks) and then
press ENTER.

6. Locate the following subkey in the registry:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\NtFrs\Parameters\Backup
/Restore\Process at Startup

7. In the right pane, double-click "BurFlags".

8. In the "Edit DWORD Value" dialog box, type "D2" (without the quotation
marks) and then click "OK".

9. Quit Registry Editor, and then switch to the "Command" box.

10. In the "Command" box, type "net start ntfrs" (without the quotation
marks).

11. Quit the "Command" box.

When the FRS service restarts, the following actions occur:

- The value for BurFlags registry key returns to 0.

- Files in the reinitialized FRS folders are moved to a
folder.

- The FRS database is rebuilt.

- The member performs an initial join of the replica set from an upstream
partner or from the computer that is specified in the Replica Set Parent
registry key if a parent has been specified for SYSVOL replica sets.

- The reinitialized computer performs a full replication of the affected
replica sets when the relevant replication schedule begins.

Thank You.

Diana.

diasm...@online.microsoft.com

This posting is provided "AS IS" with no warranties, and confers no rights.

Sunday, May 21, 2006

Frozen Bubble - Java port

Frozen Bubble - Java port
This post is purely for selfish reasons, my daughter loves this game :)

Single Instance Storage in Microsoft Windows Storage Server 2003 R2

Download details: Single Instance Storage in Microsoft Windows Storage Server 2003 R2: "

A Solution for Managing Duplicate Files
Discover how Microsoft deployed the Single Instance Storage (SIS) feature of Microsoft Windows Storage Server 2003 R2 to automatically identify and manage duplicate files to reduce storage needs. SIS has allowed Microsoft IT to reduce storage by 25 to 40 percent, depending upon the type of content stored, across more than 200 servers."

why o' why such big buttons on my blog

Does anybody know why sometimes the editing panel of my blog has HUGE 'edit' buttons like below??

Friday, May 19, 2006

Database Programming and Design

From the site.......

Database Programming and Design: "
These hints--many of them previously unpublished--can help you avoid the plague of poorly written SQL statements"

Thursday, May 18, 2006

Windows 2000(3): Slow sync of profile when any user logs off.

From Experts-Exchange.com and napoleon41
Windows 2000: Slow sync of profile when any user logs off.: "
Do you use offline files? This is most likely what is causing SO much time logging off as it makes a copy of the user's document folder on the server locally. If your documents are large . . . well . . . not only can it take a great deal of time, but it can also completely fill the hard drive. If you are not wanting to use them (and you probably shouldn't for the reason I stated above), you should turn them off.

The settings for this are under you domain policy, both USER and COMPUTER policies, Administrative Template--Network--Offline Folders. Set all of the applicable setting to disable this feature.

You should/can open the hard drive (with my computer or explorer) and browse to the share on your server. Again . . . do this from the server. Right-Click the shared folder and go to properties-->Sharing tab-->Caching button--> and set the share to 'files or programs from the share will not be available offline'"

Batch file that truncates the username

CD %USERPROFILE%\Local Settings\...
copy \\xxxxxxxx\xxxxxxxxxxxx\%username:~0,8%.csv test.TXT
pause

CSV file editor, unicode compatible on Windows XP NT 2000

CSV file editor, unicode compatible on Windows XP NT 2000

An excellent CSV editor

Mozilla Password Viewing

Mozilla Password Viewing

I have been looking for this for months, Thanks Ed.

Noteworthy Software companies

RJL Software, Inc. - Unique Software Solutions for Today's Changing Market
Sunbelt Software - Antispyware, Antispam, Security Software

I dont think I have the money for a Lexus LS-460

>TRG Proclaims Lexus LS-460 Most Techie Car - Lifestyle News - Digital Trends
I dont have the money for it but who knows :)

BBC NEWS | Science/Nature | 'Big brother' informs baby talk

BBC NEWS | Science/Nature | 'Big brother' informs baby talk

IBM Claims Tape Storage Breakthrough - Yahoo! News

IBM Claims Tape Storage Breakthrough - Yahoo! News

From the article
This denisty means that a standard tape cartridge will be able to hold some eight trillion bytes of uncompressed data, equivalent to the amount of text from eight million books.

You would think that by now we would stop the silly compareson to books, nobody i know thinks in those terms anyway!