-
-
Save gioxx/8c2cc2d6c13919b1b1a3 to your computer and use it in GitHub Desktop.
Corregge l'errore di Office: "This operation has been cancelled due to restrictions in effect on this computer."
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
cls | |
echo "This operation has been cancelled due to restrictions in effect on this computer" | |
echo Fix valido per Microsoft Office 2007/2010 su Windows Xp o superiore. | |
echo (Test effettuati su configurazione Win7 con Office 2010) | |
echo GSolone feb.2012 | |
echo; | |
echo ATTENZIONE: | |
echo SALVARE IL PROPRIO LAVORO E CHIUDERE TUTTE LE FINESTRE DEI SOFTWARE OFFICE APERTE PRIMA DI CONTINUARE! | |
echo; | |
pause | |
:CHIUSURAPROGRAMMI | |
echo Verifica e chiusura processi Office ... | |
echo; | |
taskkill /IM WINWORD.EXE /F | |
if errorlevel 1 echo Processo gia' chiuso, procedo. | |
echo; | |
taskkill /IM EXCEL.EXE /F | |
if errorlevel 1 echo Processo gia' chiuso, procedo. | |
echo; | |
:RIPRISTINOREGISTRO | |
echo Ripristino valori chiavi di registro ... | |
REG ADD HKEY_CURRENT_USER\Software\Classes\.htm /ve /d htmlfile /f | |
REG ADD HKEY_CURRENT_USER\Software\Classes\.html /ve /d htmlfile /f | |
REG ADD HKEY_CURRENT_USER\Software\Classes\.shtml /ve /d htmlfile /f | |
REG ADD HKEY_CURRENT_USER\Software\Classes\.xht /ve /d htmlfile /f | |
REG ADD HKEY_CURRENT_USER\Software\Classes\.xhtml /ve /d htmlfile /f | |
echo; | |
echo Impostare ora Internet Explorer come predefinito, quindi riprovare a selezionare uno dei collegamenti ipertestuali non funzionanti prima dell'applicazione di questo fix. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment