Top-Themen

AppleEntwicklungHardwareInternetLinuxMicrosoftMultimediaNetzwerkeOff TopicSicherheitSonstige SystemeVirtualisierungWeiterbildungZusammenarbeit

Aktuelle Themen

Administrator.de FeedbackApache ServerAppleAssemblerAudioAusbildungAuslandBackupBasicBatch & ShellBenchmarksBibliotheken & ToolkitsBlogsCloud-DiensteClusterCMSCPU, RAM, MainboardsCSSC und C++DatenbankenDatenschutzDebianDigitiales FernsehenDNSDrucker und ScannerDSL, VDSLE-BooksE-BusinessE-MailEntwicklungErkennung und -AbwehrExchange ServerFestplatten, SSD, RaidFirewallFlatratesGoogle AndroidGrafikGrafikkarten & MonitoreGroupwareHardwareHosting & HousingHTMLHumor (lol)Hyper-VIconsIDE & EditorenInformationsdiensteInstallationInstant MessagingInternetInternet DomäneniOSISDN & AnaloganschlüsseiTunesJavaJavaScriptKiXtartKVMLAN, WAN, WirelessLinuxLinux DesktopLinux NetzwerkLinux ToolsLinux UserverwaltungLizenzierungMac OS XMicrosoftMicrosoft OfficeMikroTik RouterOSMonitoringMultimediaMultimedia & ZubehörNetzwerkeNetzwerkgrundlagenNetzwerkmanagementNetzwerkprotokolleNotebook & ZubehörNovell NetwareOff TopicOpenOffice, LibreOfficeOutlook & MailPapierkorbPascal und DelphiPeripheriegerätePerlPHPPythonRechtliche FragenRedHat, CentOS, FedoraRouter & RoutingSambaSAN, NAS, DASSchriftartenSchulung & TrainingSEOServerServer-HardwareSicherheitSicherheits-ToolsSicherheitsgrundlagenSolarisSonstige SystemeSoziale NetzwerkeSpeicherkartenStudentenjobs & PraktikumSuche ProjektpartnerSuseSwitche und HubsTipps & TricksTK-Netze & GeräteUbuntuUMTS, EDGE & GPRSUtilitiesVB for ApplicationsVerschlüsselung & ZertifikateVideo & StreamingViren und TrojanerVirtualisierungVisual StudioVmwareVoice over IPWebbrowserWebentwicklungWeiterbildungWindows 7Windows 8Windows 10Windows InstallationWindows MobileWindows NetzwerkWindows ServerWindows SystemdateienWindows ToolsWindows UpdateWindows UserverwaltungWindows VistaWindows XPXenserverXMLZusammenarbeit

fragen zur firefox gpo-einrichtung

Frage Internet

Mitglied: an-wei

an-wei (Level 1) - Jetzt verbinden

12.11.2008, aktualisiert 14.11.2008, 3633 Aufrufe, 3 Kommentare

hallo zusammen,
ich habe bei uns den firefox 3.0.3 ueber eine gruppenrichtlinie verteilt (adm+vbs-script). soweit alles gut und es hat auch alles geklappt. dazu habe ich zwei fragen.

nach der verteilung ist es jedoch so, das die option 'passwörter speichern' ausgegraut ist und der user nicht selbst entscheiden kann, ob er seine passwoerter speichern moechte.

25547b0ba555a91513d360f96cff6197-ff-pass - Klicke auf das Bild, um es zu vergrößern

jetzt meine frage; wie kann ich wo einstellen, das das feld nicht mehr ausgegraut ist.
die zweite frage ist, ob ich zertifikate die der firefox nutzen soll, per gruppenrichtlinie verteilen kann.


server: w2k3 / clients: win xp

zum einsatz kommen diese gruppenrichtline gruppenrichtlinien.de und das unten aufgefuehrte vbs-script.

01.
' FirefoxADM 
02.
 
03.
' create shell instance 
04.
set WshShell = WScript.CreateObject("WScript.Shell") 
05.
 
06.
' create file object instances 
07.
set fso = CreateObject("Scripting.FileSystemObject") 
08.
 
