Archive for July, 2007

Indexing pdf documents with Adobe Reader v.8 and MOSS 2007

July 30, 2007

The version 8 of the adobe reader has some significant architectural changes (for the better of course) including an inbuilt IFilter to index PDF documents. Previously the adobe IFilter was available as a seperate download. This new change in architecture compromised the ability to search pdf documents from within MOSS 2007. However, the pdf filter works fine with WDS 3.0 . While many consultants recommend that if we’re to index pdf documents through MOSS 2007, we use the the v.6 of adobe IFilter and if we want to index pdf documents through WDS 3.0 or higher, we use the v.8 of adobe reader. But what if we wanted to index pdf documents using both WDS and MOSS 2007?!!! Here’s how you can use MOSS 2007 with adobe reader v.8, the version currently patronized by WDS:)

1. Download Adobe Reader v.8 .

2. Add the filter-extension to the File types crawled:

Start -> Program -> Microsoft Office Server -> SharePoint 3.0 Central Administration  -> <Name of SharedService Provider> -> Search Settings -> File Types -> New File Type (Add extension  pdf here)

3. Modify the following Registry keys by changing their “Default” value to the new CLSID of the Adobe IFilter:  {E8978DA6-047F-4E3D-9C78-CDBE46041603}

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office                  
server\12.0\Search\Setup\ContentIndexCommon\Filters\Extension\.pdf

Default –> {E8978DA6-047F-4E3D-9C78-CDBE46041603}

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server                          
Extensions\12.0\Search\Setup\ContentIndexCommon\Filters\Extension\.pdf

Default –> {E8978DA6-047F-4E3D-9C78-CDBE46041603}

4.  Add the Installation directory of the Adobe Reader v.8 to the System Path. For example, if the Reader is installed on “D:\Program  Files\Adobe”, then add “D:\Program Files\Adobe\Reader 8.0\Reader” to the system path by:

–> Right Click on My Computer -> Properties -> Advanced -> Environment Variables -> Path (Under System Variables) -> Edit -> (Add “D:\Program Files\Adobe\Reader 8.0\Reader”).

This effectively tells the adobe IFilter where to pick up the dependent DLLs.

5. Recycle the search service: > net stop osearch
> net start osearch

6. Now we can crawl and search PDF documents with v.8 Reader.

Advertisements

Installing the PDF Ifilter in SharePoint and registering the PDF icon

July 30, 2007

Here are the steps for adding the PDF ifilter and icon
1. Download Adobe iFilter 6 here:
http://www.adobe.com/support/downloads/detail.jsp?ftpID=2611
2. Install Adobe iFilter on the Indexing Server (SharePoint Server 2007)
3. Add it to the File Type in the SSP
a. In Central Administration click on Application Management
b. Under Office SharePoint Server Shared Services click: Create or
configure this farm’s shared services
c. Click on the defualt SSP
d. Under Search click Search settings
e. Under Crawl Settings click File Types
f. Click New File Type and add pdf
4. Add PDF Icon:
a. Switch to the folder that contains the Adobe PDF Filter 6.0 files. For
example, switch to the following folder:
Drive:\Program Files\Adobe\PDF IFilter 6.0
b. Type regsvr32.exe pdffilt.dll, and then press ENTER.
c. If you receive a message that the operation was successful, click OK .
d. Copy the .gif file that you want to use for the icon to the following
folder on the server:
Drive:\Program Files\Common Files\Microsoft Shared\Web Server
Extensions\12\Template\Images
Icon can be found here (use 17 x 17 one):
http://www.adobe.com/misc/linking.html
e. Edit the Docicon.xml file to include the .pdf extension. To do so:
Start Notepad, and then open the Docicon.xml file.
Drive:\Program Files\Common Files\Microsoft Shared\Web server
extensions\12\Template\Xml
f. Add an entry for the .pdf extension. For example, where NameofIconFile
is the name of the .gif file:
<Mapping Key=”pdf” Value=”NameofIconFile.gif”/>
g. On the File menu, click Save, and then quit Notepad.”

Installing Adobe PDF Ifilter 6.0 on MOSS 2007

July 30, 2007

Here are the instructions for installing the PDF IFilter 6.0 on a SharePoint 2007 server to allow PDF files to be indexed (full text) by the Search and for the icon to be shown next to PDF documents.

  1. Download Adobe PDF IFilter 6.0
  2. Stop the IIS Admin service: Start -> Run -> services.msc -> IIS Admin Service -> Stop
  3. Run the Adobe PDF IFilter 6.0 Setup program to install the filter on the server.
  4. Copy the ICPDF.GIF file to “C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\Template\Images”
  5. Edit the file C:\Program Files\Common Files\Microsoft Shared\Web server extensions\60\Template\Xml\DOCICON.XML
    1. Add an entry for the .pdf extension.
      <Mapping Key=”pdf” Value=”icpdf.gif”/>
  6. Perform an iisreset or recycle the SharePoint Application Pools
  7. Add the .pdf file type to the index list:
    1. Go to Central Administration, then to the Shared Services Administration Web of the current SSP, go to Search Settings and next to File Type
    2. Add a new file type pdf
  8. Perform a Full Update on the Search content indexes

Avviare un processo su un computer remoto

July 30, 2007

Ecco uno script che consente di avviare, su un computer remoto, un qualsiasi processo. In questo caso, verrà avviato il processo cmd.exe (shell dos).

