Thursday, January 21, 2010

Copy NTFS security info.

To copy NTFS information from a volume on Windows 2008 sp2:
robocopy \\fs01\ustore c:\temp\ustoresec /secfix /copy:SOT /E
I will copy the directory structure with security information for folders - no individual files.
S - security
O - ownership
T - timestamp
E - copy all subdirectories including empty

Friday, January 08, 2010

SharePoint alerts and timer problem

The issue: MOSS2007 periodically stop run "Immediate Alerts" job - the job hangs in "Initializing" state and no alerts will be processed. The simple fix to stop and start "SharePoint Services Timer service" on the MOSS2007 server (if you cannot stop it - just end "OWSTIMER.EXE" process form "Task Manager". Additionally,that you might need to do is to clear SharePoint cache

  • Go to Services and stop Windows SharePoint Services Timer service
  • Go to C:\ProgramData\Microsoft\SharePoint\Config\GUID directory
  • Edit the cache.ini file and change the number to 1
  • Delete all the xml files
  • Start Windows SharePoint Services Timer service

Windows 7 God mode

On Windows 7 computer create a new folder and name it as : GodMode.{ED7BA470-8E54-465E-825C-99712043E01C} .
You will have all configuration and management tools of the OS.