09.
' variables I'll be needing later 
10.
Const ForReading = 1, ForWriting = 2, ForAppending = 8 
11.
Dim FirefoxProfilePath, FirefoxPrefsFile, FirefoxProfileFolder, FirefoxProfiles 
12.
Dim FirefoxFolder, PrefsFile 
13.
Dim ParsePrefsFile, ParseOutPrefsFile 
14.
Dim FolderCreate, FirefoxProfileIniFile, FirefoxEmptyPrefsFile 
15.
' and this list needed for each feature 
16.
Dim HomePageKey, SearchEngineKey, ImageResizeKey, ProxyKey, ProxyURLKey 
17.
Dim HTTPKey, HTTPPortKey, SSLKey, SSLPortKey, FTPKey, FTPPortKey 
18.
Dim GopherKey, GopherPortKey, SOCKSKey, SOCKSPortKey, SOCKSVersionKey, ProxyExceptionsKey, ExceptionSplit 
19.
Dim FirefoxUseIEKey, IESettingFile, ParseFileLine, ParseSplitLine, ParseSplitSetting, SameProxy 
20.
Dim NetscapeJscFile, FirefoxJsFile 
21.
 
22.
on error resume next  
23.
 
24.
set EnVar = Wshshell.environment("Process") 
25.
FirefoxPrefsFile = EnVar("ProgramFiles") & "\Mozilla Firefox\defaults\autoconfig\prefcalls.js" 
26.
NetscapeJscFile = EnVar("ProgramFiles") & "\Mozilla Firefox\netscape.jsc" 
27.
FirefoxJsFile = EnVar("ProgramFiles") & "\Mozilla Firefox\defaults\pref\firefox.js" 
28.
 
29.
 
30.
' check for the Netscape locking file 
31.
if fso.FileExists(NetscapeJscFile) then 
32.
	' do nothing 
33.
else 
34.
	' create locking file 
35.
	Set NetscapeJscFileSet = fso.OpenTextFile(NetscapeJscFile, ForWriting, True) 
36.
  	NetscapeJscFileSet.Write("created by FirefoxADM") 
37.
	NetscapeJscFileSet.Close 
38.
end if 
39.
 
40.
RemoveConfigSetting() 
41.
 
42.
' add in netscape.jsc locking variable 
43.
Set FirefoxJsFileSet = fso.OpenTextFile(FirefoxJsFile, ForAppending) 
44.
FirefoxJsFileSet.Write(vbCrLf & "pref(" & chr(34) & "general.config.filename" & chr(34) & "," & chr(34) & "netscape.jsc" & chr(34) & ");") 
45.
FirefoxJsFileSet.Close 
46.
 
47.
 
48.
 
49.
' homepage setting 
50.
if FirefoxUseIEKey <> "1" then  
51.
	HomePageKey = WshShell.regread("HKLM\Software\Policies\Firefox\FirefoxHomepage") 
52.
end if 
53.
if HomePageKey <> "" then 
54.
	RemoveCurrentPrefsFromFile("browser.startup.homepage") 
55.
	set HomePageSet = AppendPrefsToFile("browser.startup.homepage", chr(34) & HomePageKey & chr(34)) 
56.
end if 
57.
 
58.
' Automatic Image Resizing 
59.
ImageResizeKey = WshShell.regread("HKLM\Software\Policies\Firefox\ImageResize") 
60.
if ImageResizeKey <> "" then 
61.
	RemoveCurrentPrefsFromFile("browser.enable_automatic_image_resizing") 
62.
	if ImageResizeKey = "0" then 
63.
		set SearchEngineSet = AppendPrefsToFile("browser.enable_automatic_image_resizing", "false") 
64.
	else 
65.
		set SearchEngineSet = AppendPrefsToFile("browser.enable_automatic_image_resizing", "true") 
66.
	end if 
67.
end if 
68.
		 
69.
 
