Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login




Remember Me
Forgot Password?
Join Us!

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Donate Today!

Do you enjoy these
technical forums?
Donate Today! Click Here

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.
Jobs from Indeed

Link To This Forum!

Partner Button
Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

VBScript to a assign IP adresss to a domain user not computer?Helpful Member!(2) 

dbustamante (IS/IT--Management) (OP)
5 Mar 12 11:56
Hey all,

I have a question about IP address and scripts. Where I work we have 3 sets of IP schemes (open, restricted and blocked). What I want to know is if there's a way to set up a script that can assign a specific IP address to a specific user and change with every user who logs in after. For example say I log on to a reception computer and my IP address is a open IP address  10.37.224.1 and i leave to go to lunch and the person who comes after me has a blocked IP address assigned to him/her 10.37.255.1. Is it possible for the script to change the IP address with every user?

dbustamante = 10.37.224.1
jdoe = 10.37.255.1
jsmith = 10.37.254.1  
Helpful Member!  tootiredtocare (TechnicalUser)
6 Mar 12 17:40
Found the following which shows how to set IP's:

http://www.computing.net/answers/programming/vbscript-to-change-ip-and-dns/21362.html

You could redo this a little and probably achieve what you need. However, I'm curious as to what would happen if a user logged onto multiple PCs at once  
dbustamante (IS/IT--Management) (OP)
7 Mar 12 14:46
Hey thanks for link I'll see about changing it up some. currently the way it's set up they can log on to as many PCs as they want but in doing this i want to eliminate have 1 person logged in to 3 different machines.
Helpful Member!  markdmac (MIS)
13 Mar 12 18:07
Have you looked at what MS offers for limiting users to one session?

http://support.microsoft.com/kb/237282

As for blocking their Internet access, there is a simple trick for that.

Assign a logon script for that user that sets a fake proxy server in IE.  The user won't be able to change it since it is set via GPO.  That will allow them to browse intranet sites like SharePoint but not allow them to access Internet sites.


 

I hope that helps.  

Regards,

Mark

Check out my scripting solutions at http://www.thespidersparlor.com/vbscript

Work SMARTER not HARDER.  The Spider's Parlor's Admin Script Pack is a collection of Administrative scripts designed to make IT Administration easier!  Save time, get more work done, get the Admin Script Pack.

dbustamante (IS/IT--Management) (OP)
15 Mar 12 9:33
Hey that does look like its going to be pretty usefull also! I might just have to download that and give it a try as well but as far as the internet access we have IP assigned by our corporate office that allow internet restrict access and block access so the script would have to be ip's assigned to people not local machines.
markdmac (MIS)
15 Mar 12 9:59
If locking down solely by IP then why not lock down login to specific computers as well?

I hope that helps.  

Regards,

Mark

Check out my scripting solutions at http://www.thespidersparlor.com/vbscript

Work SMARTER not HARDER.  The Spider's Parlor's Admin Script Pack is a collection of Administrative scripts designed to make IT Administration easier!  Save time, get more work done, get the Admin Script Pack.

dbustamante (IS/IT--Management) (OP)
15 Mar 12 10:16
i've thought about doing that but we have to many users who have multiple duties and by locking them down to one computer they wouldn't be able to move to the different locations.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Back To Forum

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close