Create/ Rename Network Location via ARD

I have been trying to figure out how to setup a new network location for all of my client computers (55 of them) without having to manually access the machines (either physically or remotely).
The command "networksetup" is supposed to be able to do this according to this page: http://docs.info.apple.com/article.html?path=RemoteDesktop/3.0/en/ARDC880.html
Can anyone help me out here?
Cheers,
Mike

Do you know of any references?
I found location information in /Library/Preferences/SystemConfiguration/preferences.plist
Could I use PlistBuddy to write the information needed to describe a location? From the scutil man page, I don't know how I'd use that command, but I'm open to learning. I just need to know where to find the documentation.
Thanks for your replies.

Similar Messages

  • Create a network location via bash

    I'd like to create a network location via a bash script. I know scselect switches locations, but how do you create one?

    Do you know of any references?
    I found location information in /Library/Preferences/SystemConfiguration/preferences.plist
    Could I use PlistBuddy to write the information needed to describe a location? From the scutil man page, I don't know how I'd use that command, but I'm open to learning. I just need to know where to find the documentation.
    Thanks for your replies.

  • Rename client computer via ARD and Automator

    Does anyone know of a method or action to rename (Computer name) Macs using AppleRemoteDesktop and Automator?
    I have over 700 laptops on a school network that I would like to rename based on a tab deliminated text file containing the all the mac (ethernet) addresses and the assocated user.
    I have tried sending a unix script and the text file via ARD to change the computer name via scutil, but it doesn't work consistently.

    You should be able to use AppleRemoteDesktop to rename the remote computer. Once you are connected to the remote computer, just go to "System Preferences...", and click on "Network" and change the computer name.
    If you are a non-administrator of ARD, you may need to turn on the access privilege to rename the remote computer. Go to "Preferences..." in ARD, and click on "Security" button, and turn the access privileges on.

  • Mail: How to check an account ONLY from specific Network Location?

    I use multiple macs, and use my .mac account to synchronize mail accounts, rules, smart mailboxes, signatures, etc.
    However, I'd actually like to specifically NOT check certain accounts on some machines.
    Even though the account settings are synced, I thought I might be able to take advantage of "Network Locations" to create specific network locations like HOME or WORK and thusly create a combination of mail and network location preferences that would solve my particular need. The idea being that it would allow me to specify in mail's settings (somehow) that a particular mail account should only check the server for messages if the current network location is actually WORK, and if the network location was HOME, it should just not check.
    Some other apps (ie: Snerdware's Groupcal) will check the network location setting and not perform checks if the current location is not the expected one.
    So the question is, is there some way to make Mail.app 2.1.3 on Tiger do this?

    30 messages displayed is the default, but you can change that.  On your email page, under "settings" is an option to change the number of messages per page.  One  option is "no limit."

  • Network locations and Airport connection

    I've just installed Leopard on my MacBook Pro (late 2008) and did all the software updates (including AirPort Extreme Update 2008-004 which - as I found out too late - seems to cause a lot of problems).
    Network System Preferences show funny beaviour: Every time I try to switch off AirPort connection for a new network location the network location will disappear completely and settings will switch back to the last active network location. So it is impossible to create a network location with AirPort inactive.
    Apart from that, my System does not connect to my AirPort Base Station (Dual Ethernet, 802.11b) wireless LAN (not public, WEP-encrypted, MAC address filter). My other Macs (OS X 10.4 Tiger) connect to the AirPort wireless LAN without any problems. (I double-checked all the settings of course.)
    Has anybody had similar problems? Thanks for your help.

    Re: network locations and Airport connection
    Posted: 06-Nov-2008 09:07
    Hi: located in england bought a new macbook pro upgraded leopard to 10.5.5 with that upgrade that got pulled very quickly.
    I also have an old g4 with 10.4.11
    The g4 works perfectly in recognizing the airport network and is up and running in no time. no problems.. the macbookpro with leopard has problems recognizing and logging in tothe the same router. it needs help or I just i there waiting. there is no set way of getting it back to working. but I tend to go into network preferences and it says airport logged on but no connection. the g4 is happy and set up. I then turn off airport and turn it on. eventually I am back and running just fine but do not go to sleep or close the machine cheers
    ps. I work from locations with different routers and different isp's same problems......
    therefore it must leopard...(or the airport card in the machine)

  • Network Location: Automatic vs. 'named' location usage

    Here is some odd behavior I am seeing. At home, I have an Ubuntu server with a number of SMB shares. My Leopard install does not automatically put these shares in the sidebar UNLESS I have my network location set to automatic. Even if I create a network location called home and tell it to use DHCP and am given the exact same config as automatic from my DHCP server, I cannot see the SMB shares on my Ubuntu server. This seems very odd. The Automatic network location must be doing something additional that is not visible/accessible. Can anyone confirm? What else might be happening when automatic is selected vs. creating a named network location? If I create a network location and manually set my IP information, etc. for my local network I get the same behavior where I cannot see the SMB shares.
    Any ideas?

    Choose Edit Locations from the Location popup menu, click on the button with the + icon, give the new location the name Automatic, and set it up.
    (27071)

  • Changing Network Locations under a restricted/managed account.

    I am an IT administrator at a company that now has OS X Leopard laptops that are being used both on our network and outside our network. The user has a restricted account but does not have Parental Controls enabled. The restricted user account can not change locations with out supplying an administrator password. Is there a way for a restricted user to change their Network Location (it works in Tiger)?

    The account is not an administrator account. Therefore they do not have write access outside their home directory. The effect of that is they can not install applications and can not change some preferences.
    +..."In 10.5, as in earlier versions of OS X, switching between pre-configured network "Locations" via the "Apple Menu" should not require authentication"...+
    I have not looked into changing Locations via the Apple Menu, only through the Network menu in System Preferences. I'll give that a try tomorrow morning and get back with you.

  • Error Creating PDF - saving to network location

    Using Acrobat Standard 8.1.3
    I am unable to save a PDF to any location on our network.  I am able to save the file to my local hard disk.
    When I create a PDF using the toolbar in MSWord for instance I get a the following message "The system cannont find the file specified"
    When I create a PDF from within Adobe Acobat i get the following message "Unable to open the document xxxxx.doc.  Please check to see if you have read permissions for the above file"
    I can confirm that I have full accesss to the shares I am trying to save the file to.
    I am able to save other types of documents to these shares.
    If I log in as a domain administrator I have the same problem with the same file.
    This is occuring for a lot of our users and has only started happening in the last month.
    Any Ideas?

    Almost every time this problem crops up it is an issue with how Acrobat interacts with the particular network software. I have no idea why, but it seems that the only solution is to save locally and then copy to the network location. This answer is probably not what you wanted, but it is all that I am aware of.

  • New Network Locations Being Created on Their Own

    I'm having an interesting problem with the Network Location feature.
    About 70% of the time I wake my MBP or turn it on, it does not automatically reconnect to my preferred wireless network, and it automatically creates a new network location based on the date and time. I then have to manually select my wireless network.
    What ends up happening over a couple months is that I get tons of locations that I have to manually get rid of. They look like this:
    Location (10/4/08 2:35PM)
    Location (9/28/08 10:09AM)
    Location (9/26/08 8:34PM)
    etc etc - hundreds of these!
    And instead of staying on Automatic, where my mac remembers my home network, it selects the most recent location and I always have to manually reconnect to my home air port network and type in my password.
    Some other facts about this:
    - This been happening since 10.5.4, and continues since I updated to 10.5.5
    - I've tried permissions repairs and zapping the PRAM.
    - I started out just having the network set to automatic, air port as the highest networking service order, then ethernet, remembering any wireless network that I join. A very normal and basic setup, and this problem just crops up and won't go away.
    Is there a specific preference file for this that I should try trashing?
    Any help and suggestions would be much appreciated!

    Hi ,
    The default mode of Forms is the insert mode.... This means that-in all the cases except when you have set your form in query mode-your form is ready to insert data if of course you have typed some values in the text fields or selected from a list item e.t.c. . In other words , your block(s) are marked as new...
    That happens in your situation .. when you select the PROD1 and PROD2 afterwards, the block containing the master block is marked as new and the detail block as new , as well.....because of the master-detail connection through the use of primary-foreign key....
    In order to avoid this annoying message "value must be entered" , you can:
    Set the Required property of the item-which is the primary key- to "No".
    Greetings,
    Simon

  • Have recently acquired an additional black MacBook, and installed Snow Leopard onto it. Trying to get it to connect via a plug-in USB wifi unit (poor reception on Airport) I have an extra Network Location which does not work.  How can I remove it?

    Need to get a second hand black MacBook connected.  Poor reception on Airport so tried a plug in wifi aerial. That didn't work, but now have  a Network Location I can't get rid of.  How do I remove it ?

    Hello my ginger,
    I tried what you suggested - but to no success.  The problem came up when I was re-entering the new settings.  If I left it as using DHCP it would run for a few seconds with no IP address, then drop in a 169.254 one which would not connect through.  To overcome this I tried using the 'Using DHCP with manual address' option and entered in an address which it had set up from the clone boot.  This appeared to be okay.  When I then tried renewing DHCP lease sometimes that address held.  When I tried connecting though - no sight of the internet, and the exclamation mark was across the wifi icon in the menu bar. If I switched it to Using DHCP it would randomly fall back to the 169.254 address. 
    The only significant differences I could see when cross checking all the settings info was in the WINS panel the NetBIOS had a slightly different configuration of the name - but as they ended in the same numbers I assumed they were the same.  And, when looking under Keychain Access, in the System section list (it also appeared in the login section) additional info box they had different locations - 28 characters in four groups.  I don't have a clue what this refers to.  Also the allow access list in the boot clone included System Preferences, but did not in the Snow Leopard boot, so I added it in.  With no success. 
    I am so frustrated I am thinking of giving up.  I seen have loads of postings on the net about a variety of problems with wifi connection on Snow Leopard.  I have version 10.6.3.  Did it get any better in later Snow Leopard ?  Or in any of the OS s after that ? It was always so easy and so solid under Leopard - why the h**l did they change it ?

  • Error/warning message "you don't have permission to modify files in this network location"

    Hi,
    We have a windows server 2008 running, and we access it via remote desktop. And there's this certain folder that all users access, and where we save important files. So, since this is where important files are stored, we wanted to disable deletion (and if
    possible moving) of the folder and everything under it. However, it's harder than i thought. Right now, we have the permissions "Delete" and "Delete files and subfolders" disabled already, BUT when we try to save a file to this folder,
    we got this warning/error message:
    "You don't have permission to modify files in this network location"
    The file is saved however, but there's no content. But when we try to cut/copy an existing file to this folder, it works.
    Does anyone know how a workaround on this issue. I've already spent days configuring the settings, and when one works, another issue comes up. This is really frustrating.
    Thank you.

    Hi,
    What are NTFS Permissions and Share Permissions of the shared folder? If you remove delete permissions, when someone tried to create a new folder, they couldn't rename it. Without Delete permission, we can open, modify a file and save with the same file name
    but cannot create a new file with a new name.
    For more detailed information, please refer to the thread below:
    NTFS Permissions Question - Allow creation but not deletion
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/3335a9b3-d49a-42f0-970a-3fe44b551274/ntfs-permissions-question-allow-creation-but-not-deletion
    Best Regards,
    Mandy 
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Creating a Network

    Hi,
    I am trying to create a network between a Mac Leopard and Windows Vista. I think my Leopard version has a bug or something because when I try to delete a Location option, the system preferences crashes and appears a dialog box saying: ignore, report or relaunch. When I try to create a Guest user on the mac, it doesnt create any guest user...and it doesn't give an error either. Besides that in the Sharing List Options it doesn't say Windows Sharing.
    What do you recommend me, to erase and reinstall Leopard?
    Its all weird and Leopard shouldn't give so many errors. I ran the Leopard update already.
    Where can I find a step by step guide on how to create a network between a mac and a pc?
    Thanks for your time and help,
    Sylvia
    Message was edited by: sbrom

    See if this helps. First, a list of articles followed by a helpful tutorial:
    Basic Windows Networking and File Sharing for Leopard
    The following articles cover the basics for file sharing and printer sharing between Macs and Windows PCs (Leopard):
    Setting up a Windows computer to share files with Mac users
    Setting up a Mac computer to share files with Windows users
    Can't print to a printer shared by Microsoft Windows
    GUIDE to Networking Windows with OS X
    Cannot locate a shared Windows printer
    Problems with networked Windows printers_ workaround
    Setting up to print to a printer shared by a Windows computer via SMB
    Some of this information is also available through online help. Select Mac Help from the Finder's Help menu and search on the appropriate keywords.
    Simple guide to Leopard/Windows Home Networking
    Written by Intercepter121 and originally posted on the Apple Discussions here.
    If your network complies to the minimum requirements described below you should be able to share resources without any need to enter commands in the terminal to modify configuration files in your mac.
    Requirements
    1. A decent router
    2. Mac Os x 10.5.1 installed on your macs
    3. Windows XP or Vista
    4. Number of network devices <10
    5. Some network printers or drives (NAS)
    6. A decent ISP offering a good DNS service
    General Settings
    If your router offers DHCP and any of the device has power saving features there is a risk that the IP addresses are renewed. This can be problematic as the devices keep changing IP addresses. As this is your network is strongly recommended to reserve IP addresses to the MAC (Machine Address Code) of the various devices so that they can power on and off and still keep the same IP.This simple suggestion will greatly improve the browsing of the local network.
    Accessing Windows Resources from Leopard with no authentication
    Windows
    1. Check the settings of the PC and ensure the IP addresses on the local LAN are trusted
    2. Activate sharing on the desired devices ensuring the shares are read and write. If you use Vista ensure password protected sharing is disabled.
    3. Try to access the windows share from another windows computer if available to confirm no authentication is required
    MAC
    1. Go into system preferences->security-Firewall check that the setting is not on allow only essential services. Recommended settings is allow access to specific
    2. Go back into system preferences network. On the tab location click edit locations. Duplicate Automatic and call the new location Home. Now select the Home location and go into Advanced-WINS. In the workgroup field enter the same value that is on the other windows computers for example HOME. Now press enter then go back to the main screen. Select Edit locations and delete the location automatic. Now edit your location Home and rename it Automatic. This workaround is a leopard bug described here.
    3. Give 5 minutes to allow all the other machines to broadcast their IP address and the other computers should appear on the left side of your finder window. You can now select the shares you want to connect. As no authentication is active if you are prompted with a user name just press OK.
    The procedure to access a NAS is the same as above, just ensure permissions are set to files are read/write for anyone to avoid confusion.
    NOTE: There is no need to activate SMB sharing if you don't want to allow the PC to read folders on your MAC
    Troubleshooting
    After you have followed all the steps you don't see any windows PC.
    Identify the IP address of the machine you want to connect. In finder select Option+K and enter SMB://IPADDRESS. If you can connect you have a name resolution problem. Go into your router configuration and ensure that the option DNS assigned by ISP is selected and you don't have services like Open DNS in use and fixed IP addresses in that field. Apply the changes and reboot the router. You should start seeing windows PC in finder shortly after.
    Your ISP DNS service is poor and you must use Open DNS or similar
    If you are forced to use services like open dns you have the risk that the router propagates the DNS servers to your machines. As the implementation of SAMBA in Leopard effectively blocks the MAC to be a master browser for performance reasons you end in a situation in which tiger machines connect and leopard ones don't see a single share. Let's fix it.
    1. Go into System Preferences->Network then advanced DNS if you see here the IP addresses of the open dns servers this is the case. Unfortunately you will be forced to change the hosts file.
    2.Ensure you have reserved IP addresses to all your machines so that they always get the same IP.
    3. Now login into your mac as administrator and go into utilities=>terminal.
    4. Issue the following command sudo pico /etc/hosts
    5. Now scroll down and enter all the IP addresses and computer names of any device you want to browse
    6. Reboot your MAC
    The windows devices will now appear in finder and you will be able to connect with Option+K.
    You cannot access shares even entering the IP address
    You have not reserved IP addresses to each machine. Go into your router LAN set up and make sure that is the case.
    Accessing Leopard resources from Windows
    1. Go into system preferences->security-Firewall check that the setting is not on allow only essential services. Recommended settings is allow access to specific
    2. Go into System preferences->accounts and click on Guest flag the option Enable guest account to access shared folders
    3. Now into System preferences->sharing select file sharing and then options here flag SMB and select the user that has to be logged into the computer when the share has to be accessed. Ensure that the folder you want to share has read/write or whatever permissions you like it to have set for Everyone
    You should now be able to see your MAC in the windows network resources and access the shared folder with a double click without any password request.
    Troubleshooting
    You don't see any MACs from Windows
    Check the firewall settings at the start of this post. Then go back to the Network configuration hit advanced and then TCPIP check is using DHCP and not a fixed address. Then check the sharing is set as above with SMB clicked. If SMB is not set you won't even see your mac from windows.
    You see the MAC and the shared folders but you can't read or write on it
    Ensure you have set the guest account to access shared folders. Then check on the sharing preferences that there is at least one folder with read permission for everyone. The classic case here is Dropbox that leopard sets as read and write for the user of the MAC but no access for other users. You try to click on drop box and receive an error but when you actually try to write a file you can do it. Check the permissions on the subfolders of the share as those permissions will prevail on the home shared folders
    FAQ
    You may want to do more complicated things, but first ensure you can actually share files without security in place so you can identify the root cause of your possible problems
    I want to password protect my windows shares: once you have done the relative set up in windows vista and ensured you can connect from another windows machine you will need to use user name and password of the Vista user to connect.
    I want to password protect my MAC shared folders: Go into user account and disable guest access to shared folders is no shared folder has to be accessed without password otherwise leave it checked. Create a new user for sharing (better than giving away your password) so that this user only accesses the folders you want to share. In System preferences network select file sharing SMB and flag only the new user you have defined. Then go back to the folder section and set the permissions you like on the folder you want to share for this newly defined user.
    Good Luck

  • How to move the iTunes library to a Windows 7 network location?

    I use Windows 7 and iTunes 11.1.11.
    I use a hard disk over my home network that is currently mounted on Windows via ftp using the default "Add a network location" option in Windows Explorer, so the content of the drive is listed as a folder under "Network location". File access / creation / deletion works just fine with other programs.
    However, when I try to move my iTunes library to the network folder (Edit --> Preferences --> Advanced), I get an error saying "The folder name is not valid".
    I don't care much if I have to mount the NAS differently on Windows or if I have to recreate my iTunes library, but it would be nice to finally manage my Music on the network drive.
    Thanks to anyone who knows what I'm doing wrong!

    If you hold down the option key when starting iTunes, it will allow you to select a library or create a new one.
    You can create a new one, and then add all of your iTunes music back in by simply dragging the old iTunes music file onto iTunes.
    There are more detailed instructions at http://support.apple.com/kb/HT1451#
    It will show you how to re-build your iTunes database file.

  • How do I set up different network locations with different wifi?

    I am having an issue setting up different network locations with different wifi profiles on each. I want to do this to enable fast switching of wireless networks. In my house I have two wireless networks, my own personal one and one that is created by using a wifi modem supplied by my company. If I use the company wifi network then I can get into all my work applications without having to enable VPN access separately. It is also faster. However, they also block many applications including sending email from my personal email account, dropbox, etc. So throughout the day I need to switch wireless networks back and forth.
    I was looking for a faster way to switch and thought I would try network locations. Was able to set up a new network location without issue. However it seems that whatever wireless preferences, changes, or wifi network order I put into my "Work" location it carries over to my other location which is the standard "Automatic".
    What I would like it to have my "Work" location only to be able to connect to my work wifi and my other network (Automatic) to just connect to my home wifi only. That way I can enable faster wifi switching and can even use my launcher program (Alfred) to provide shortcuts.
    Anyway to do this?
    Thanks in advance for any help or advice.

    Just thought I would bump this up in the conversation. Doing a further search I came across this discussion which is similar: Connecting to a wireless network via applescript?
    However, I tried to build the Automator application as discussed and cannot get it to work. Very much a novice at Applescript and Shell Script but have created customized Automator services before. All I get now is "Shell Script command encountered an error". No more detail. I copied and pasted the script as shown in the email thread. Is there any other line or command I need to place in front of it?
    Thanks again for any help

  • Managing Word Templates in Organization on a network location

    Hi
    We use Word 2013 and started to use corporate templates
    currently, our templates are located on our SharePoint Online, which means they're on the web, though most of the users have the template directory synced offline to their local drive with OneDrive for business so choosing and opening templates
    is very easy and friendly.
    The problem
    when someone finished to create a document and want to send it to someone who's not in the corporate network, or even worse, to an external user - their word hangs on the file opening and causes word a massive delay.
    we saw that as a workaround, if the document creator "Divorces" the document from its original template via "Developer >Document Template" and then he send it - the document open smoothly.
    I'm sure it shouldn't be that difficult. we don't need to start educate users to change all their documents' template back to normal
    I don't mind loosing the ability to have the documents update according to their template if something will change on the template in the future.
    we just need the templates as a format starter when creating new documents
    The Question
    what should be the best way to work with templates on a web \ network location that aren't necessary available on the receiver's side?
    thanks
    Tamir Levy

    What you describe is the standard behavior of a document which has lost its template. It is relatively simple include an intercept macro in your templates that attaches documents to the normal template upon the document being saved. Otherwise, you could
    provide a macro that does this and attach it to an icon on the QAT.
    Be aware that you do not want such documents set to update styles from the template automatically.
    What happens when I send my document to someone else? Will Word mess up my formatting?
    Charles Kenyon Madison, WI

