Moderators netgear Posted October 1, 2020 Moderators Share Posted October 1, 2020 Pulizia di Sistema, senza entrare nei dettagli, Completa... Da PowerShell come Amministratore digitare: Set-ExecutionPolicy Unrestricted e rispondere S: - Decomprimere il File Clean-WindowsImage.zip o per Windows 11 W11_Clean-WindowsImage.zip sul Desktop e avviamolo da quel percorso con il comando: ./Clean-WindowsImage.ps1 Inizierà la Pulizia: - - Attendiamo che l'operazione sia finita. Già che ci siamo azzeriamo anche il Registro Eventi: - Avviamo questo File come Amministratore Clean-Event.zip - Il nostro Sistema è pulito, l'operazione è come dovrebbe essere... 2 Link to comment Share on other sites More sharing options...
Supervisor fabiosun Posted October 1, 2020 Supervisor Share Posted October 1, 2020 buono per qualsiasi tipo di windows moderno? 1 Link to comment Share on other sites More sharing options...
Moderators netgear Posted October 1, 2020 Author Moderators Share Posted October 1, 2020 Per tutti :)... In sostanza sono le operazioni che si usano prima di chiudere un file di Immagine .WIM, ed averlo, dopo modificato, scremato al massimo... 1 Link to comment Share on other sites More sharing options...
Moderators netgear Posted October 1, 2020 Author Moderators Share Posted October 1, 2020 In alcuni casi ci può volere anche Mezzora... 1 1 Link to comment Share on other sites More sharing options...
marco.pisellonio80 Posted October 7, 2022 Share Posted October 7, 2022 Ciao Netgear. Sono sul tuo W11. Mi dice: ./Clean-WindowsImage.ps1' non riconosciuto come nome di cmdlet, funzione, programma eseguibile o file script. Controllare l'ortografia del nome o verificare che il percorso sia incluso e corretto, quindi riprovare. Mentre prima il comando Set-ExecutionPolicy Unrestricted è andato bene Link to comment Share on other sites More sharing options...
Moderators netgear Posted October 7, 2022 Author Moderators Share Posted October 7, 2022 Si lavora correttamente fino a Windows 10, forse manca un modulo sull'11 o va rivisto lo script... Link to comment Share on other sites More sharing options...
marco.pisellonio80 Posted October 8, 2022 Share Posted October 8, 2022 Grazie. Cercherò qualcosa online, eventualmente commenterò qui. Link to comment Share on other sites More sharing options...
Moderators netgear Posted October 8, 2022 Author Moderators Share Posted October 8, 2022 1 hour ago, marco.pisellonio80 said: Grazie. Cercherò qualcosa online, eventualmente commenterò qui. Ho corretto lo script per Windows 11, lo sto testando: - 1 Link to comment Share on other sites More sharing options...
marco.pisellonio80 Posted October 8, 2022 Share Posted October 8, 2022 Grazie! Ci speravo, ma mi sembrava brutto chiedere, con tutto quello che uno ha da fare. Allora aspetto i test Link to comment Share on other sites More sharing options...
Moderators netgear Posted October 8, 2022 Author Moderators Share Posted October 8, 2022 15 minutes ago, marco.pisellonio80 said: Grazie! Ci speravo, ma mi sembrava brutto chiedere, con tutto quello che uno ha da fare. Allora aspetto i test Si si va bene, funziona correttamente: - Link to comment Share on other sites More sharing options...
marco.pisellonio80 Posted October 8, 2022 Share Posted October 8, 2022 Alla grande! Grazie. Non so se è importante ma ho letto che abilitare Set-ExecutionPolicy Unrestricted consente a chiunque di eseguire script, per cui forse dopo aver eseguito lo script converrebbe settare Set-ExecutionPolicy Restricted se pensi sia importante Link to comment Share on other sites More sharing options...
Moderators netgear Posted October 8, 2022 Author Moderators Share Posted October 8, 2022 13 minutes ago, marco.pisellonio80 said: Alla grande! Grazie. Non so se è importante ma ho letto che abilitare Set-ExecutionPolicy Unrestricted consente a chiunque di eseguire script, per cui forse dopo aver eseguito lo script converrebbe settare Set-ExecutionPolicy Restricted se pensi sia importante Quello come preferisci, io lascio S, magari a livello Aziendale, ma nel caso di un privato :)... - Qui c'è la descrizione: - informazioni sui criteri di esecuzione - PowerShell | Microsoft Learn 1 Link to comment Share on other sites More sharing options...
marco.pisellonio80 Posted October 8, 2022 Share Posted October 8, 2022 Non funziona. Ho visto che il file si chiama allo stesso modo, a differenza dell'archivio .zip. Non è che per errore hai caricato lo stesso di W10? Link to comment Share on other sites More sharing options...
Moderators netgear Posted October 8, 2022 Author Moderators Share Posted October 8, 2022 19 minutes ago, marco.pisellonio80 said: Non funziona. Ho visto che il file si chiama allo stesso modo, a differenza dell'archivio .zip. Non è che per errore hai caricato lo stesso di W10? No è quello giusto. Non fa che vuol dire, su che versione di 11 sei..? 1 Link to comment Share on other sites More sharing options...
marco.pisellonio80 Posted October 8, 2022 Share Posted October 8, 2022 Quello che hai caricato tu il 23 agosto, questo: "Preinstallazione rdr 5,47 GB Windows 11 22H2, 22621.575. unattend con utente locale Admin." Ovviamente in seguito si è aggiornato Link to comment Share on other sites More sharing options...
Moderators netgear Posted October 8, 2022 Author Moderators Share Posted October 8, 2022 2 minutes ago, marco.pisellonio80 said: Quello che hai caricato tu il 23 agosto, questo: "Preinstallazione rdr 5,47 GB Windows 11 22H2, 22621.575. unattend con utente locale Admin." Ovviamente in seguito si è aggiornato Allora è la stessa mia, ho usato l'ultima versione 608, ma che dice non avvia lo script..? Link to comment Share on other sites More sharing options...
Moderators netgear Posted October 8, 2022 Author Moderators Share Posted October 8, 2022 REC.mp4 Link to comment Share on other sites More sharing options...
marco.pisellonio80 Posted October 8, 2022 Share Posted October 8, 2022 Esce questa schermata ovviamente il file è sul desktop Link to comment Share on other sites More sharing options...
Moderators netgear Posted October 8, 2022 Author Moderators Share Posted October 8, 2022 Si ma se non vai sul percorso, sei in System32 devi andare sul Desktop o dare il percorso, guarda il video. Link to comment Share on other sites More sharing options...
marco.pisellonio80 Posted October 8, 2022 Share Posted October 8, 2022 niente, da terminale non mi fa andare al desktop Link to comment Share on other sites More sharing options...
marco.pisellonio80 Posted October 8, 2022 Share Posted October 8, 2022 Sta andando, ma ho dovuto mettere il file in System 32, non c'è stato altro verso Link to comment Share on other sites More sharing options...
marco.pisellonio80 Posted October 8, 2022 Share Posted October 8, 2022 Niente da fare! Si è bloccato e l'ho rilanciato, ma la seconda volta non parte. Ho anche ricopiato il file in System 32, per sicurezza Link to comment Share on other sites More sharing options...
Moderators netgear Posted October 8, 2022 Author Moderators Share Posted October 8, 2022 No sbagli a muoverti sul terminale, metti il file sul desktop, se hai l'utente Admin, usi Admin, altrimenti il nome che hai dato. Cmq, da PowerShell cd c:\Users\Admin\Desktop\ E sei sul Desktop, ora lanci lo script: - Link to comment Share on other sites More sharing options...
marco.pisellonio80 Posted October 8, 2022 Share Posted October 8, 2022 Ha funzionato, grazie 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now