DoctorDeploy.com - Das unabhängige Forum für Installation und Softwareverteilung Flattr this    


Doctor Deploy: software deployment, - distribution, repackaging, msi, windows installer, client management, installation, setup : forum - discussion boards 
  Search   •  RSS/Newsletter   •  Shop   •  Register  •  Profile  •  Log in to check your private messages  •  Log in
 Script zum sichern und zurueckspielen von Registry Keys !!! View next topic
View previous topic
Post new topicReply to topic
Author Message
bpreiss
Piccolo
Piccolo


Joined: 20 Sep 2004
Posts: 1
Location: Frankfurt * Germany

PostPosted: Mon, 20.Sep.2004, 17:18 Back to top

Hallo,
ich bin auf der Suche nach einem Script das mit ein paar Registry Keys speichert ........

Hintergedanke:
Ich habe ein batch geschrieben, der auf mehreren PC's div. ausfuehrbare Programme kopiert, remote werden dann die Windows AutoAdminLogon Reg. Eintraege geschrieben, in RUNOnce die batches eingetragen etc.

Da ich aber nicht weiss, wie z.B. der eigentliche Login vom user war, muesste ich, bevor ich die Registry remote abaendere ein script laufen lassen, was mir den gesamten LOGON KEY z.B. lokal sichert. Nachdem ich alles verteilt und installiert habe soll dann der Original KEY wieder eingepflegt werden. Sodass nach dem reboot der user sein normal Windows oder Novell Login Maske sieht.

Dies sollte unter W2K und XP funktionieren.
Bitte kein PERL etc. da es Windows STANDART PC' sind.
VB z.B. Smile

Es waere klasse, wenn mir hier einer von den Spezis weiter helfen koennte.
View user's profileSend private message
Joe
Imperial
Imperial


Joined: 12 Jul 2004
Posts: 11

PostPosted: Mon, 20.Sep.2004, 18:05 Back to top

mit Regedit lassen sich auch schlüsse exportieren
Code:
regedit.exe [ /L:system | /R:user] /E exportfile "regisry_key"


Hier gibt es weitere infos
www.robvanderwoude.com/regedit.html
(Link wurde korrigiert, Joe)


Joe


Last edited by Joe on Mon, 20.Sep.2004, 19:51; edited 2 times in total
View user's profileSend private message
bingen
Melchisedech
Melchisedech


Joined: 04 Jun 2004
Posts: 260
Location: 48°42' n.Br./09°09' ö.L.

PostPosted: Mon, 20.Sep.2004, 19:34 Back to top

bpreiss wrote:
Hallo,
ich bin auf der Suche nach einem Script das mit ein paar Registry Keys speichert ........


wenns ein script sein soll:

Code:

var WshShell = WScript.CreateObject("WScript.Shell")
bKey = WshShell.RegRead("HKCU\Software\Schnutzel\hudel\")
[..]
WshShell.RegWrite ("HKCU\Software\Schnutzel\hudel\foo", "bar", "REG_SZ")
View user's profileSend private message
AddThis Social Bookmark Button
Display posts from previous:      
Post new topicReply to topic


 Jump to:   



View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum





Italien italiens vielfalt genießen

Service provided by flatbyte.com :: Powered by phpBB :: FI Theme :: Imprint :: All times are GMT + 1 Hour