70.
' Proxy Settings 
71.
ProxyKey = WshShell.regread("HKLM\Software\Policies\Firefox\FirefoxProxy") 
72.
ProxyURLKey = WshShell.regread("HKLM\Software\Policies\Firefox\FirefoxAutoProxyURL") 
73.
HTTPKey = WshShell.regread("HKLM\Software\Policies\Firefox\FirefoxManualHTTP") 
74.
HTTPPortKey = WshShell.regread("HKLM\Software\Policies\Firefox\FirefoxManualHTTPPort") 
75.
SSLKey = WshShell.regread("HKLM\Software\Policies\Firefox\FirefoxManualSSL") 
76.
SSLPortKey = WshShell.regread("HKLM\Software\Policies\Firefox\FirefoxManualSSLPort") 
77.
FTPKey = WshShell.regread("HKLM\Software\Policies\Firefox\FirefoxManualFTP") 
78.
FTPPortKey = WshShell.regread("HKLM\Software\Policies\Firefox\FirefoxManualFTPPort") 
79.
GopherKey = WshShell.regread("HKLM\Software\Policies\Firefox\FirefoxManualGopher") 
80.
GopherPortKey = WshShell.regread("HKLM\Software\Policies\Firefox\FirefoxManualGopherPort") 
81.
SOCKSKey = WshShell.regread("HKLM\Software\Policies\Firefox\FirefoxManualSOCKS") 
82.
SOCKSPortKey = WshShell.regread("HKLM\Software\Policies\Firefox\FirefoxManualSOCKSPort") 
83.
ProxyExceptionsKey = WshShell.regread("HKLM\Software\Policies\Firefox\FirefoxProxyExceptions") 
84.
if ProxyKey <> "" then 
85.
	SOCKSVersionKey = WshShell.regread("HKLM\Software\Policies\Firefox\FirefoxManualSOCKSVersion") 
86.
	removeCurrentPrefsFromFile("network.proxy.type") 
87.
	removeCurrentPrefsFromFile("network.proxy.autoconfig_url") 
88.
	removeCurrentPrefsFromFile("network.proxy.http") 
89.
	removeCurrentPrefsFromFile("network.proxy.http_port") 
90.
	removeCurrentPrefsFromFile("network.proxy.ssl") 
91.
	removeCurrentPrefsFromFile("network.proxy.ssl_port") 
92.
	removeCurrentPrefsFromFile("network.proxy.ftp") 
93.
	removeCurrentPrefsFromFile("network.proxy.ftp_port") 
94.
	removeCurrentPrefsFromFile("network.proxy.gopher") 
95.
	removeCurrentPrefsFromFile("network.proxy.gopher_port") 
96.
	removeCurrentPrefsFromFile("network.proxy.socks") 
97.
	removeCurrentPrefsFromFile("network.proxy.socks_port") 
98.
	removeCurrentPrefsFromFile("network.proxy.socks_version") 
99.
	removeCurrentPrefsFromFile("network.proxy.no_proxies_on") 
100.
	if ProxyURLKey <> "" then 
101.
		set ProxyURLSet = AppendPrefsToFile("network.proxy.autoconfig_url", chr(34) & ProxyURLKey & chr(34)) 
102.
	end if 
103.
	if HTTPKey <> "" then 
104.
		set HTTPSet = AppendPrefsToFile("network.proxy.http", chr(34) & HTTPKey & chr(34)) 
105.
		HTTPSet = AppendPrefsToFile("network.proxy.http_port", HTTPPortKey) 
106.
	end if 
107.
	if SSLKey <> "" then 
108.
		set SSLSet = AppendPrefsToFile("network.proxy.ssl", chr(34) & SSLKey & chr(34)) 
109.
		SSLSet = AppendPrefsToFile("network.proxy.ssl_port", SSLPortKey) 
110.
	end if 
111.
	if FTPKey <> "" then 
112.
		set FTPSet = AppendPrefsToFile("network.proxy.ftp", chr(34) & FTPKey & chr(34)) 
113.
		FTPSet = AppendPrefsToFile("network.proxy.ftp_port", FTPPortKey) 
114.
	end if 
115.
	if GopherKey <> "" then 
116.
		set GopherSet = AppendPrefsToFile("network.proxy.gopher", chr(34) & GopherKey & chr(34)) 
117.
		GopherSet = AppendPrefsToFile("network.proxy.gopher_port", GopherPortKey) 
118.
	end if 
119.
	if SOCKSKey <> "" then 
120.
		set SOCKSSet = AppendPrefsToFile("network.proxy.socks", chr(34) & SOCKSKey & chr(34)) 
