satcg1992
Goto Top

Befehl aus Reg-Datei wird nicht übernommen.

Servus zusammen,

ich habe mir eine Reg -Datei mit mehreren Befehlen geschrieben. Wenn ich dann auf zusammenführen klicken (oder Doppelklick) werden alle Befehle in die Registry übernommen, außer der Befehl mit der Pfad-Angabe ( "Path"="\\Srv01\oberfl$\" )

hier mal ein Ausschnitt:

[HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Access\Security]
"AllowSubfolders"=dword:00000001
"Description"="Datenbank"
"Date"="10.11.2014 13:57"
"Path"="\\Srv01\oberfl$\"

[HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Access\Security\Trusted Locations\Location(n)]
"AllowSubfolders"=dword:00000001
"Description"="Datenbank"
"Date"="10.11.2014 13:57"
"Path"="\\Srv01\oberfl$\"

[HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Access\Security\Trusted Locations]
"AllowNetworkLocations"=dword:00000001

[HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Access]
"MTTF"=dword:00024c6b
"MTTA"=dword:000cf644
"AccessName"="Microsoft Access Runtime"

ich müsste dann den Pfad Eintrag an jedem Client händisch in die Reg eintragen, was bei der Menge an Clients ganz schon nervig ist.

Was habe ich falsch gemacht?


Vielen Dank,

Grüße
Geraldine

Content-Key: 254354

Url: https://administrator.de/contentid/254354

Printed on: April 24, 2024 at 02:04 o'clock

Member: langustini
langustini Nov 10, 2014 updated at 14:57:12 (UTC)
Goto Top
Hallo Geraldine,

gibt es die Zeichenkette "Path" denn standardmäßig? Vllt musst du es erst erstellen ;)

Gruß
Member: Pjordorf
Pjordorf Nov 10, 2014 updated at 15:07:56 (UTC)
Goto Top
Hallo,

Zitat von @SATCG1992:
[HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Access\Security]
"Path"="\\Srv01\oberfl$\"
Erstell dir mal diesen Eintrag manuell im Regedit und dann exportiere ihn mal. Dann wirst du feststellen das dort der Pfad Eintrag in etwas andere Form drin steht als du ihn immer reinhauen möchtest. Der Unterschied macht es eben doch face-smile

ich müsste dann den Pfad Eintrag an jedem Client händisch in die Reg eintragen
Nein, nicht nötig, aber es muss schon richtig gemacht werden...

Was habe ich falsch gemacht?
Sieh es dir selbst an face-smile

Gruß,
Peter

[Nachtrag]
Wir sagen auch Quoten oder Maskieren dazu.... Auszug aus http://priede.bf.lu.lv/ftp/pub/Service_Pack/Windows/registri/manupulati ...
You must follow some other conventions when you build Registry files. The backslash (\) character has special meaning (i.e., a directory designator) to the operating system (OS). If you want to use the backslash character literally in a REG_SZ string within your Registry file (e.g., in a UNC path (\\Servername) or a directory name (C:\Program Files), you must precede it with another backslash. For example, I might have a value I need to fill called LogonServer, with the UNC path to servera. In my .reg script, the line that assigns this value would look like the following:

"Logonserver"="\\\\servera"
 where each literal backslash is preceded by a backslash to indicate that it should be taken literally and included when Regedit processes the script.
[/Nachtrag]
Member: SATCG1992
SATCG1992 Nov 11, 2014 at 08:29:28 (UTC)
Goto Top
Ha,

\\\\Srv01\\oberfl$\\

tausend Dank! Das muss man erstmal wissen :D das mit dem exportieren ist nen guter Tip, das kann ich zukünftig bestimmt noch das ein oder andere mal brauchen.

Grüße
Geraldine
Member: Pjordorf
Pjordorf Nov 12, 2014 at 13:28:40 (UTC)
Goto Top
Hallo,

Zitat von @SATCG1992:
\\\\Srv01\\oberfl$\\
Geht doch face-smile

Dann bitte noch ein How can I mark a post as solved? drangepappt.

Gruß,
Peter
Member: SATCG1992
SATCG1992 Dec 09, 2014 at 14:11:44 (UTC)
Goto Top
Oh,

sorry! Fürs nächste Mal weiss ich bescheid face-smile