31.5.13

установка Microsoft Office 2010 с использованием SCCM 2012

Original link
http://prajwaldesai.com/how-to-deploy-microsoft-office-2010-using-sccm-2012/

In this post we will see how to deploy Microsoft Office 2010 using SCCM 2012. SCCM 2012 is a very good tool when you think of deploying software to the end computers. In this post we will be deploying Microsoft Office Professional Plus 2010 32 bit edition and the copy of Office that we have is Volume License Edition of Microsoft Office 2010, we will customize the Office installation using a tool called Office Customization Tool which can be downloaded here. If you are using a Volume License Edition of Microsoft Office then OCT comes along with the it. We are basically looking for an unattended setup of Microsoft Office, this can be achieved only when you customize the installation using office customization tool.

On my SCCM server (SCCM.PRAJWAL.LOCAL) i first copy the contents of office 2010 in a folder called Office.
Deploy Microsoft Office 2010 Using SCCM 2012 Snap 1
Next Launch the command prompt and change the path to the office folder. Run the command Setup.exe /admin.
Deploy Microsoft Office 2010 Using SCCM 2012 Snap 2
You will see Microsoft Office Customization Tool, Choose Create a new setup customization file for following product, verify that correct product is selected. Click on OK.
Deploy Microsoft Office 2010 Using SCCM 2012 Snap 3
Select Install location and organization name, in the text box provide the organization name.
Deploy Microsoft Office 2010 Using SCCM 2012 Snap 4
Click on Licensing and user interface, you can choose a KMS key if you have a KMS server in your organization. If you have a product key then type it. Check the box “I accept the terms in the license agreement“  set the Display level to Basic. Choose Suppress modal and No cancel.
Deploy Microsoft Office 2010 Using SCCM 2012 Snap 5
Click on Modify Setup properties, Click Add, Provide the Name as SETUP_REBOOT and Value as Never.
Deploy Microsoft Office 2010 Using SCCM 2012 Snap 6
Select Modify user settings, Microsoft Office 2010, Privacy, Trust Center. Double click the setting Disable Opt-in Wizard on first run and Set the status as Enabled.
Deploy Microsoft Office 2010 Using SCCM 2012 Snap 7
Click on File, Save and save the MSP file in the Updates folder.
Deploy Microsoft Office 2010 Using SCCM 2012 Snap 8
On the SCCM Server, Under the Application Management, right click Applications and select Create Application.
Deploy Microsoft Office 2010 Using SCCM 2012 Snap 9
Choose Automatically detect information and set the location of the msi file as sccm.prajwal.localOfficeProPlus.WWProPlusWW.msi. Click Next.
Deploy Microsoft Office 2010 Using SCCM 2012 Snap 10
Click Next and Specify the Installation program as setup.exe, choose Install behavior as Install for system. Click Next and Finish.
Deploy Microsoft Office 2010 Using SCCM 2012 Snap 11
Right click the Microsoft Office application that you have created and click Properties.
Deploy Microsoft Office 2010 Using SCCM 2012 Snap 12
Navigate to Deployment Types, Click Edit.
Deploy Microsoft Office 2010 Using SCCM 2012 Snap 13
The Content Location is set to  sccm.prajwal.localOfficeProPlus.WW.
Deploy Microsoft Office 2010 Using SCCM 2012 Snap 14
You need to set the content location to sccm.prajwal.localOffice  (Delete “ProPlusWW” from the path)
Deploy Microsoft Office 2010 Using SCCM 2012 Snap 15



In the Programs tab, set Uninstall program to setup.exe /uninstall /config SilentUninstallConfig.xml
where: SilentUninstallConfig.xml
< Configuration Product="Standard">
< Display Level="none" CompletionNotice="no" SuppressModal="yes" AcceptEula="yes" />
<Setting Id="SETUP_REBOOT" Value="Never" />
</Configuration>