121.
		SOCKSSet = AppendPrefsToFile("network.proxy.socks_port", SOCKSPortKey) 
122.
		SOCKSSet = AppendPrefsToFile("network.proxy.socks_version", SOCKSVersionKey) 
123.
	end if 
124.
	if ProxyExceptionsKey <> "localhost, 127.0.0.1" or ProxyExceptions <> "" then 
125.
		set ExceptionsSet = AppendPrefsToFile("network.proxy.no_proxies_on", chr(34) & ProxyExceptionsKey & chr(34)) 
126.
	Elseif ProxyExceptionsKey = "localhost, 127.0.0.1" then 
127.
		set ExceptionsSet = AppendPrefsToFile("network.proxy.no_proxies_on", chr(34) & ProxyExceptionsKey & chr(34)) 
128.
	end if 
129.
	set ProxySet = AppendPrefsToFile("network.proxy.type", ProxyKey) 
130.
end if 
131.
 
132.
 
133.
' Cache 
134.
FirefoxCacheKey = WshShell.regread("HKLM\Software\Policies\Firefox\FirefoxCacheSize") 
135.
FirefoxCacheSSLKey = WshShell.regread("HKLM\Software\Policies\Firefox\FirefoxCacheSSL") 
136.
if FirefoxCacheKey <> "" then 
137.
	RemoveCurrentPrefsFromFile("browser.cache.disk.capacity") 
138.
	RemoveCurrentPrefsFromFile("browser.cache.disk_cache_ssl") 
139.
	set CacheSet = AppendPrefsToFile("browser.cache.disk.capacity", FirefoxCacheKey) 
140.
	if FirefoxCacheSSLKey = "1" then 
141.
		set CacheSSLSet = AppendPrefsToFile("browser.cache.disk_cache_ssl", "true") 
142.
	else 
143.
		set CacheSSLSet = AppendPrefsToFile("browser.cache.disk_cache_ssl", "false") 
144.
	end if 
145.
end if 
146.
 
147.
 
148.
' Check Default Browser 
149.
FirefoxCheckDefaultKey = WshShell.regread("HKLM\Software\Policies\Firefox\FirefoxCheckDefault") 
150.
if FirefoxCheckDefaultKey = "0" then 
151.
	RemoveCurrentPrefsFromFile("browser.shell.checkDefaultBrowser") 
152.
	set DefaultSet = AppendPrefsToFile("browser.shell.checkDefaultBrowser", "false") 
153.
Elseif FirefoxCheckDefaultKey = "1" then 
154.
	RemoveCurrentPrefsFromFile("browser.shell.checkDefaultBrowser") 
155.
	set DefaultSet = AppendPrefsToFile("browser.shell.checkDefaultBrowser", "true") 
156.
end if 
157.
 
158.
 
159.
' Disable XPI Installations? 
160.
FirefoxXPIStateKey = WshShell.regread("HKLM\Software\Policies\Firefox\FirefoxXPIState") 
161.
if FirefoxXPIStateKey = "0" then 
162.
	RemoveCurrentPrefsFromFile("xpinstall.enabled") 
163.
	set XPISet = AppendPrefsToFile("xpinstall.enabled", "false") 
164.
Elseif FirefoxXPIStateKey = "1" then 
165.
	RemoveCurrentPrefsFromFile("xpinstall.enabled") 
166.
	set XPISet = AppendPrefsToFile("xpinstall.enabled", "true") 
167.
end if 
168.
 
169.
 
170.
' update Firefox 
171.
FirefoxUpdateStateKey = WshShell.regread("HKLM\Software\Policies\Firefox\FirefoxUpdateState") 
172.
If FirefoxUpdateStateKey = "1" then 
173.
	RemoveCurrentPrefsFromFile("app.update.autoUpdateEnabled") 
174.
	RemoveCurrentPrefsFromFile("app.update.enabled") 
175.
	set UpdateSet1 = AppendPrefsToFile("app.update.autoUpdateEnabled", "true") 
176.
	set UpdateSet2 = AppendPrefsToFile("app.update.enabled", "true") 
177.
ElseIf FirefoxUpdateStateKey = "0" then 
178.
	RemoveCurrentPrefsFromFile("app.update.autoUpdateEnabled") 
