Thursday, March 18, 2010

My 2008 Logs are tooo big

Maintenance plans not working? Running out of disk space?
Clean out those log files.

USE SharePoint_Config
GO
ALTER DATABASE SharePoint_Config
SET RECOVERY SIMPLE;
GO
DBCC SHRINKFILE (SharePoint_Config_Log, truncateonly)
GO
ALTER DATABASE SharePoint_Config
SET RECOVERY FULL;
GO

Wednesday, March 17, 2010

App-V 4.6 and Office 2010

Cross Post from MS for easy reference;

Install;
XPSEP XP and Server 2003 32 bit
dotnetfx3setup
Windows Search 4.0
C:\Documents and Settings\Administrator.SEQUENSER\Desktop>msiexec /i OffVirt.msi
PROFESSIONALPLUS=1

Install App-v 32 bit sequencer RC (2)

Begin sequencing
Start Office 2010 beta installation, use the following folder;
Q:\mo2k1b32.004\Microsoft Office

Open Excel,OneNote, PowerPoint, Wor. Set to note download any updates

reg add "HKCR\CLSID\{9203C2CB-1DC1-482d-967E-597AFF270F0D}\TreatAs"
reg delete "HKCR\CLSID\{9203C2CB-1DC1-482d-967E-597AFF270F0D}\TreatAs" /va /f
reg add "HKCR\CLSID\{BDEADEF5-C265-11D0-BCED-00A0C90AB50F}\TreatAs"
reg delete "HKCR\CLSID\{BDEADEF5-C265-11D0-BCED-00A0C90AB50F}\TreatAs" /va /f

Copy everything from c:\program files\common files\microsoft shared\filters to another folder and then back


reg add "HKLM\SOFTWARE\Microsoft\Windows\Windows Search\Preferences" /v "{4154494E-BFF9-01B8-00AA-0037D96E0000}" /t REG_DWORD /d "1" /f
reg add "HKLM\SOFTWARE\Microsoft\Windows\Windows Search\Preferences" /v "{C0A19454-7F29-1B10-A587-08002B2A2517}" /t REG_DWORD /d "1" /f
reg add "HKLM\SOFTWARE\Microsoft\Windows\Windows Search\Preferences" /v "{70fab278-f7af-cd11-9bc8-00aa002fc45a}" /t REG_DWORD /d "1" /f
reg add "HKLM\SOFTWARE\Microsoft\Windows\Windows Search\Preferences" /v "{c34f5c97-eb05-bb4b-b199-2a7570ec7cf9}" /t REG_DWORD /d "1" /f
reg add "HKLM\SOFTWARE\Microsoft\Windows\Windows Search\Preferences" /v "{0077B49E-E474-CE11-8C5E-00AA004254E2}" /t REG_DWORD /d "1" /f

Versionnumber for all office-applications:14.0.4514.004

Add the following applications;
Simple MAPI Proxy Server
%commonprogramfiles%\microsoft shared\virtualization handler\MapiServer.exe

Virtual SharePoint proxy
%commonprogramfiles%\microsoft shared\virtualization handler\VirtualSearchHost.exe

Virtual OWSSupp Manager
%commonprogramfiles%\microsoft shared\virtualization handler\VirtualOWSSuppManager.exe

Mail Control Panel
%windir%\system32\Control.exe” “%SFT_MNT%\mo2k1b32.004\Office14\mlcfg32.cpl


Edit the following registry-keys and change the value to:
%SFT_MNT%\mo2k1b32.004\VFS\CSIDL_PROGRAM_FILES\Microsoft Office\Office14\OWSSUPP.DLL
HKEY_CLASSES_ROOT\CLSID\{3FD37ABB-F90A-4DE5-AA38-179629E64C2F}\InprocServer32\(Default)
b. HKEY_CLASSES_ROOT\CLSID\{62B4D041-4667-40B6-BB50-4BC0A5043A73}\InprocServer32\(Default)
c. HKEY_CLASSES_ROOT\CLSID\{9203C2CB-1DC1-482D-967E-597AFF270F0D}\InprocServer32\(Default)
d. HKEY_CLASSES_ROOT\CLSID\{BDEADEF5-C265-11D0-BCED-00A0C90AB50F}\InprocServer32\(Default)


In the sequencer, add the following element to each OSD, and type “TRUE” in the Element Text: SOFTPKG -> IMPLEMENTATION -> VIRTUALENV -> POLICIES -> LOCAL_INTERACTION_ALLOWED.


Save Package

The adding of the proxies I usually did when editing the detected programs.

/Znack
----
msiexec /i OffVirt.msi ADDDEFAULT=Click2runOneNoteProxy,Click2runOutlookProxies,Click2runWDSProxy,Click2runOWSSuppProxies PACKAGEGUID={EF2D625D-2BD3-4226-A480-CFE325BBDCDE} PACKAGEVERSION=14.0.4514.1004 OUTLOOKNAME=”Microsoft Outlook 2010 (Beta)” ONENOTENAME=”Microsoft OneNote 2010 (Beta)” MAPISERVER=”Simple Mapi Proxy Server” VIRTUALSEARCHHOST=”Virtual Search Host” MLCFG32CPL=”Mail Control Panel” OWSSUPPServer=”Virtual OWSSupp Manager”

Windows Installer doesn't recognize ”. Replace ” with " on the command line

------

http://www.softgridblog.com/

-----

presales guff type stuff:
http://windowsteamblog.com/blogs/springboard/archive/2010/02/22/app-v-4-6-release-q-amp-a.aspx

-------------

Sequencing best practise: http://technet.microsoft.com/en-us/library/dd351420.aspx

http://support.microsoft.com/Default.aspx?kbid=980861

-----------

Also this is now released with new software, and instructions available. (22 April 2010)

Tuesday, March 2, 2010

Symantec Endpoint Protection Manager (SEPM) def update issue

So you've installed the latest sepm and all went well until you realize your defninitions are dated 2009. easy fix, run liveupdate in the manager console... Wait, what, they're up-to-date!?

Guess something is stuck then, hey :)

step 1: make sure you are on the Internet, can get to the liveupdate servers: http://definitions.symantec.com/defs/{updatefile}.exe OR FTP://FTP.symantec.com/public/blahblah
step 2: run luall.exe location in c:\program files\symantec\liveupdate and see if it downloads anything (prob not)
step FIX: I'll cross post later but

http://service1.symantec.com/support/ent-security.NSF/docid/2008041516215948

seems to give it a proper cleanout of the old defs and you can expand the process to do all your definitions with a little care

good luck with sep, here's hoping the next version is better ;-)