![]() |
![]() OCAU News - Wiki - QuickLinks - Pix - Sponsors |
|
|||||||
| Notices |
|
Sign up for a free OCAU account and this ad will go away! Search our forums with Google: |
![]() |
|
|
Thread Tools |
|
|
#1 |
|
Member
Join Date: Jun 2001
Location: 1/2 Way from Melb & Bend
Posts: 816
|
I want to redirect users' favourites preferably by group policy.
and I Cant find it... Dont think its there... possible workaround, hence... How do I edit a registry key via a logon script... Thanks Tigger
__________________
Due to the fact that light travels faster than sound you may apear bright until you speak |
|
|
|
| Join OCAU to remove this ad! |
|
|
#2 |
|
Member
Join Date: Jun 2001
Location: God's Country
Posts: 1,342
|
HKCU\Software\Microsoft\Windows\CurrentVersion\ Explorer\Shell Folders\Favorites (note US spelling or favourites)
Set this String Value to the location you want their favourites. At work, we have it set to a location on the H:\ If you have laptop users, and you are doing this to, when they are off the network, then this location will default to C:\WinNT\Favorites\ and you'll have to force run something when they login to the network to set it back to this Pax |
|
|
|
|
|
#3 |
|
Member
Join Date: Jun 2001
Location: 1/2 Way from Melb & Bend
Posts: 816
|
Yeah I know where the registry entry is.. I need to be able to edit its value on logon and hence probably via a batch file or some script.
Then I need to set it back to its default value on exit. Tigger
__________________
Due to the fact that light travels faster than sound you may apear bright until you speak |
|
|
|
|
|
#4 |
|
Member
Join Date: Jun 2001
Location: God's Country
Posts: 1,342
|
Why do you want to set the value back? Is it not the same for all users?
What are you using as your policy enforcer? Zenworks (Netware?) or pure MS? You could have a 'call' command in your usrlogon.cmd to call a .cmd or .bat file which runs a regedit command to enforce the value. Alternatively, you can use Group policys to assign logon and logoff scripts to change the value to chatever you want. How to configure those scripts or in what language they are written, don't ask me (actually ask me... I looked up Technet and.... "Scripts. You can use scripts to automate computer startup and shutdown and user logon and logoff. You can use any language supported by Windows Scripting Host. These include the Microsoft Visual BasicŪ development system, Scripting Edition (VBScript); JavaScript; PERL; and MS-DOSŪ-style batch files (.bat and .cmd)." So you can run the batch file in the user assigned scripts and store those scripts on the server. This sounds like a viable method to you? Pax |
|
|
|
|
|
#5 |
|
Member
Join Date: Jun 2001
Location: 1/2 Way from Melb & Bend
Posts: 816
|
pax... thanks for the imput as irrilevant as it was.... (it was off topic... and I knew it anyhow...)
Dont worry I think I've found a way round it anyhow... Tigger
__________________
Due to the fact that light travels faster than sound you may apear bright until you speak |
|
|
|
|
|
#6 |
|
Member
Join Date: Jun 2001
Location: 1/2 Way from Melb & Bend
Posts: 816
|
Actually.. Doe's anyone know how to surpress the prompts when importing a reg file?
Thanks Tigger
__________________
Due to the fact that light travels faster than sound you may apear bright until you speak |
|
|
|
|
|
#7 | |
|
Member
Join Date: Jun 2001
Location: Sydney
Posts: 8,307
|
TweakUI
__________________
Quote:
|
|
|
|
|
|
|
#8 | |
|
Member
Join Date: Jan 2002
Location: Melbourne
Posts: 218
|
Quote:
regedit /s file.reg |
|
|
|
|
|
|
#9 |
|
Member
Join Date: Aug 2001
Location: 백두산
Posts: 4,618
|
regedit /?
Teach a man to fish... |
|
|
|
|
|
#10 |
|
Member
Join Date: Jun 2001
Location: 1/2 Way from Melb & Bend
Posts: 816
|
Higins.. your correct. I figured that out about 15mins after my post..
![]() Works a charm.. tricked me for a while with the /s before the yadda.reg ![]() Working now... Thanks anyhow.. Still annoyed its not built into GP ... yet? Tigger
__________________
Due to the fact that light travels faster than sound you may apear bright until you speak |
|
|
|
![]() |
| Bookmarks |
|
Sign up for a free OCAU account and this ad will go away! |
| Thread Tools | |
|
|