179.
	RemoveCurrentPrefsFromFile("app.update.enabled") 
180.
	set UpdateSet1 = AppendPrefsToFile("app.update.autoUpdateEnabled", "false") 
181.
	set UpdateSet2 = AppendPrefsToFile("app.update.enabled", "false") 
182.
end if 
183.
 
184.
 
185.
' update Firefox's extensions 
186.
FirefoxExtUpdateStateKey = WshShell.regread("HKLM\Software\Policies\Firefox\FirefoxExtUpdateState") 
187.
If FirefoxExtUpdateStateKey = "1" then 
188.
	RemoveCurrentPrefsFromFile("extensions.update.autoUpdateEnabled") 
189.
	RemoveCurrentPrefsFromFile("extensions.update.enabled") 
190.
	set UpdateXtSet1 = AppendPrefsToFile("extensions.update.autoUpdateEnabled", "true") 
191.
	set UpdateXtSet2 = AppendPrefsToFile("extensions.update.enabled", "true") 
192.
ElseIf FirefoxExtUpdateStateKey = "0" then 
193.
	RemoveCurrentPrefsFromFile("extensions.update.autoUpdate") 
194.
	RemoveCurrentPrefsFromFile("extensions.update.enabled") 
195.
	set UpdateXtSet1 = AppendPrefsToFile("extensions.update.autoUpdateEnabled", "false") 
196.
	set UpdateXtSet2 = AppendPrefsToFile("extensions.update.enabled", "false") 
197.
end if 
198.
 
199.
 
200.
' Disable Java? 
201.
FirefoxJavaStateKey = WshShell.regread("HKLM\Software\Policies\Firefox\FirefoxJavaState") 
202.
If FirefoxJavaStateKey = "1" then 
203.
	RemoveCurrentPrefsFromFile("security.enable_java") 
204.
	set JavaStateSet = AppendPrefsToFile("security.enable_java", "true") 
205.
ElseIf FirefoxJavaStateKey = "0" then 
206.
	RemoveCurrentPrefsFromFile("security.enable_java") 
207.
	set JavaStateSet = AppendPrefsToFile("security.enable_java", "false") 
208.
end if 
209.
 
210.
 
211.
' Disable Javascript? 
212.
FirefoxJavascriptStateKey = WshShell.regread("HKLM\Software\Policies\Firefox\FirefoxJavascriptState") 
213.
If FirefoxJavascriptStateKey = "1" then 
214.
	RemoveCurrentPrefsFromFile("javascript.enabled") 
215.
	set JavascriptStateSet = AppendPrefsToFile("javascript.enabled", "true") 
216.
ElseIf FirefoxJavascriptStateKey = "0" then 
217.
	RemoveCurrentPrefsFromFile("javascript.enabled") 
218.
	set JavascriptStateSet = AppendPrefsToFile("javascript.enabled", "false") 
219.
end if 
220.
 
221.
 
222.
' Disable SSL 2/3 & TLS? 
223.
FirefoxSSLStateKey = WshShell.regread("HKLM\Software\Policies\Firefox\FirefoxSSLState") 
224.
If FirefoxSSLStateKey = "1" then 
225.
	RemoveCurrentPrefsFromFile("security.enable_ssl2") 
226.
	RemoveCurrentPrefsFromFile("security.enable_ssl3") 
227.
	RemoveCurrentPrefsFromFile("security.enable_tls") 
228.
	set SSLStateSet = AppendPrefsToFile("security.enable_ssl2", "true") 
229.
	set SSLStateSet = AppendPrefsToFile("security.enable_ssl3", "true") 
230.
	set SSLStateSet = AppendPrefsToFile("security.enable_tls", "true") 
231.
Elseif FirefoxSSLStateKey = "0" then 
232.
	RemoveCurrentPrefsFromFile("security.enable_ssl2") 
233.
	RemoveCurrentPrefsFromFile("security.enable_ssl3") 
234.
	RemoveCurrentPrefsFromFile("security.enable_tls") 
235.
	set SSLStateSet = AppendPrefsToFile("security.enable_ssl2", "false") 
236.
	set SSLStateSet = AppendPrefsToFile("security.enable_ssl3", "false") 
