2012-12-06

Install 7-Zip with all file extension associations

Create a bat file and use it for installs, code:


msiexec /i 7z920-x64.msi /q
@Echo off
Set "cmpn=7z#0 arj#4 bz2#2 bzip2#2 cab#7 cpio#12 deb#11 dmg#17 fat#21 gz#14 gzip#14 hfs#18 iso#8 lha#6 lzh#6 lzma#16 ntfs#22 rar#3 rpm#10 split#9 swm#15 tar#13 taz#5 tbz#2 tbz2#2 tgz#14 tpz#14 vhd#20 wim#15 xar#19 xz#23 z#5 zip#1"
For %%I In (%cmpn%) Do For /F "tokens=1* Delims=#" %%a In ("%%I") Do Call :ass_set %%a %%b
Exit
:ass_set
reg add "HKCR\.%1" /ve /t REG_SZ /d "7-Zip.%1" /f>Nul
reg add "HKCR\7-Zip.%1" /ve /t REG_SZ /d "%1 Archive" /f>Nul
reg add "HKCR\7-Zip.%1\DefaultIcon" /ve /t REG_SZ /d "%PROGRAMFILES%\7-Zip\7z.dll,%2" /f>Nul
reg add "HKCR\7-Zip.%1\shell" /ve /t REG_SZ /d "" /f>Nul
reg add "HKCR\7-Zip.%1\shell\open" /ve /t REG_SZ /d "" /f>Nul
reg add "HKCR\7-Zip.%1\shell\open\command" /ve /t REG_SZ /d "\"%PROGRAMFILES%\7-Zip\7zFM.exe\" \"%%1\"" /f>Nul
GoTo :EOF



2012-12-03

MSCCM 2012 exchange connector error 8801

If you see this error in your MSCCM 2012 Monitoring workspace, under System Status -> Component Status


Connection to Exchange server http://exchangeCAS.domain.com/powershell failed. 
Possible cause: incorrect server address or server address not reachable.

And/or receive this alert:

Operation: Mobile device management
Type: Exchange Server connector connection failure
Description: Generate an alert if the Exchange Server connector on the YourSite site failed to connect to the configured Exchange Server.

Try opening URL http://exchangeCAS.domain.com/powershell with the same user you configured for Exchange Connector in MSCCM 2012. If you get:
 401 - Unauthorized: Access is denied due to invalid credentials

Open IIS7 manager on your exchange CAS server, expand to site element PowerShell, select it and open Authentication. Enable Windows Authentication and check that it has NTLM in Providers list.

Links: