Using ARD to change user settings

I was wondering if it was possible to use ARD to change the desktop background for all users? This kinda turns into two questions for me since I know nothing about Macs. First, is there an "all users" settings type thing at all, if so where? Second, is there some sort of config file that would store the location of the desktop background so I could eventually copy a new background to a location and change that file to point to the new file, thus upgrading the desktop background?

Hi,
I have created a script to change other functions of remote macs. So this version is an adaptation of my script to your needs. Note that I am changing the admin password. For other user just change the admin name and password accordingly.
Let me know if you need further assistance.
Start of Applescript------
property my_ip : ""
property my_password : "the admin password"
property new_password : "the new admin password"
tell application "Remote Desktop"
-- this is a fixed group of macs that should be added or deleted as needed in ARD
set the_list to computers in computer list "to change"
repeat with i from 1 to number of items in the_list
set this_item to item i of the_list
-- if mac offline skip it
if the status message of this_item is "Available" then
set my_ip to Internet address of this_item
-- log as admin into remote mac
set my_log to "ssh admin@" & my_ip
tell application "Terminal"
activate
-- log as admin
do script my_log
-- there is in some cases the security issue.
-- RSA key fingerprint is ... Are you sure you want to continue connecting (yes/no)?
delay 3
do script "yes" in window 1
delay 3
-- enter the password
do script my_password in window 1
-- do whatever in the remote mac, in this case change admin password
do script "passwd" in window 1
-- Ternimal asks fro existing password
do script my_password in window 1
delay 2
-- Enter new password twice
do script new_password in window 1
delay 2
do script new_password in window 1
delay 5
-- close connection to remote mac
do script "exit" in window 1
end tell
end if
end repeat
end tell
----------end -------
Regards
Mauricio