237.
	set SSLStateSet = AppendPrefsToFile("security.enable_tls", "false")	 
238.
end if 
239.
 
240.
 
241.
' Disable IDNs? 
242.
FirefoxIDNStateKey = WshShell.regread("HKLM\Software\Policies\Firefox\FirefoxIDNState") 
243.
If FirefoxIDNStateKey = "1" then 
244.
	RemoveCurrentPrefsFromFile("network.enableIDN") 
245.
	set IDNStateSet = AppendPrefsToFile("network.enableIDN", "true") 
246.
ElseIf FirefoxIDNStateKey = "0" then 
247.
	RemoveCurrentPrefsFromFile("network.enableIDN") 
248.
	set IDNStateSet = AppendPrefsToFile("network.enableIDN", "false") 
249.
end if 
250.
 
251.
 
252.
' Disable Password Remembering? 
253.
FirefoxPasswordRememberKey = WshShell.regread("HKLM\Software\Policies\Firefox\FirefoxPasswordRememberState") 
254.
If FirefoxPasswordRememberKey = "1" then 
255.
	RemoveCurrentPrefsFromFile("signon.rememberSignons") 
256.
	set PasswordRememberStateSet = AppendPrefsToFile("signon.rememberSignons", "true") 
257.
ElseIf FirefoxPasswordRememberKey = "0" then 
258.
	RemoveCurrentPrefsFromFile("signon.rememberSignons") 
259.
	set PasswordRememberStateSet = AppendPrefsToFile("signon.rememberSignons", "false") 
260.
end if 
261.
 
262.
 
263.
' Enable Type Ahead Find 
264.
FirefoxTypeAheadFindKey = WshShell.regread("HKLM\Software\Policies\Firefox\FirefoxTypeAheadFindState") 
265.
If FirefoxTypeAheadFindKey = "1" then 
266.
	RemoveCurrentPrefsFromFile("accessibility.typeaheadfind") 
267.
	set FirefoxTypeAheadFindSet = AppendPrefsToFile("accessibility.typeaheadfind", "true") 
268.
ElseIf FirefoxTypeAheadFindKey = "0" then 
269.
	RemoveCurrentPrefsFromFile("accessibility.typeaheadfind") 
270.
	set FirefoxTypeAheadFindSet = AppendPrefsToFile("accessibility.typeaheadfind", "false") 
271.
end if 
272.
 
273.
 
274.
' Disable Prefetching 
275.
FirefoxPrefetchStateKey = WshShell.regread("HKLM\Software\Policies\Firefox\FirefoxPrefetchState") 
276.
If FirefoxPrefetchStateKey = "1" then 
277.
	RemoveCurrentPrefsFromFile("network.prefetch-next") 
278.
	set FirefoxPrefetchState = AppendPrefsToFile("network.prefetch-next", "true") 
279.
ElseIf FirefoxPrefetchStateKey = "0" then 
280.
	RemoveCurrentPrefsFromFile("network.prefetch-next") 
281.
	set FirefoxPrefetchState = AppendPrefsToFile("network.prefetch-next", "false") 
282.
end if 
283.
 
284.
 
285.
' Enable/Disable URL security check 
286.
FirefoxSecurityCheckLoadUriKey = WshShell.regread("HKLM\Software\Policies\Firefox\FirefoxSecurityCheckLoadUri") 
287.
If FirefoxSecurityCheckLoadUriKey = "1" then 
288.
	RemoveCurrentPrefsFromFile("security.checkloaduri") 
289.
	set FirefoxSecurityCheckLoadUriSet = AppendPrefsToFile("security.checkloaduri", "false") 
290.
ElseIf FirefoxSecurityCheckLoadUriKey = "0" then 
291.
	RemoveCurrentPrefsFromFile("security.checkloaduri") 
292.
	set FirefoxSecurityCheckLoadUriSet = AppendPrefsToFile("security.checkloaduri", "true") 
293.
end if 
294.
 
295.
 