Right the Microsoft Application and Distribute the content to the distribution Point. Do not proceed until you see the content status of the Microsoft Office as Green. The green color indicates that the content has been distributed to distribution point successfully.
Deploy Microsoft Office 2010 Using SCCM 2012 Snap 17
Next We will deploy the Office application to a device collection. Right click the Microsoft Office application and click Deploy.
Deploy Microsoft Office 2010 Using SCCM 2012 Snap 18
You can deploy it to a Device collection or User collections. You can also choose to deploy it to All Systems. In this example, i have created a Device Collection All Windows 7 Systems that contain Windows 7 systems. Click OK and Next.
Deploy Microsoft Office 2010 Using SCCM 2012 Snap 19
We will Choose to Install the application and Purpose is set as Available.
Deploy Microsoft Office 2010 Using SCCM 2012 Snap 20
Select User notifications as Display in Software Center and show all notifications. Click on Next and Close.
Deploy Microsoft Office 2010 Using SCCM 2012 Snap 21
On the client computer, launch the Software center, Click Install to start the installation. The application is first downloaded and then installed. Wait for few minutes to complete the installation.
Deploy Microsoft Office 2010 Using SCCM 2012 Snap 22
The Microsoft Office is installed successfully.
Deploy Microsoft Office 2010 Using SCCM 2012 Snap 23

Борьба со спамом Phoca Guestbook: CAPTCHA

http://oborin.info/ru/joomla/69-extensions/3-spam-phoca-guestbook-capcha.html
Либо
http://joomlabc.ru/joomla-komponents/item/32-kak-sdelat-kaptchu-na-saite 

30.5.13

div style='position:absolute;left:-5000px

ЕКЛАМА

div style='position:absolute;left:-5000px Реклама и всякая шняга.....
Долго бился с этой ошибкой,  решения на других форумах не помогало.
Решил проблему кардинально - заменил шаблон.
Не скачивайте шаблоны с торрентов, я свой скачал на rutrackere.
Видимо ушлые ребята "вшили" свой код, в шаблоны перепаковали и выложили.
А я на халяву повелся.... :(
И  самое главное, не скачивайте ОС с торрентов, одному Богу известно какой код могут "вшить".

Update : ищите в строчку base64, частенько ее запихивают в сам шаблон а не вCMS.
Переменной присваивают типа вот этого
PGRpdiBpZD0idnQtcm0iPjxhIGhyZWY9Imh0dHA6Ly9qb29tbGEtbWFzdGVyLm9yZy8iIHRhcmdldD0iX2JsYW5rIiB0aXRsZT0i0YHRgtC40LvRjNC90YvQtSDRiNCw0LHQu9C+0L3RiyDRgdCw0LnRgtC+0LIiPtGB0YLQuNC70YzQvdGL0LUg0YjQsNCx0LvQvtC90Ysg0YHQsNC50YLQvtCyPC9hPjwvZGl2Pg==

http://base64.ru/

Декодер нам говорит, что здесь стоит ссылка :)

Права доступа СMS Joomla на хостинге

 PHP-файлы: 644
 Другие папки: 755 
 
Захватываем права владельца
chown -R www-data:www-data /var/www/joomla
 
Даем права на файлы и папки 
find /var/www/joomla -type f -exec chmod 0644 {} \;
find /var/www/joomla -type d -exec chmod 0755 {} \;

http://docs.joomla.org/Installing_Joomla_on_Debian_Linux 
http://forum.joomla.org/viewtopic.php?f=622&t=716032

Дополнительно



Recursively chmod only directories
find . -type d -exec chmod 755 {} \;
Similarly, recursively set the execute bit on every directory
chmod -R a+X *
The +X flag sets the execute bit on directories only
Recursively chmod only files
find . -type f -exec chmod 644 {} \;
Recursively chmod only PHP files (with extension .php)
find . -type f -name '*.php' -exec chmod 644 {} \;

http://chrisgilligan.com/wordpress/chmod-recursive-files-only-directories-type/

21.5.13

secure boot failed operating system not found на ноутбуке sony vaio

Если вы увидетете такую надпись:
Secure boot failed operating system not found
при этом все попытки войти в bios не увенчались успехом.
Выключаете ноут и вместо кнопки POWER жмите ASSIST(мне пришлось удерживать) и будет вам счастье:)

16.5.13

Удаление дополнений в internet explorer

(если   кнопка Удалить неактивна)

1. Run Registry Editor
2. Goto the following paths which contain all your IE Add-ons:
"Browser Extension" in "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Extensions"
"Browser Helper Object" in "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Browser Helper Objects"
3. Copy the Class ID of the Add-ons that you wish to remove, eg: {59273AB4-E7D3-40F9-A1A8-6FA9CCA1862C} then delete it
4. Find the Class ID you copied in "HKEY_CLASSES_ROOT\CLSID" and delete it too.

