+ Post New Thread
Page 2 of 2 FirstFirst 12
Results 16 to 18 of 18
Wireless Networks Thread, Logon script .reg in Technical; The message about UNC paths is informational - it's not an error and you can ignore it. As I understand ...
  1. #16

    Join Date
    Aug 2005
    Thank Post
    Thanked 529 Times in 452 Posts
    Blog Entries
    Rep Power
    The message about UNC paths is informational - it's not an error and you can ignore it.

    As I understand it, you've got a script which is mapping drives - that presumably has something like:

    net use X: \\server\share1
    net use Q: \\server\share2
    so what you want to do is add to that so it looks like this:

    net use X: \\server\share1
    net use Q: \\server\share2
    regedit /s \\server\share\silver.reg
    You need to find a safe place to put the silver.reg file - a possibility is the netlogon share and you can access this by putting:
    regedit /s %logonserver%\netlogon\silver.reg
    What I think you've done is put the .reg file in the policies section of your sysvol share (you get there when you create a group policy to specify a logon script) and just say that the .reg is the script. This will work but there's no way you can stop the prompt - regedit runs in "normal" mode and isn't silent.

    You could specify the logon program to be regedit /s silver.reg but the problem is that regedit won't know where to look for the .reg file - this is why it's easier to put it in a defined location (like netlogon) and call it from a batch file

  2. #17

    Join Date
    Oct 2008
    Thank Post
    Thanked 1 Time in 1 Post
    Rep Power
    regarding the change across the entire network, thats why i was asking how your network was set up. if your logon scripts are running from AD on the server then you make the reference to the .reg file in that script(s) and share the .reg file from the server. if your doing it locally you'll have to either visit each machine or remote into them and drag the files into the required folders.

    as for your error message, attach your .bat file as txt like you did with the .reg file and i'll have a look...

  3. #18
    reggiep's Avatar
    Join Date
    Apr 2008
    In the vast area of space and time
    Thank Post
    Thanked 56 Times in 50 Posts
    Rep Power
    Quote Originally Posted by Arge View Post
    Hi there, I've done this before to merge a registry change for users' keyboard layout. Not sure how your script is structured, but mine was tagged onto the bottom of the user's logon script as follows:

    %systemroot%\regedit.exe /s \\<your-server-name>\<your-hidden-share-name>\<your-registry-filename>.reg

    the /s after "regedit.exe" makes it a silent merge so the user doesn't have to intervene.

    hope that helps...let me know,

    I need to merge a registry fragment at logon but my users do ot have permission to run scripts so it gets denied? Is there a way to authenticate somehow just for a script?

+ Post New Thread
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Logon Script Help
    By djones in forum Scripts
    Replies: 17
    Last Post: 13th March 2008, 06:00 PM
  2. Logon script & Printer script question.
    By Galway in forum Windows
    Replies: 3
    Last Post: 29th August 2007, 11:00 AM
  3. script to change permissions on Reg Key
    By e_g_r in forum Windows
    Replies: 4
    Last Post: 16th February 2007, 05:48 PM
  4. Yet another Logon Script
    By ajbritton in forum Windows
    Replies: 3
    Last Post: 19th June 2006, 09:47 AM
  5. Loading .reg files in a startup script
    By Ric_ in forum Windows
    Replies: 7
    Last Post: 27th September 2005, 04:23 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts