Petri.co.il forums Home Forums Start Page Forums Frequently Asked Questions FAQ Member List Members List
Go Back   Petri IT Knowledgebase Forums > Client Operating Systems > Windows 7
Petri.co.il is happy to award RicklesP the title of Most Valuable Member !!!
Register Calendar Calendar Search Petri IT Knowledgebase Forums Search Todays Posts Today's Posts Mark Forums Read
Notices

Add a Network Location  logon script?

Add a Network Location logon script?

this thread has 4 replies and has been viewed 3665 times

Closed Thread
 
Thread Tools Search this Thread Display Modes
  #1  
Old 16th February 2012, 00:40
Bluephoric Bluephoric is offline
Casual
Casual
 
 Join Date: Aug 2011
  6 month star 12 month star
 Posts: 13
 Reputation: Bluephoric is on a distinguished road (10)
Default Add a Network Location logon script?

We have an app that requires users to have a "Network Location" drive mapping. We can do this manually easy enough. Is there way to script this for multiple users?
  #2  
Old 16th February 2012, 06:59
JeremyW JeremyW is offline
Moderator
 
 Join Date: May 2006
  6 month star 12 month star
 Location: Washington DC metro area
 Posts: 3,765
 Reputation: JeremyW is a name known to allJeremyW is a name known to allJeremyW is a name known to allJeremyW is a name known to allJeremyW is a name known to allJeremyW is a name known to all (550)
Default Re: Add a Network Location logon script?

Yes. Is this computer part of a workgroup or is it joined to a domain?

If it's part of a workgroup use the local policy (run gpedit.msc) and add a logon script. This will apply to all users that logon.

If it's a domain, apply a GPO with a logon script configured to the OU containing the users you want to apply it to.
__________________
Regards,
Jeremy

Network Consultant/Engineer
Baltimore - Washington area and beyond
www.gma-cpa.com
  #3  
Old 20th February 2012, 09:37
henkl henkl is offline
Casual
Casual
 
 Join Date: Aug 2011
  6 month star 12 month star
 Posts: 59
 Reputation: henkl is on a distinguished road (10)
Default Re: Add a Network Location logon script?

Create batch file and use:

net use Z: \\servername\share
As Jeremy said, use logon script


it works great
Just my 2c
  #4  
Old 20th February 2012, 11:42
Ossian Ossian is offline
Administrator
 
 Join Date: Nov 2003
  6 month star 12 month star
 Location: Bonnie Scotland
 Posts: 16,651
  Send a message via Skype™ to Ossian
 Reputation: Ossian has a brilliant futureOssian has a brilliant futureOssian has a brilliant futureOssian has a brilliant futureOssian has a brilliant futureOssian has a brilliant futureOssian has a brilliant futureOssian has a brilliant futureOssian has a brilliant futureOssian has a brilliant futureOssian has a brilliant future (1520)
Default Re: Add a Network Location logon script?

If it is based on network location, consider a site level GPO
__________________
Tom Jones
MCT, MCSE (2000:Security & 2003), MCSA:Security & Messaging, MCDBA, MCDST, MCITP(EA, EMA, SA, EDA, ES, CS), MCTS, MCP, Sec+
PhD, MSc, FIAP, MIITT
IT Trainer / Consultant
Ossian Ltd
Scotland

** Remember to give credit where credit is due and leave reputation points where appropriate **
  #5  
Old 20th February 2012, 11:57
L4ndy L4ndy is offline
Moderator
 
 Join Date: May 2006
  6 month star 12 month star
 Location: Liverpool, UK
 Posts: 2,634
 Reputation: L4ndy is a glorious beacon of lightL4ndy is a glorious beacon of lightL4ndy is a glorious beacon of lightL4ndy is a glorious beacon of lightL4ndy is a glorious beacon of lightL4ndy is a glorious beacon of light (541)
Default Re: Add a Network Location logon script?

Or you could use a script like this: http://blogs.technet.com/b/heyscript...-s-subnet.aspx
__________________
Caesar's cipher - 3

ZKHQ BRX HYHQWXDOOB GHFLSKHU WKLV BRX ZLOO UHDOLVH LW ZDV D ZDVWH RI WLPH!

SFX JNRS FC U6 MNGR
Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Random users not mapping network drive at logon via script swfblade General Scripting 9 21st September 2010 01:08
Network Printer Logon Script leeym General Scripting 4 3rd September 2009 16:55
Add Printer Script - with driver location included snagrat General Scripting 2 2nd June 2009 19:08
VBS script to execute script on remote location chance General Scripting 3 17th November 2008 12:20
Need Help with Script to Check for Network and Run Logon Script donnyc2001 General Scripting 0 6th September 2008 19:58


All times are GMT +3. The time now is 12:17.

Steel Blue 3.5.4 vBulletin Style ©2006 vBEnhanced
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
 

Valid XHTML 1.0!   Valid CSS!

Copyright 2005 Daniel Petri