http://social.technet.microsoft.com/Forums/en-US/ieitpropriorver/thread/2531c056-b25e-4ac3-ab19-2bfa74b54190

 

6.5.13

Silent uninstall lenovo program тихое удаление программ lenovo

::Lenovo Solutions for Small Business Customizations 1.0.0006.00
MsiExec.exe /qn /norestart /x{5B5DEF99-85E9-423D-A1A3-B83202697B09}
::Google Update Helper 1.3.21.153
MsiExec.exe /qn /norestart /x{A92DAB39-4E2C-4304-9AB6-BC44E68B55E2}
::Evernote v. 4.2.3 4.2.3.15
MsiExec.exe /qn /norestart /x{F761359C-9CED-45AE-9A51-9D6605CD55C4}
::Lenovo Solution Center 2.2.002.00
MsiExec.exe /qn /norestart /x{B73D2BF9-2C82-40A4-AFA8-32CE2E501640}
REM Elements 9 Organizer
MsiExec.exe /qn /norestart /X{433EACD8-4747-4A6A-826A-FFA9F39B0D40}
rem Lenovo User Guide 1.0.0008.00
MsiExec.exe /qn /norestart /X{13F59938-C595-479C-B479-F171AB9AF64F}
rem Lenovo Welcome 3.1.0020.00
MsiExec.exe /qn /norestart /X{2DC26D10-CC6A-494F-BEA3-B5BC21126D5E}
rem Adobe AIR 3.2.0.2070
MsiExec.exe /qn /norestart /X{47FA2C44-D148-4DBC-AF60-B91934AA4842}
rem Lenovo Registration 1.0.4
MsiExec.exe /qn /norestart /X{6707C034-ED6B-4B6A-B21F-969B3606FBDE}
rem Microsoft office oem 14.0.6120.5004
MsiExec.exe /qn /norestart  /X{95140000-0070-0000-0000-0000000FF1CE}
rem Corel WinDVD 10.0.6.392
MsiExec.exe /qn /norestart /X{5C1F18D2-F6B7-4242-B803-B5A78648185D}
rem Lenovo Help Center 1.3.0.9
MsiExec.exe /qn /norestart /X{6E6E7725-C7BC-4C39-8B3F-14B67331A120}
rem Microsoft Office 14.0.6120.5004
MsiExec.exe /qn /norestart /X{95140000-0070-0000-0000-0000000FF1CE}
rem Windows Live Mesh 15.4.3502.0922
MsiExec.exe /qn /norestart /X{039480EE-6933-4845-88B8-77FD0C3D059D}
rem  Windows Live Installer 15.4.3502.0922
MsiExec.exe /qn /norestart /X{0B0F231F-CE6A-483D-AA23-77B364F75917}
rem Windows Live Photo Common 15.4.3502.0922
MsiExec.exe /qn /norestart /X{168E7302-890A-4138-9109-A225ACAF7AD1}
rem Google Toolbar for Internet Explorer 1.0.0
MsiExec.exe /qn /norestart /X{18455581-E099-4BA8-BC6B-F34B2F06600C}
rem Junk Mail filter update 15.4.3502.0922
MsiExec.exe /qn /norestart /X{1F6AB0E7-8CDD-4B93-8A23-AA9EB2FEFCE4}
rem Windows Live SOXE Definitions 15.4.3502.0922
MsiExec.exe /qn /norestart /X{200FEC62-3C34-4D60-9CE8-EC372E01C08F}
rem VIP Access 2.0.5.13
MsiExec.exe /qn /norestart /X{E8D46836-CD55-453C-A107-A59EC51CB8DC}
rem Lenovo Help Center 5.03.0005
MsiExec.exe /qn /norestart /X{25C64847-B900-48AD-A164-1B4F9B774650}
rem Lenovo Patch Utility 64 bit 1.3.0.9
MsiExec.exe /qn /norestart /X{0369F866-2CE0-4EB9-B426-88FA122C6E82}
rem Lenovo Patch Utility 64 bit 1.4.0.4
MsiExec.exe /qn /norestart /X{053ACA98-6B07-4DD0-9DB3-F51E3EB1780C}
rem Message Center Plus 3.1.0004.00
MsiExec.exe /qn /norestart /X{3849486C-FF09-4F5D-B491-3E179D58EE15}
rem View Management Utility 3.0.12.0329
MsiExec.exe /qn /norestart /X{C6254514-DD94-45E5-87C0-B9CB90A34C89}
rem Lenovo Solution Center 2.3.002.00
MsiExec.exe /qn /norestart /X{D60E3A84-5DDC-49ED-B9A5-E3466996EB36}
Rem Corel DVD MovieFactory 7
MsiExec.exe /qn /norestart /X{BF601122-9F0A-41A9-BA06-3158D9FB4B80}
Rem Lenovo SimpleTap
MsiExec.exe /qn /norestart /X{50F68032-B5B7-4513-9116-C978DBD8F27A}
Rem View Management Utility
MsiExec.exe /qn /norestart /X{C6254514-DD94-45E5-87C0-B9CB90A34C89}
Rem Lenovo Registration
MsiExec.exe /qn /norestart /X{6707C034-ED6B-4B6A-B21F-969B3606FBDE}
Rem VIP Access
MsiExec.exe /qn /norestart /X{E8D46836-CD55-453C-A107-A59EC51CB8DC}
Rem Lenovo User Guide
MsiExec.exe /qn /norestart /X{13F59938-C595-479C-B479-F171AB9AF64F}
Rem Lenovo Solution Center
MsiExec.exe /qn /norestart /X{DD00F699-6861-4DCF-A19F-8CF61E5E28ED}
Rem Lenovo Solution Center
MsiExec.exe /qn /norestart /X{3849486C-FF09-4F5D-B491-3E179D58EE15}
Rem Burn.Now 4.5
MsiExec.exe /qn /norestart /X{A3BE3F1E-2472-4211-8735-E8239BE49D9F}
Rem Lenovo Power2Go
msiexec.exe /qn /norestart /x{40BF1E83-20EB-11D8-97C5-0009C5020658}
pause