Similar Messages

  • Using ARD to change user accounts

    Hi,
    I would like to find out whether are there any way if i could use the unix command or script files to change the username and password? Would appreciate if you anyone could assist me? Are there any recommended textbook for apple scripting or apple remote desktop software?
    Thank you!
    Cheers,
    Steph

    Hi,
    I have created a script to change other functions of remote macs. So this version is an adaptation of my script to your needs. Note that I am changing the admin password. For other user just change the admin name and password accordingly.
    Let me know if you need further assistance.
    Start of Applescript------
    property my_ip : ""
    property my_password : "the admin password"
    property new_password : "the new admin password"
    tell application "Remote Desktop"
    -- this is a fixed group of macs that should be added or deleted as needed in ARD
    set the_list to computers in computer list "to change"
    repeat with i from 1 to number of items in the_list
    set this_item to item i of the_list
    -- if mac offline skip it
    if the status message of this_item is "Available" then
    set my_ip to Internet address of this_item
    -- log as admin into remote mac
    set my_log to "ssh admin@" & my_ip
    tell application "Terminal"
    activate
    -- log as admin
    do script my_log
    -- there is in some cases the security issue.
    -- RSA key fingerprint is ... Are you sure you want to continue connecting (yes/no)?
    delay 3
    do script "yes" in window 1
    delay 3
    -- enter the password
    do script my_password in window 1
    -- do whatever in the remote mac, in this case change admin password
    do script "passwd" in window 1
    -- Ternimal asks fro existing password
    do script my_password in window 1
    delay 2
    -- Enter new password twice
    do script new_password in window 1
    delay 2
    do script new_password in window 1
    delay 5
    -- close connection to remote mac
    do script "exit" in window 1
    end tell
    end if
    end repeat
    end tell
    ----------end -------
    Regards
    Mauricio

  • How can you turn off the braille setting on an iPhone 4s, once on it won't let you slide the phone into use mode to change the settings or do anything?

    How can you turn off the braille setting on an iPhone 4s, once on it won't let you slide the phone into use mode to change the settings or do anything?

    An alternate method is Accessibility Settings when connected to iTunes. You should be able to turn it off there. I would also check out some of the answers listed to the right of this post and see if they can help.

  • ***How to use Java to change user password in *mdw file?

    Hi,
    Is it possible to use java to change user's password in the MS Access workgroup file(*mdw)? I have been searching for this topic for a long time, but no discoveries yet. Anyone has any idea?
    Sincerely,
    nonameisname

    There is probably a windows API call that does it.
    Once you find it, you wrap it in C code and then use JNI to call it from Java.

  • Teststand fails to use app with custom user settings

    Hello,
    For a teststand project, I have to use an .Net application that is using a custom settings provider. The problem with it is that each time it is trying to use one of the user setting from teststand, the application returns an exception:
    "Failed to load provider type".
    I tried to illustrate with the small demo project that I attached.
    The .Net application I call from test stand is AppWithUserSetting, and one of the step in the sequence File q.seq is to get a value of a user setting. That's where it crashes for me.
    On the other hand, if I instantiate the same objects and read the same user setting from another .Net application (DoLikeTestStandApp), everything is fine.
    Note that in the settings.designer.cs file of AppWithUserSetting, a custom line was added ([global:ystem.Configuration.SettingsProvider(typeof(AppWit​hUserSettings.UserAppSettingsProvider))] ) to force the program to use the custom SettingProvider. And that's where it fails when loading from teststand.
    Any idea why? At this time, I would rather not remove the usage of that  custom settingProvider since it allows to keep user settings even when upgrading to different version of AppWithUserSettings.
    Thanks and regards,
    Loic
    PS: I am using VS studio 2008 SP1 and Teststand 4.1.1
    Solved!
    Go to Solution.
    Attachments:
    DemoProblem.zip ‏140 KB

    Loic -
    As Doug mentioned, you are indeed running into an issue similar to the one in the other forum thread he pointed to. I have gone ahead and implemented the workaround solution for this issue in your provided example and attached it below.
    Hope this helps. Let me know if you have any questions.
    Manooch H.
    National Instruments
    Attachments:
    DemoProblem.zip ‏156 KB

  • Using copy express for user settings

    I am in the process of setting up 10 company databases on one system.  The same users will have access to all of the databases (over 100 users).  We have laboriously entered form settings for every possible form under the manager user in one of the databases.  We have a script to copy manager's settings to other users. 
    What I need to do is copy manager's settings from the first database to each of the others.  Copy express has an option to copy display settings, and I have attempted to do so.  But I get a message saying that the record already exists in the target database.  I know that manager has never changed any form settings in the other databases, so I don't know what record it is referring to.
    Can anyone help with this?  Thanks.

    Hi!
    SAP B1 has the new feature of copy one user form settings to another. For B cluster it is 2007B PL 15.
    Please refer SAP Software Center info and update to required patch.

  • JClient/ADF How to use JCLoginDialog to change user

    Hi,
    can anyone give me a clue how to use JCLoginDialog that is automatically generated during design time ?
    I`d like also to add there database name and sid to change also database not only user during run-time.
    thx in advance,
    Jacek

    i,
    JCLogin Dialog is a JAAS based authentication dialog that doesn't perform database authentication or connection. We are workin on a whitepaper explaining what needs to be done to write a database login screen instead
    Frank

  • Using ARD from Xserve to Xserve

    We currently have two offices separated geographically but each office has an Xserve running the server software. Both servers act as routers, DHCP, and NAT, etc for computers that are internal to each office. We host our own email, web, DNS, etc ourselves although the server in one office does most of the work with the server in the other office acting as a backup and to act as a router, etc for the other office.
    I am trying to use ARD 3.1 to connect to the computers in this other office so I can both do asset management and offer help to users as well as other tasks. So I want to be able to use the full abilities of ARD.
    Reading through the posts it seems that the best way to connect the two is either to use a series of VNC connections and port forwarding or to set up a VPN connection between the two servers. After some effort I set up VPN on the second office computer and I can open a VPN connection from the computer that I use for management here in my office.
    However although ARD will find a single IP number the network range is not successful in finding any computers. Trying to connect to a single known IP will result in a successful verify but the connection always fails. The user that I am testing with has installed the client software and everything seems to be on but it still doesn't work.
    At this point I don't know what to do. I am not even sure if the VPN connection is working properly. I can not ping any of these IP numbers so I am wondering if this means it (VPN) is not working properly.
    Any suggestions as to how to proceed would be most appreciated.
    various   Mac OS X (10.4.9)  
    various   Mac OS X (10.4.9)  

    Well I never did get any answers to my question but in the end with some experimenting I solved the problem. And the solution was quite simple.
    I wanted to be able to use ARD to support users in another office as well as my local office. Both offices have an Xserve running server software. Both servers provide internet access for the computers in each local intranet.
    I first created a VPN connection on the second xserve using the builtin tools provided. Then I made sure that the firewall was open to the VPN connection.
    From the computer I use as the ARD admin user I opened up a VPN connection to the second computer.
    At this point it did not seem to work. I tried various things to fix it, many of which have been suggested in this forum. None of them worked.
    Experimenting with the settings for the Network Port Configurations I moved the VPN port to the top of the dialog above the standard Ethernet connection. Not having much to lose I again tried the VPN connection and ARD and it worked!
    ARD was able to find the computers on the second network and connect to them.
    various   Mac OS X (10.4.9)  

  • SOST parameter in User Settings

    Hi,
    Currently in our system, we have a req to send mails to the UWL, SAP inbox and Outlook of the user through workflows.
    By this, I mean that if there is a notification going to the SAP inbox and UWL, it should be routed to the outlook directly as well.
    I know it is possible by putting a send mail step with the external email id in the workflow. However we are looking at using the SOST and user settings for the same.
      Some time back we were able to achieve it by setting the communication parameter of the user to 'space' . However the security team and the BASIS team were unable to determine what settings were in place for that scenario to work.
    Is it possible in the first place?
    Please give your suggestions on how to make it work.
    I would appreciate any supporting documentation for the same.
    Thanks and Regards,
    Soumya G
    ABAP Developer.
    Edited by: Soumya Gayatri on Oct 27, 2009 4:39 PM

    If you want to use SOST, you need to make the relevant configuration settings in Transaction SCOT.
    You need to have a node defined for use against the INT or RML servers. If you have a Web application server, you can then assign the TCP/IP RFC connection to your mail server and activate the periodic send jobs. If you have an old style application server, you will then need to configure your separate ICM server to talk with your mail servers.
    Once you have the configuration setup in SCOT, you will then see emails flowing through SOST.
    If you need further information, please feel free to contact me.
    Simon

  • I recently changed my apple id and I acan not change the apple id on my iphone 4. I am trying to change the settings for user name on the icloud setting on my phone and it will not let me change. Can someone please help me? I appreciate it.

    It only has gray letters when I try to change my apple id iin my icloud user settings. How can I change my apple id to my new email address and password? My old one was hacked.

    Yes, but if you delete the iCloud account and start again, don't you have to wait 90 days for everything to start syncing??  I've been having this problem for months and no one seems to be able to figure it out.  I used to have one Apple ID (which was not an email address) and then when iOS came along....and iCloud, they force you to use your email address as ID ....which actually sets up a SECOND Apple ID.  I have a Mac, iPad, iPod touch and iPhone.  the Apple techs tried to delete the iCloud accounts so that they all said the same thing (email address ID) but then I had to wait 90 days.  the 90 days just passed and nothing is automatically syncing yet.  I still think there are 2 accounts but if I delete all again.....it's going to be another 90 days (for security reasons, I was told).  This is a real pain in the butt.

  • How to restrict non root users from changing proxy settings Ubuntu 12.04?

    I have two Ubuntu 12.04 Desktops with Ncomputing vSpace software configured for remote terminal users of Ncomputing L300 thin clients. Both these desktops have Squid configured and connected to internet. So in a way users logging in to these machines can directly access internet without squid. Now users can remove the proxy and have unrestricted access anytime. Which is the reason I want to enforce proxy on users settings which they cannot change. I am fine if the settings makes it mandatory for root or sudo user of Ubuntu. Is this possible ?

    Use a mozilla.cfg file in the Firefox program folder to lock prefs or specify new (default) values.
    Place a local-settings.js file in the defaults\pref folder where also the channel-prefs.js file is located to specify using mozilla.cfg.
    pref("general.config.filename", "mozilla.cfg");
    These functions can be used in the mozilla.cfg file:
    defaultPref(); // set new default value
    pref(); // set pref, but allow changes in current session
    lockPref(); // lock pref, disallow changes
    See:
    *http://kb.mozillazine.org/Locking_preferences
    *http://mike.kaply.com/2012/03/16/customizing-firefox-autoconfig-files/
    *http://mike.kaply.com/2014/01/08/can-firefox-do-this/

  • Before using the current Mac version Yosemite, I did not have an Administrator password.  It seems now that one is required to unlock and make changes in settings.  I have tried all my usual passwords but to no avail.  any ideas???

    Before using the current Mac version Yosemite, I did not have an Administrator password.  It seems now that one is required to unlock and make changes in settings.  I have tried all my usual passwords but to no avail.  any ideas???

    Boot into Recovery. OS X: About OS X Recovery - Apple Support
    Select Terminal from the Utilities menu.
    At the prompt type,
    resetpassword
    Hit return.
    Follow the prompts in the utility to select hard drive, then user.
    Reset the password.
    Exit the utility and restart.
    You will need to log in with your new password, but your keychain will not be reset.
    I’m not sure what access you’ll have to the old keychain since it didn’t have a password. You may be able to get into the keychain and reset the password to match your login password.

  • Windows 2008 R2, Internet Information Services: Changing security settings to change a folder's content by using PHP

    Hello,
    I would like to ask if somebody's there who could help me:
    I am a PHP developer from Stuttgart, Germany.
    In my PHP web application I want to edit text files by using PHP code.
    These files are created once (by me), so they exist before the PHP application is used by any web user.
    My PHP code reads out some text files and other text files' contents are changed.
    In my developer's environment (Windows XP, XAMPP) it works fine.
    So I'm sure my code is OK.
    But the productive system ist a windows server system (Windows 2008 R2 and Internet Information Services).
    And here it doesn't work! The text files' contents aren't changed.
    I know on windows based webserver systems I have to change the folders security settings
    (what I mean: the folders where the text files are placed). I must give the IIS system user (in the past it's name was IUSR..., now it is named otherwise) additional rights, so that it can change folders content.
    I did. But it doesn't work.
    Some years ago when we used Windows Server 2003 that was the solution that worked.
    Giving the IUSR right to change folders content. That was it.
    But what is new in Windows Server 2008 that it doesn't work?
    I think it must be very complicated. Could somebody help me?
    Thanks
    Tommy

    Hi,
    This is IIS related issue, so you may post in the IIS forum.
    And it seems like that you have already post there, please follow it up to get further assistance
    http://forums.iis.net/t/1208164.aspx?Windows+2008+R2+Internet+Information+Services+Changing+security+settings+to+change+a+folder+s+content+by+using+PHP
    Regards,
    Yan Li
    Regards, Yan Li

  • Windows 2012 RDP "resets" user settings while using Roaming Profiles

    Last month we installed a RDP environment running a Windows 2012 DC and 2 Windows 2012 RDP servers. The RDP servers are running in a pool.
    For the rest it's nothing fancy.
    The problem is that user-settings are reset, most likely during logon. This only occurs when we use Roaming Profiles.
    - We create a new user, in a container with no GPO's attached.
    - This user gets a RP while logging on, no errors, at logoff the RP is written to it's correct folder.
    - Logging on again. Now for example I make Chrome standard browser and change the program which opens JPG files.
    - Logging off
    - I check the NTUSER.DAT in the RP folder and the changes I made can be found in the file. So it has been saved to the NTUSER.DAT.
    - Now I login again and check the settings I made. IE is standard browser again and the JPG setting is also back to standard.
    - Logging off
    - Checking the NTUSER.DAT in the RP folder and yes, everything is back to default.
    Now the funny part is, when I create a user with a local profile, everything is working properly. Settings been saved.
    It doesn't make a different what kind of user it is. Domain User, Domain Admin. They all have the same problems when using RP's.
    No error messages in the Event Viewer.
    I'm clearly unable to solve this problem. Hoping someone can help me on this one.
    What makes the settings reset at logon while using Roaming Profiles?
    Thanks!

    Hi,
    Thank you for posting in Windows Server Forum.
    Have you enable Cache copies option of roaming profiles?
    This issue might occurs because the User Profile service does not load the terminal server roaming profile correctly after the user account password is reset.
    When the Delete cache copies of roaming profiles Group Policy setting is enabled, and when a user is prompted to change the user account password, the User Profile service loads a local temporary user profile. The User Profile service loads this user profile
    to perform the password reset operation. However, the profile changes to a combination of the local temporary profile and of the roaming profile after the user password is reset. Therefore, the terminal server roaming profile is not loaded correctly.
    In addition, please try to delete the SID of the user from registry key and check the result. You can follow the below path.
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
    More information:
    You receive a "The User Profile Service failed the logon” error message
    http://support.microsoft.com/kb/947215/en-us
    Also check “User Profiles on Windows Server 2008 R2 Remote Desktop Services” article.
    Hope it helps!
    Thanks.
    Dharmesh Solanki

  • Change default settings when user share file

    When users click on share file default setting is:
    Can edit and mark send an email invitation.
    Is there possible to change to:
    Can view and NOT mark an email invitation

    Hi,
    According to your description, you want to change default settings to
    can view and uncheck send an email invitation when user share file.
    To by default uncheck send an email invitation.  Go to the file "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\TEMPLATE\LAYOUTS\AclInv.aspx".
    You can change:
    <wssawc:InputFormCheckBox
    runat="server"
    id="chkSendEmail"
    Checked="True"
    LabelText="<%$Resources:wss,aclver_SendEmailCheckbox%>"
    To
    <wssawc:InputFormCheckBox
    runat="server"
    id="chkSendEmail"
    Checked="False"
    LabelText="<%$Resources:wss,aclver_SendEmailCheckbox%>"
    Here is a similar post, you can use as a reference:
    https://social.technet.microsoft.com/Forums/office/en-US/f250aa4a-94f0-4603-9da2-e9040d5d6133/how-to-by-default-uncheck-send-an-email-invitation-when-granting-access?forum=sharepointadmin
    To by default can view. Go to the file "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\TEMPLATE\LAYOUTS\AclInv.aspx".
    You can add the following code into the function _spBodyOnLoad():
    document. querySelector('[id$=DdlsimplifiedRoles]').value="role:1073741826";
    Best Regards,
    Lisa Chen
    Lisa Chen
    TechNet Community Support

Maybe you are looking for

  • Report Prompt & User Response

    Hello All,          Created a BOBJ Report from BEx query. I need to achieve the below tasks for the report.          1. List of Values shows leading zeros on the Report Prompt, can we remove those leading zeros on the              report prompt ( BEx

  • Younger sibling accidentally stained my macbook pro with nail polish, how to erase it?

    So my younger sister painted hearts on the upper case of my Macbook Pro and I tried removing it with nail polish remover but there are stains left and I have no idea on how to erase the stains. I am avoiding on using nail polish remover again because

  • Events and AdvancedDataGridRendererProvider

    <mx:rendererProviders> <mx:AdvancedDataGridRendererProvider column="{someCol}" id="myRenderer" renderer="util.TheRenderer"/> </mx:rendererProviders> if I use myRenderer.addEventListener("customEvent", function2call); I get the error: 1061: Call to a

  • Site text is all [A] characters

    I  just istaled Lion and Safari is displaying certain text as all [A] characters. even as i type this i can't see what i'm typing so forgive my spelling. i have suitcase fusion installed - latest version. tried disabling fonts. tried safari prefs for

  • Timeline moving when I make a Speed change!!  Can this change?!?

    As I'm sure everyone is aware, when you change the Speed of a clip to either slow it down or speed it up the entire rest of the time changes with it. For example, if I speed up a clip I am editing at the beginning of my sequence every clip after it m