296.
' Trusted & Delegated Authentication white list 
297.
FirefoxTrustedAuthKey = WshShell.regread("HKLM\Software\Policies\Firefox\FirefoxTrustedAuth") 
298.
FirefoxDelegatedAuthKey = WshShell.regread("HKLM\Software\Policies\Firefox\FirefoxDelegatedAuth") 
299.
If FirefoxTrustedAuthKey <> "" or FirefoxDelegatedAuthKey <> "" then 
300.
	RemoveCurrentPrefsFromFile("network.negotiate-auth.trusted-uris") 
301.
	RemoveCurrentPrefsFromFile("network.negotiate-auth.delegation-uris") 
302.
	set FirefoxTrustedAuthSet = AppendPrefsToFile("network.negotiate-auth.trusted-uris", chr(34) & FirefoxTrustedAuthKey & chr(34)) 
303.
	set FirefoxDelegatedAuthSet = AppendPrefsToFile("network.negotiate-auth.delegation-uris", chr(34) & FirefoxDelegatedAuthKey & chr(34)) 
304.
end if 
305.
 
306.
 
307.
' Browse with Caret 
308.
FirefoxCaretKey = WshShell.regread("HKLM\Software\Policies\Firefox\FirefoxCaret") 
309.
If FirefoxCaretKey = "1" then 
310.
	RemoveCurrentPrefsFromFile("accessibility.browsewithcaret") 
311.
	set FirefoxCaretSet = AppendPrefsToFile("accessibility.browsewithcaret", "true") 
312.
ElseIf FirefoxCaretKey = "0" then 
313.
	RemoveCurrentPrefsFromFile("accessibility.browsewithcaret") 
314.
	set FirefoxCaretSet = AppendPrefsToFile("accessibility.browsewithcaret", "false") 
315.
end if 
316.
 
317.
 
318.
' Cookie Handling 
319.
FirefoxCookieKey = WshShell.regread("HKLM\Software\Policies\Firefox\FirefoxCookieBehaviour") 
320.
If FirefoxCookieKey <> "" then 
321.
	RemoveCurrentPrefsFromFile("network.cookie.cookieBehavior") 
322.
	set FirefoxCookieBehaviourKey = AppendPrefsToFile("network.cookie.cookieBehavior", FirefoxCookieKey) 
323.
end if 
324.
 
325.
 
326.
' Set Bookmarks Location 
327.
FirefoxBookmarksLocationKey = WshShell.regread("HKLM\Software\Policies\Firefox\FirefoxBookmarks") 
328.
If FirefoxBookmarksLocationKey <> "" then 
329.
	RemoveCurrentPrefsFromFile("browser.bookmarks.file") 
330.
	set FirefoxBookmarksKey = AppendPrefsToFile("browser.bookmarks.file", chr(34) & FirefoxBookmarksLocationKey & "\\bookmarks.html" & chr(34)) 
331.
end if 
332.
 
333.
 
334.
' TODO:  More settings! 
335.
 
336.
 
337.
Function RemoveCurrentPrefsFromFile(removeSetting) 
338.
	Set ParsePrefsFile = fso.OpenTextFile(FirefoxPrefsFile, ForReading) 
339.
 
340.
	' Get file content into an array: 
341.
	Dim aContents 
342.
	aContents = Split(ParsePrefsFile.ReadAll, vbCrLf) 
343.
 
344.
	ParsePrefsFile.Close 
345.
	set ParsePrefsFile = Nothing 
346.
 
347.
	' Parse Back In to Prefs.js file 
348.
 
349.
	Dim aContentsNew 
350.
	aContentsNew = Filter(aContents, removeSetting, False, vbTextCompare) 
351.
 
352.
	' Overwrite the old file with the new file, 
353.
  	Set ParseOutPrefsFile = fso.OpenTextFile(FirefoxPrefsFile, ForWriting) 
354.
  	ParseOutPrefsFile.Write Join(aContentsNew, vbCrLf) 
355.
    	ParseOutPrefsFile.Close 
356.
End Function 
357.
 
358.
Function AppendPrefsToFile(writeKey, writeData) 
359.
	set PrefsFile = fso.OpenTextFile(FirefoxPrefsFile,ForAppending) 
360.
	PrefsFile.Write (vbCrLf & "lockPref(" & chr(34) & writeKey & chr(34) & ", " & writeData & ");") 
361.
	PrefsFile.Close 
362.
End Function 
363.
 
