Jump to content

techsup1983

Members
  • Posts

    42
  • Joined

  • Last visited

Everything posted by techsup1983

  1. Hello. This is the script that I use for removing version 10. But it can be used for any version. You can copy/paste it into a batch script. @[u][url="http://www.edugeek.net/member.php?u=17942"]Rem[/url][/u] Batch file to remove RMS, SAU, SCF and SAV sufficiently to allow re-installation via reprotect @set ScriptVersion=1.4 @[u][url="http://www.edugeek.net/member.php?u=17942"]Rem[/url][/u] @[u][url="http://www.edugeek.net/member.php?u=17942"]Rem[/url][/u] Return codes: @[u][url="http://www.edugeek.net/member.php?u=17942"]Rem[/url][/u] 0 : Removal process completed, no reboot required. @[u][url="http://www.edugeek.net/member.php?u=17942"]Rem[/url][/u] 1 : Removal process completed, reboot required. @[u][url="http://www.edugeek.net/member.php?u=17942"]Rem[/url][/u] 2 : Administrator privileges required. @[u][url="http://www.edugeek.net/member.php?u=16971"]echo[/url][/u] off setlocal call :SetLogFile echo %DATE% %TIME% > %LogFile% call :echo RemSHH version %ScriptVersion% call :echo Log file location: call :echo %LogFile% rem Must be an administrator NET SESSION >nul 2>nul if ERRORLEVEL 1 ( call :echoNewLine call :echo Administator privileges are required to run this script. endlocal exit /B 2 ) set ProgramDir=%ProgramFiles(x86)% if "%ProgramFiles(x86)%" == "" set ProgramDir=%ProgramFiles% call :echo Removing Sophos Remote Management System call :RemRMS >>%LogFile% 2>>&1 call :echo Removing Sophos AutoUpdate call :RemSAU >>%LogFile% 2>>&1 call :echo Removing Sophos Client Firewall call :RemSCF >>%LogFile% 2>>&1 call :echo Removing Sophos Anti-Virus call :RemSAV >>%LogFile% 2>>&1 call :echoNewLine call :echo Removal process complete set rebootRequired=0 if exist "%Windir%\Temp\SophosRebootTest.txt" set rebootRequired=1 if exist "%Windir%\Temp\SophosNoupgrade.txt" set rebootRequired=1 if %rebootRequired%==1 ( call :echoNewLine call :echo A restart is required before re-installing Sophos Anti-Virus. endlocal exit /B 1 ) endlocal exit /B 0 :echoNewLine echo. echo. >>%LogFile% 2>>&1 goto :EOF :echo echo %* echo %* >>%LogFile% 2>>&1 goto :EOF :SetLogFile set BaseLogName=%TEMP%\SophosForceRemove_%RANDOM% set LogFile="%BaseLogName%_Log.txt" goto :EOF rem Remove RMS 2.0 & 3.2 + :RemRMS echo on MsiExec.exe /X{FF11005D-CBC8-45D5-A288-25C7BB304121} /qn rebootyesno="no" reboot="supress" /lv* "%BaseLogName%_UninstallRMS2.txt" MsiExec.exe /X{FED1005D-CBC8-45D5-A288-FFC7BB304121} /qn rebootyesno="no" reboot="supress" /lv* "%BaseLogName%_UninstallRMS3.txt" net stop "Sophos Agent" net stop "Sophos Message Router" taskkill /F /IM ManagementAgentNT.exe taskKill /F /IM RouterNT.exe taskKill /F /IM ClientMRInit.exe taskKill /F /IM AutoUpdateAgentNT.exe taskKill /F /IM EMLibUpdateAgentNT.exe rd "%ProgramDir%\Sophos\Remote Management System" /s /q call :DelRegKey "HKEY_LOCAL_MACHINE\SOFTWARE\Sophos\Remote Management System" call :DelRegKey "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Sophos\Remote Management System" call :RemMSIReg FF11005D-CBC8-45D5-A288-25C7BB304121 D50011FF8CBC5D542A88527CBB031412 call :RemMSIReg FED1005D-CBC8-45D5-A288-FFC7BB304121 D5001DEF8CBC5D542A88FF7CBB031412 echo off goto :EOF rem SAU 2.x :RemSAU echo on MsiExec.exe /X{15C418EB-7675-42be-B2B3-281952DA014D} /qn rebootyesno="no" reboot="supress" /lv* "%BaseLogName%_UninstallSAU2.txt" net stop "Sophos AutoUpdate Service" taskkill /F /IM alsvc.exe taskkill /F /IM almon.exe taskkill /F /IM ALUpdate.exe rd "%ProgramDir%\Sophos\AutoUpdate" /s /q rd "%AllUsersProfile%\Sophos\AutoUpdate" /s /q call :DelRegKey "HKEY_LOCAL_MACHINE\SOFTWARE\Sophos\AutoUpdate" call :DelRegKey "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Sophos\AutoUpdate" call :RemMSIReg 15C418EB-7675-42be-B2B3-281952DA014D BE814C515767eb242B3B829125AD10D4 echo off goto :EOF rem Firewall SCF 1.5 & 2.5+ :RemSCF echo on MsiExec.exe /X{17071117-5BB2-4737-B05B-C5FABD367313} /qn rebootyesno="no" reboot="supress" /lv* "%BaseLogName%_UninstallSCF15.txt" MsiExec.exe /X{12C00299-B8B4-40D3-9663-66ABEA3198AB} /qn rebootyesno="no" reboot="supress" /lv* "%BaseLogName%_UninstallSCF25.txt" net stop "Sophos Client Firewall" net stop "Sophos Client Firewall Manager" taskkill /F /IM SCFService.exe taskkill /F /IM SCFManager.exe taskkill /F /IM DriverHelper_x64.exe taskkill /F /IM op_viewer.exe rd "%ProgramDir%\Sophos\Sophos Client Firewall" /s /q call :DelRegKey "HKEY_LOCAL_MACHINE\SOFTWARE\Sophos\Sophos Client Firewall" call :DelRegKey "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Sophos\Sophos Client Firewall" call :RemMSIReg 17071117-5BB2-4737-B05B-C5FABD367313 711170712BB573740BB55CAFDB633731 call :RemMSIReg 12C00299-B8B4-40D3-9663-66ABEA3198AB 99200C214B8B3D04693666BAAE1389BA echo off goto :EOF Rem SAV 7.x & 9.x & 10.0.x :RemSAV rem keep old log echo on copy "%ALLUSERSPROFILE%\Application Data\Sophos\Sophos Anti-Virus\Logs\sav.txt" "%ALLUSERSPROFILE%\Application Data\Sophos\Sophos Anti-Virus\Logs\removal-backup-txt" /Y copy "%ALLUSERSPROFILE%\Application Data\Sophos\Sophos Anti-Virus\Logs\sav.txt" "%BaseLogName%_SAVlog.txt" /Y if exist "%Windir%\Temp\SophosRebootTest.txt" ( set rebootfileexists=1 ) else ( set rebootfileexists=0 ) MsiExec.exe /X{034759DA-E21A-4795-BFB3-C66D17FAD183} /qn rebootyesno="no" reboot="ReallySuppress" UNINSTALLDRIVERS="0" UNINSTALLCLASSFILTER="0" UNINSTALLBOOTDRIVERS="1" UNINSTALLKMSDRIVERS="1" CHECKFORSCF="0" /lv* "%BaseLogName%_UninstallSAV7.txt" MsiExec.exe /X{9ACB414D-9347-40B6-A453-5EFB2DB59DFA} /qn rebootyesno="no" reboot="ReallySuppress" UNINSTALLDRIVERS="0" UNINSTALLCLASSFILTER="0" UNINSTALLBOOTDRIVERS="1" UNINSTALLKMSDRIVERS="1" CHECKFORSCF="0" /lv* "%BaseLogName%_UninstallSAV9.txt" if rebootfileexists==0 ( del "%Windir%\Temp\SophosRebootTest.txt" ) net stop "SAVService" net stop "SAVAdminSerivce" net stop "Sophos Web Control Service" net stop "swi_service" net stop "Sophos Device Control Service" net stop "Sophos Web Intelligence Update" taskkill /F /IM SAVService.exe taskkill /F /IM SAVAdminService.exe taskkill /F /IM swc_service.exe taskkill /F /IM swi_service.exe taskkill /F /IM sdcservice.exe taskkill /F /IM SavMain.exe taskkill /F /IM SavProgress.exe taskkill /F /IM SavProxy.exe taskkill /F /IM sdcdevcon.exe taskkill /F /IM WSCClient.exe taskkill /F /IM BackgroundScanClient.exe taskkill /F /IM sav32cli.exe taskkill /F /IM native.exe rd "%ProgramDir%\Sophos\Sophos Anti-Virus" /s /q call :DelRegKey "HKEY_LOCAL_MACHINE\SOFTWARE\Sophos\SAVService" call :DelRegKey "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Sophos\SAVService" call :RemMSIReg 034759DA-E21A-4795-BFB3-C66D17FAD183 AD957430A12E5947FB3B6CD671AF1D38 call :RemMSIReg 9ACB414D-9347-40B6-A453-5EFB2DB59DFA D414BCA974396B044A35E5BFD25BD9AF copy "%ALLUSERSPROFILE%\Application Data\Sophos\Sophos Anti-Virus\Logs\removal-backup-txt" "%ALLUSERSPROFILE%\Application Data\Sophos\Sophos Anti-Virus\Logs\sav.txt" /Y echo off goto :EOF :RemMSIReg call :DelRegKey "HKEY_CLASSES_ROOT\Installer\Products\%2" call :DelRegKey "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\%2" call :DelRegKey "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{%1}" call :DelRegKey "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{%1}" goto :EOF :DelRegKey echo REGEDIT4 > "%TEMP%\SophosRemSSHRegFile.tmp" echo. >> "%TEMP%\SophosRemSSHRegFile.tmp" echo [-%~1] >> "%TEMP%\SophosRemSSHRegFile.tmp" regedit /S "%TEMP%\SophosRemSSHRegFile.tmp" del "%TEMP%\SophosRemSSHRegFile.tmp" goto :EOF
  2. I found the sections here really helpful in relating to Prompt for a computer name in unattend.xml Sysprep a Windows 7 Machine
  3. Hello. I would read about Exchange 2010 Server - ExPBA (Best Practice Analyzer) and give it a try. Microsoft Exchange Server 2010 - ExBPA (Exchange Best Practice Analyzer) Taken from the above link. Health Check The health check will warn you about any weaknesses on your Exchange server. Perhaps BPA's greatest strength is to alert you to those problems, which although not serious in themselves, will collectively slow down your server. Once ExBPA identifies an 'Issue', it gives you details, not only about the problem, but even better, on the solutions. Unless you have tried ExBPA, it's hard for me to put over just how many tests it can do, and therefore how much time ExBPA will save you in analyzing an Exchange Server's performance. In a word its - awesome.
  4. I believe you can do this in two locations. Microsoft Office Customization Tool Modify user settings > Microsoft Office 2010 > Privacy > Trust center > Disable opt-in wizard on first run This is also available with the Office 2010 ADM/ADMX group policy administrative templates. User Configuration > Policies > Administrative Templates > Microsoft Office 2010 > Privacy > Trust Center > Disable Opt-in Wizard on first run Download Office 2010 Administrative Templates and OCT download from Official Microsoft Download Center
  5. Hello. You can use GPMC and use Group Policy Results to check which policies are applied to a computer. I have attached a screenshot that shows where abouts in a policy the settings are.
  6. Hello. I am trying to set up shared contacts in outlook 2010 for our whole 'Technology' department. This is a combination of different sub departments. So Far I have created the account which hosts the shared contacts, and gave the relevant permissions to add the shared contacts folder to the selected users. To further organise this I would like to have each subset of the technology departments groups in separate contact lists. I would like our end users just to add one group which will then contain the sub groups and not add each sub group in individually. I have attached two pictures which will show what im trying to do. One is something I edited in mspaint. Thanks in advanced. This is what I currently have. This is what I would like.
  7. Do you have the WSUS GPO's attached to the OU with computer accounts in?
  8. If its not a Domain Group policy that is causing this then here is another thing to try. The Desktop tab does not appear in the Display Properties dialog box in Windows XP 1.Open Group Policy Editor by typing "gpedit.msc" in the Open: line of Run on the Start Menu. 2.Navigate to User Configuration | Administrative Templates | Windows Components | Windows Explorer 3.In the right pane, double click on Turn On Classic Shell 4.Set the radio button to Not Configured then click OK
  9. run gpresult from a command prompt on the XP machine, then use GPMC to find the policy.
  10. I once came across something similar to this and my fix was these two polices: Computer Configuration> Policies> Administrative Templates> Point and Print Restrictions User Configuration> Policies> Administrative Templates> Control Panel> Printers> Point and Print Restrictions
  11. Hello, connect the USB drive and look in disk management, diskmgmt.msc then try and change it's auto assigned letter.
  12. Just a thought, but have you got a laptop and a known working vga cable? You can connect it directly to the projector and then eliminate one element that is known to cause purple screen, a faulty vga cable.
  13. Hello. You can use the OCT and there is a section to apply a outlook prf which will auto configure outlook when first opened. Then the .msp can be deployed to the target computers via gpo. Deploy Outlook mail profile settings via GPO or script - HowTo-Outlook | HowTo-Outlook I would try this on a test OU first.
×
×
  • Create New...