+ Post New Thread
Results 1 to 4 of 4
Coding Thread, refresh network connections script? in Coding and Web Development; I have a probelem on one random computer, its an admin machine, and I have set up permissions for the ...
  1. #1
    neon's Avatar
    Join Date
    Apr 2009
    Location
    Market Harborough
    Posts
    222
    Thank Post
    7
    Thanked 22 Times in 20 Posts
    Rep Power
    14

    refresh network connections script?

    I have a probelem on one random computer, its an admin machine, and I have set up permissions for the user to access resources on the ciriculum server. I have done this for many users and know that there should be no issue, however intermitantly the user loses the permissions and is requested to put the password in to no avail... after loggin off and back on it restores itself and is fine, just wondering if there was any script either .bat or .vbs that I could drop on the desktop to imitate a log off... ie refresh network connections? ive tried ipconfig /renew and it doesnt work... also tried net use * /delete /y and then remap and that doesnt work either...

    Any help would be great...

  2. #2
    andy_nic's Avatar
    Join Date
    Jun 2008
    Location
    Peterborough
    Posts
    445
    Thank Post
    31
    Thanked 39 Times in 33 Posts
    Rep Power
    19
    try an .cmd file with "gpupdate/force" as the code. do test the code first, as that was just out the top of my head so could be wrong.

  3. #3

    Michael's Avatar
    Join Date
    Dec 2005
    Location
    Birmingham
    Posts
    9,262
    Thank Post
    242
    Thanked 1,568 Times in 1,250 Posts
    Rep Power
    340
    How about stopping and starting the DHCP client service?

    Code:
    net stop "DHCP Client"
    net start "DHCP Client"

  4. #4
    neon's Avatar
    Join Date
    Apr 2009
    Location
    Market Harborough
    Posts
    222
    Thank Post
    7
    Thanked 22 Times in 20 Posts
    Rep Power
    14
    Thanks guys, when the problem happens again I will try both and let you know!

SHARE:
+ Post New Thread

Similar Threads

  1. Bridging network connections
    By _Bat_ in forum *nix
    Replies: 9
    Last Post: 31st December 2008, 04:59 PM
  2. Network Connections
    By Ueline in forum Windows
    Replies: 11
    Last Post: 26th March 2008, 04:42 PM
  3. Laptop losing network connections
    By chrbb in forum Windows Vista
    Replies: 5
    Last Post: 8th January 2008, 10:53 PM
  4. Tools to use for listing network connections?
    By speckytecky in forum Wireless Networks
    Replies: 4
    Last Post: 11th September 2007, 09:53 AM
  5. How to rid of hidden network connections.
    By tickmike in forum Wireless Networks
    Replies: 4
    Last Post: 9th August 2006, 01:19 AM

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
  •