364.
Function RemoveConfigSetting() 
365.
	Set ParsePrefsFile = fso.OpenTextFile(FirefoxJsFile, ForReading) 
366.
 
367.
	' Get file content into an array: 
368.
	Dim aContents 
369.
	aContents = Split(ParsePrefsFile.ReadAll, vbCrLf) 
370.
 
371.
	ParsePrefsFile.Close 
372.
	set ParsePrefsFile = Nothing 
373.
 
374.
	' Parse Back In to Firefox.js file 
375.
 
376.
	Dim aContentsNew 
377.
	aContentsNew = Filter(aContents, chr(34) & "general.config.filename" & chr(34), False, vbTextCompare) 
378.
 
379.
	' Overwrite the old file with the new file, 
380.
  	Set ParseOutPrefsFile = fso.OpenTextFile(FirefoxJsFile, ForWriting) 
381.
  	ParseOutPrefsFile.Write Join(aContentsNew, vbCrLf) 
382.
    	ParseOutPrefsFile.Close 
383.
End Function

vielen dank im voraus fuer eure hinweise
andré
Mitglied: godlie
12.11.2008 um 15:32 Uhr
Also zuständig für die Passwort merken geschichte sind im Script folgende Zeilen:
01.
252-260 
02.
' Disable Password Remembering?  
03.
FirefoxPasswordRememberKey = WshShell.regread("HKLM\Software\Policies\Firefox\FirefoxPasswordRememberState")  
04.
If FirefoxPasswordRememberKey = "1" then 
05.
	RemoveCurrentPrefsFromFile("signon.rememberSignons")  
06.
	set PasswordRememberStateSet = AppendPrefsToFile("signon.rememberSignons", "true")  
07.
ElseIf FirefoxPasswordRememberKey = "0" then  
08.
	RemoveCurrentPrefsFromFile("signon.rememberSignons") 
09.
	set PasswordRememberStateSet = AppendPrefsToFile("signon.rememberSignons", "false")  
10.
end if 
ich würd das hier einfach durch folgendes ersetzen.
01.
RemoveCurrentPrefsFromFile("signon.rememberSignons") 
02.
set PasswordRememberStateSet = AppendPrefsToFile("signon.rememberSignons", "true")
grüße
Bitte warten ..
Mitglied: an-wei
14.11.2008 um 11:11 Uhr
das klappt leider auch nicht.
ich habe aus dem vbs- und adm script die betreffenden eintraege entfernt und per cmd den registry-ordner [HKLM\Software\Policies\Firefox] geloescht.

dann erst war die bewusste option nicht mehr ausgegraut.

godlie, danke fuer deine hilfe.
Bitte warten ..
Mitglied: retz12
30.06.2009 um 10:24 Uhr
Hallo,
ich hätte noch eine Frage,
wann wird das vbs Script ausgeführt. Jedes mal beim anmelden? oder nur einmal bei der installation?
Bitte warten ..
Neuester Wissensbeitrag
Humor (lol)

Linkliste für Adventskalender

(3)

Information von nikoatit zum Thema Humor (lol) ...

Ähnliche Inhalte
Webbrowser
Mehrere Startseiten Firefox Esr per GPO definieren

Frage von faebe2017 zum Thema Webbrowser ...

Windows Server
GPO aktiv trotz Deaktivierung (7)

Frage von XxDarkAngelxX zum Thema Windows Server ...

Webbrowser
Zero-Day-Lücke in Firefox bedroht Tor-Anwender (1)

Link von runasservice zum Thema Webbrowser ...

Informationsdienste
gelöst Aktuelle Firefox MSI Datei!? (8)

Frage von Hendrik2586 zum Thema Informationsdienste ...

Heiß diskutierte Inhalte
Router & Routing
gelöst Ipv4 mieten (22)

Frage von homermg zum Thema Router & Routing ...

Windows Server
DHCP Server switchen (20)

Frage von M.Marz zum Thema Windows Server ...

Exchange Server
gelöst Exchange 2010 Berechtigungen wiederherstellen (20)

Frage von semperf1delis zum Thema Exchange Server ...

Hardware
gelöst Negative Erfahrungen LAN-Karten (19)

Frage von MegaGiga zum Thema Hardware ...