update

rem RapidBoot HDD Accelerator 1.0.5.7
"C:\Program Files (x86)\Lenovo\RapidBoot HDD Accelerator\Uninstall.exe"
rem Corel DVD MovieFactory Lenovo Edition
"C:\Program Files (x86)\InstallShield Installation Information\{BB8AE808-F003-4C7F-B56B-8C80EEAFFE23}\setup.exe" --u:{BB8AE808-F003-4C7F-B56B-8C80EEAFFE23}
REM Uninstall VESx86
MsiExec.exe /qn /norestart /X{3A94F54D-A8A4-4B82-B346-92B4D56A2708}
REM Think Vantage Power Manager 2.10.0007
"C:\Program Files (x86)\InstallShield Installation Information\{DAC01CEE-5BAE-42D5-81FC-B687E84E8405}\Setup.exe" -l0x9 -AddRemove -s -SMS
REM Think Vantage Communications Utility
"C:\Program Files\Lenovo\Communications Utility\unins000.exe" /VERYSILENT /NORESTART

silent uninstall GuardMailRu and Mail.Ru

Спасибо ZaprudnovAA!!!
Оригинал тут http://www.rosvel.ru/forum/7-17-1
Готовый батник  ТУТ

::
:: Файл для удаления следов установки GuardMailRu
:: для Windows Vista & 7
::
:: Автор: ZaprudnovAA, 2011
:: http://www.rosvel.ru
:: admin@rosvel.ru
::
::    Version 1
::

@echo off

set    NAME=GuardMailRu
set    MAILRU=Mail.Ru

@title    Удаляем %NAME%

@rem    Устанавливаем каталоги, из которых следует удалить следы Yandex

set    LOCAL=%HOMEDRIVE%%HOMEPATH%\AppData\Local\%MAILRU%
set    LOCALLOW=%HOMEDRIVE%%HOMEPATH%\AppData\LocalLow\%MAILRU%
set    ROAMING=%APPDATA%\%MAILRU%
set    PROGFILES32=%HOMEDRIVE%\Program Files (x86)\%MAILRU%
set    PROGFILES64=%HOMEDRIVE%\Program Files\%MAILRU%
set    GUARDTEMP=%HOMEDRIVE%%HOMEPATH%\AppData\Local\Temp

set    STARTUP=%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup

@rem    Начинаем удалять GuardMailRu из всех каталогов + завершаем процессы,
@rem    связанные с GuardMailRu

@rem    Завершаем процессы

@echo off

@rem    Иногда запущено сразу 2 процесса, поэтому убиваем его 2 раза

