PDA

View Full Version : Modificare regedit


teeodor
09-03-2008, 10:04
Salve a tutti!
Visto la rottura e la perdita di tempo che ci vuole ogni volta che si formatta,esiste un modo per creare un file che lanciato fa in automatico le classiche modifiche al registro?
Per esempio per fare questa:
WaitToKillAppTimeout Aprite il registro (Start/Esegui e scrivere “regedit”) e navigate fino

a trovare la chiave [HKEY_CURRENT_USER\Control Panel\Desktop]

Cambiate il valore della stringa WaitToKillAppTimeout a 3000 (default 20000);
Oppure,mettiamo il caso che la stringa waittokillapptimeout non fosse esistita come avrei fatto per crearla?

In teoria si fa cos์ ma non mi modifica nulla
[HKEY_CURRENT_USER\Control Panel\Desktop]
"WaitToKillAppTimeout"="600"

Grazie a tutti!

teeodor
09-03-2008, 10:46
Ok trovato,facevo giusto ma all'inizio del file bisogna mettere
Windows Registry Editor Version 5.00

Un'ultima cosa,come posso metterci i commenti?

hibone
09-03-2008, 11:20
Ok trovato,facevo giusto ma all'inizio del file bisogna mettere
Windows Registry Editor Version 5.00

Un'ultima cosa,come posso metterci i commenti?

uhm... editare il file di registro tramite batch!?
่ tutto sulla guida in linea...

teeodor
09-03-2008, 12:25
Io l'ho fatto con un .reg.
Dici la guida in linea di windows?
L'unica cosa che mi serve ่ trovare come fare i commenti.
Ci vorranno le paragrafe?

Angelus88
09-03-2008, 17:04
Prova a scrivere il commento tra due cancelletti:

# Commento #

oppure dopo un solo cancelletto

# Commento

kub9001
10-03-2008, 12:19
REGEDIT.EXE imports and exports registry files to and from the registry. Usage:

REGEDIT [/L:system] [/R:user] filename1
REGEDIT [/L:system] [/R:user] /C filename2
REGEDIT [/L:system] [/R:user] /E filename3 [regpath1]
REGEDIT [/L:system] [/R:user] /D regpath2

/L:system – Specifies the location of the SYSTEM.DAT file.

/R:user – Specifies the location of the USER.DAT file.

filename1 – Specifies the file(s) to import into the registry.

/C filename2 – Specifies the file to create the registry from.

/E filename3 – Specifies the file to export the registry to.

regpath1 – Specifies the starting registry key to export from. (Defaults to exporting the entire registry.)

/D regpath2 – Specifies the registry key to delete. [Win98/ME only]

/S – UNDOCUMENTED [USE WITH CAUTION];

Angelus88
10-03-2008, 13:00
REGEDIT.EXE imports and exports registry files to and from the registry. Usage:

REGEDIT [/L:system] [/R:user] filename1
REGEDIT [/L:system] [/R:user] /C filename2
REGEDIT [/L:system] [/R:user] /E filename3 [regpath1]
REGEDIT [/L:system] [/R:user] /D regpath2

/L:system – Specifies the location of the SYSTEM.DAT file.

/R:user – Specifies the location of the USER.DAT file.

filename1 – Specifies the file(s) to import into the registry.

/C filename2 – Specifies the file to create the registry from.

/E filename3 – Specifies the file to export the registry to.

regpath1 – Specifies the starting registry key to export from. (Defaults to exporting the entire registry.)

/D regpath2 – Specifies the registry key to delete. [Win98/ME only]

/S – UNDOCUMENTED [USE WITH CAUTION];

Questo post ่ inutile, si vede che non hai capito la domanda

kub9001
10-03-2008, 14:17
Questo post ่ inutile, si vede che non hai capito la domanda

Evitando un flame...
nella mia precedente risposta c'e' scritto tutto quello che serve sapere

Salvati in uno o piu file di registro le tue impostazioni...
Crea un bel file .bat/.cmd e usa il regedit da command line.

@regedit /s Angelus88.reg

lancia il file batch dopo il ripristino del sistema


PS. se la chiave non esiste, viene automaticamente creata, per rimuovere dell voci utilizza la sintassi ben documentata da microsoft

esempio:
[HKEY_CLASSES_ROOT\.dummy] --> crea la voce

[-HKEY_CLASSES_ROOT\.dummy] --> elimina la voce

Angelus88
10-03-2008, 14:22
Ecco lo vedi, allora sei duro e continui a non capire!!

Sappiamo benissimo come si aggiunge un file di registro, anche in modo automatico. Qui si parlava invece di scrivere manualmente le chiavi da inserire nel file reg e in particolar modo come poter aggiungere i commenti, se si pu๒

kub9001
10-03-2008, 14:30
a ben 9966 post il tuo tono e' arrogante, strano come la gente possa aiutarti.

"esiste un modo per creare un file che lanciato fa in automatico le classiche modifiche al registro"

creato a manina via regedit->esporta + edit
lanciato via batch

Angelus88
10-03-2008, 14:33
Il secondo post di questo topic dice:

Ok trovato,facevo giusto ma all'inizio del file bisogna mettere
Windows Registry Editor Version 5.00

Un'ultima cosa,come posso metterci i commenti?

Il quarto post dice:

L'unica cosa che mi serve ่ trovare come fare i commenti.

Ora hai capito?

E comunque per tua informazione, sono io che aiuto in questo forum. Dei miei 9968 post, solo una decina saranno le domande.
Quindi non parlare troppo tu con i tuoi miseri 16 post :asd: ovvio che adesso sto facendo una battuta

kub9001
10-03-2008, 14:40
miseri sono miseri, ma cio' non toglie che c'e' modo e modo nel rispondere.

cmq.. per tua informazione il commento nei .reg va fatto con il ;punto e virgola


;This deletes the key Subkey2
[-HKEY_CURRENT_USER\Key\Subkey2]
....

Angelus88
10-03-2008, 14:41
cmq.. per tua informazione il commento nei .reg va fatto con il ;punto e virgola

Perfetto grazie, potevi rispondere in questo modo ed evitare tutto questo casino

teeodor
10-03-2008, 18:44
il commento nei .reg va fatto con il ;punto e virgola

;This deletes the key Subkey2
[-HKEY_CURRENT_USER\Key\Subkey2]
....

Ok,grazie mille!
..a TUTTI ovviamen.!:D te