strComputer = “nome_computer”
Set objWMIService = GetObject(“winmgmts:” & “{impersonationLevel=impersonate}!\\” & strComputer & “\root\cimv2:Win32_Process”)

Error = objWMIService.Create(“cmd.exe”, null, null, intProcessID)

If Error = 0 Then
   Wscript.Echo “Il processo è stato avviato con ID ” & intProcessID & “.”
Else
   Wscript.Echo “Il processo non può essere avviato per errore ” & Error & “.”
End If

Scheduled Tasks attivi su un computer

July 30, 2007

Con questo script, potrete avere la lista dei task attivi su un computer:

strComputer = “.”
Set objWMIService = GetObject(“winmgmts:” _
    & “{impersonationLevel=impersonate}!\\” & strComputer & “\root\cimv2”)

Set colScheduledJobs = objWMIService.ExecQuery _
    (“Select * from Win32_ScheduledJob”)

For Each objJob in colScheduledJobs
    Wscript.Echo “Caption: ” & objJob.Caption
    Wscript.Echo “Command: ” & objJob.Command
    Wscript.Echo “Days of Month: ” & objJob.DaysOfMonth
    Wscript.Echo “Days of Week: ” & objJob.DaysOfWeek
    Wscript.Echo “Description: ” & objJob.Description
    Wscript.Echo “Elapsed Time: ” & objJob.ElapsedTime
    Wscript.Echo “Install Date: ” & objJob.InstallDate
    Wscript.Echo “Interact with Desktop: ” & objJob.InteractWithDesktop
    Wscript.Echo “Job ID: ” & objJob.JobID
    Wscript.Echo “Job Status: ” & objJob.JobStatus
    Wscript.Echo “Name: ” & objJob.Name
    Wscript.Echo “Notify: ” & objJob.Notify
    Wscript.Echo “Owner: ” & objJob.Owner
    Wscript.Echo “Priority: ” & objJob.Priority
    Wscript.Echo “Run Repeatedly: ” & objJob.RunRepeatedly
    Wscript.Echo “Start Time: ” & objJob.StartTime
    Wscript.Echo “Status: ” & objJob.Status
    Wscript.Echo “Time Submitted: ” & objJob.TimeSubmitted
    Wscript.Echo “Until Time: ” & objJob.UntilTime
Next

Lista delle patch installate

July 30, 2007

Questo script vi restituirà la lista di tutte le hot fix installate sul vostro computer:

strComputer = “.”
Set objWMIService = GetObject(“winmgmts:” _
    & “{impersonationLevel=impersonate}!\\” & strComputer & “\root\cimv2”)

Set colQuickFixes = objWMIService.ExecQuery _
    (“Select * from Win32_QuickFixEngineering”)

For Each objQuickFix in colQuickFixes
    Wscript.Echo “Computer: ” & objQuickFix.CSName
    Wscript.Echo “Description: ” & objQuickFix.Description
    Wscript.Echo “Hot Fix ID: ” & objQuickFix.HotFixID
    Wscript.Echo “Installation Date: ” & objQuickFix.InstallDate
    Wscript.Echo “Installed By: ” & objQuickFix.InstalledBy
Next

Lista delle service pack installate

July 30, 2007

Questo script vi restituirà la lista di tutte le service pack installate sul vostro computer:

strComputer = “.”
Set objWMIService = GetObject(“winmgmts:” _
& “{impersonationLevel=impersonate}!\\” & strComputer & “\root\cimv2”)

Set colOperatingSystems = objWMIService.ExecQuery _
(“Select * from Win32_OperatingSystem”)

For Each objOperatingSystem in colOperatingSystems
Wscript.Echo objOperatingSystem.ServicePackMajorVersion _
& “.” & objOperatingSystem.ServicePackMinorVersion
Next

Creare shortcuts sul desktop

July 30, 2007

Ecco come creare uno shortcuts sul desktop, tramite vbscript:

Set Shell = CreateObject(“WScript.Shell”)
DesktopPath = Shell.SpecialFolders(“Desktop”)
Set link = Shell.CreateShortcut(DesktopPath & “\LinkName.lnk”)
link.Description = “LinkDescription”
link.IconLocation = “c:\cartella\programma.exe,0”
link.TargetPath = “c:\cartella\programma.exe”
link.WindowStyle = 1
link.WorkingDirectory = “c:\cartella”
link.Save

Dokeos

July 30, 2007

Il progetto è partito da una vecchia versione di Claroline (un fork) ed è diventato in breve tempo un progetto a se stante con il proprio carattere. L’obiettivo è quello di aiutare gli insegnanti a creare contenuti di tipo pedagogico, a strutturare le attività utilizzando i percorsi di apprendimento, ad interagire con gli studenti e seguire la loro evoluzione attraverso il sistema di tracciamento. Ha raggiunto in poco tempo una buona diffusione e grande entusiasmo tra gli utilizzatori.

link al sito ufficiale del progetto

Ilias

July 30, 2007

Ilias è una un ambiente di gestione ed erogazione di corsi che offre molte strumenti a tutti gli attori coinvolti. Con Ilias è possibile creare scenari anche molto diversi tra loro ed ambienti complessi che possono soddisfare tutti, anche gli insegnanti e gli amministratori più esigenti.

link al sito ufficiale del progetto