taskkill /f /im "%NAME%.exe" /t
taskkill /f /im "%NAME%" /t
taskkill /f /im "%NAME%.exe" /t
taskkill /f /im "%NAME%" /t

@rem    Удаляем каталоги

if exist "%LOCAL%\*.*" (
rd /s /q "%LOCAL%"
)
if exist "%LOCALLOW%\*.*" (
rd /s /q "%LOCALLOW%"
)
if exist "%ROAMING%\*.*" (
rd /s /q "%ROAMING%"
)
if exist "%PROGFILES32%\*.*" (
rd /s /q "%PROGFILES32%"
)
if exist "%PROGFILES64%\*.*" (
rd /s /q "%PROGFILES64%"
)

@rem    Удаляем параметры автозагрузки из реестра, если таковые есть и запрещаем дальнейший запуск

reg delete "HKCU\Software\%MAILRU%" /f
reg delete "HKLM\Software\%MAILRU%" /f
reg delete "HKCU\Software\AppDataLow\Software\%MAILRU%" /f
reg delete "HKLM\Software\AppDataLow\Software\%MAILRU%" /f

reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Run" /v "%NAME%" /f
reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\Run" /v "%NAME%" /f
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Run" /v "%NAME%.exe" /f
reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\Run" /v "%NAME%.exe" /f

reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /t REG_DWORD /v "DisallowRun" /d 1 /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\DisallowRun" /t REG_DWORD /v "DisallowRun" /d 1 /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\DisallowRun" /t REG_SZ /v 1 /d "%NAME%" /f
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /t REG_DWORD /v "DisallowRun" /d 1 /f
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\DisallowRun" /t REG_DWORD /v "DisallowRun" /d 1 /f
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\DisallowRun" /t REG_SZ /v 1 /d "%NAME%" /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /t REG_DWORD /v "DisallowRun" /d 1 /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\DisallowRun" /t REG_DWORD /v "DisallowRun" /d 1 /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\DisallowRun" /t REG_SZ /v 1 /d "%NAME%.exe" /f
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /t REG_DWORD /v "DisallowRun" /d 1 /f
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\DisallowRun" /t REG_DWORD /v "DisallowRun" /d 1 /f
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\DisallowRun" /t REG_SZ /v 1 /d "%NAME%.exe" /f

@rem    Удаляем параметры автозагрузки из каталога пользователя, если таковые есть

if exist "%STARTUP%\%NAME%.*" (
del /f /s /q "%STARTUP%\%NAME%.*"
)
if exist "%GUARDTEMP%\%NAME%.*" (
del /f /s /q "%GUARDTEMP%\%NAME%.*"
)

cls
@echo.
@echo.    %NAME% is removed !!!
@echo.       Good luck      !!!
@echo.
@echo.
@echo        with respect Zaprudnov Aleksey (BestAdmin)
@echo        http://www.rosvel.ru
@echo        admin@rosvel.ru
@echo.
@echo.
@echo.
@echo    after 10 seconds the window will close automatically

ping 127.0.0.1 -n 10>nul

goto :EOF

Тихая установка windows live и тихое удаление windows live

http://www.itninja.com/software/microsoft/windows-live-essential-2011/15-12

to silent install Windows Live essential use switchs like this :
wlsetup-all.exe/AppSelect:,! /q

/AppSelect:  select features you want to install


!      are features that should not be installed


/q mean silent installation


can be :



ALL                  (Full live essential)
Mail
PhotoGallery
OLC                  (Outlook Connector)
Messenger
Writer
MovieMaker
Companion            (Messenger Companion)
FamilySafety 
wlsync              (Live Mesh)
Bingbar
idcrl                (Live Sign in Assistant)


exemples :

Installing live mesh and live writer only :

wlsetup-all.exe/AppSelect:wlsync,Writer /q

Installing full package except bingbar and messenger :

wlsetup-all.exe/AppSelect:ALL,!messenger,!Bingbar /q


some useful additional options :

/log:  logging your installation

/noMU disable Windows Update

/noHomepage  prevent homepage to become Msn.com

/noLaunch prevent Messenger to launch just after installation as finished.

/noSearch prevent  your default search engin to be replaced by Bing.com

___________________________________________________________________________________

Used this command for silent uninstall:

"C:\Program Files (x86)\Windows Live\Installer\wlarp.exe" /uninstall: /quiet