Maybe you are looking for

  • AR INVOICE QUERY

    Hi Experts, I want a query that will pick all AR invoices that meet the following conditions:- The card code belongs to a particular customer group, in this case the group code is 108 The invoice posting date is after 21/05/2012 The invoice status is

  • ADFS 3.0 - Internal Server Error 500, Event ID 342

    Hello all, I have a trouble testing ADFS 3.0 (Windows Server 2012 R2) working in a clean test Azure VM environment. First, I did a standard setup (DC and a separate ADFS server machine) with all the default settings, letting wizard to set up gMSA ser

  • Would like to see  General Information of an Image

    Hi, My iMac is running OSX Yosemite Version 10.10. I have a rather simple question, but can't seem to find instructions of how to do so. I would like to have the "General Information" of an image pops up when I open the image in Preview.  In the prev

  • Ipod cannot be updated because it contains files that are in use by an

    My fifth gen/30 ipod is a mess since I installed itunes 7.I can't update or eject the little guy .The message reads"cannot be updated because it contains files that are in use by another application"or "cannot be ejected because it contains files tha

  • JTree stop cell editing on lost focus and scrollPathToVIsible behavior

    how can you make a Jtree that uses a DefaultTreeCellEditor stop editing when it loses focus to a component other than the cell editor's DefaultTextField component ? i had to use a custom TreeCellEditor and attach my focus listener to the DefaultTextF