Address Book write LDAP server command via terminal or remote desktop

Hi folks.
I was wondering if anyone has had any experience issuing an 'address book' setting command, to ADD an LDAP entry, via terminal or remote desktop?
In particular, I want to "ADD" a new "LDAP" entry for a specific server, on 40 workstations, using terminal or remote desktop, so that I don't have to leave my desk
I recall that you can issue commands from the terminal, starting with "write"... to add such preferences.
Any thoughts, ideas, or inspiration?
Many thanks,
Derek

Hi,
As far as I know, We couldn't use Command Shell as you list to establish a Remote Desktop. You can use
mstsc /? command to view all mstsc.exe command parameter. We can use the command
mstsc [<connection file>] to establish a Remote Desktop Connection.
However, why did you want use command shell to establish a Remote Desktop? It would be more convenient using
mstsc [<connection file>] command to establish a Remote Desktop.
If you need further assistance on this particular issue or any other Windows related issue, let us know and we will be glad to assist you.
Roger Lu
TechNet Community Support

Similar Messages

  • Restore a user's Address Book on Lion Server with TimeMachine available

    Has anybody found the solution to restore a single user's Address Book on Lion Server with TimeMachine available

    I recently needed to restore an older version (by a few hours) of my AddressBook DB (on Lion Client) and Time Machine simply kept crashing!  Finally, what I had to do to get it going was to quit AddressBook, delete the contents of ~/Library/Application Support/AddressBook, and then open that folder within Time Machine (via Finder), so as to only restore (an older version of) the "MetaData" folder within (and nothing else).
    Hope this helps.

  • I need windows 7 screensaver to activate after terminating a remote desktop session

    I need windows 7 screensaver to activate after terminating a remote desktop session
    Ok, so this one is slightly complex.
    I have a monitor at work which needs to display company info via a screensaver set to scroll through a series of images. This is a pretty standard thing, but where my problem occurs is that the screensaver must be updated remotely each
    day via Remote Desktop, and not by a local user sitting at the PC itself. This works on XP with a bit of hacking and playing with settings. But it won't work on W7.
    Ok, so the XP setup first:
    When terminating the remote session, on the XP machine the system looks here:
    C:\windows\system32\config\defaultprofile\administrator’s documents\administrator’s pictures
    OR
    C:\WINDOWS\system32\config\systemprofile\ administrator’s documents\administrator’s pictures
    for the images to display during the screensaver, so I placed a shortcut to this folder (whichever one of the two it is on either of the two PCs i am doing this on; for some reason it isn't always the same path across all machines)
    on the desktop and had the user place the images in there. I also do a small registry hack so that after a timeout of 60 seconds, the screensaver looked in this location, found the images, and displayed as you'd expect. It always looks here after a remote
    session, and ignores the screensaver configured in the control panel UI, hance these stpes were necessary.
    So, now the PCs are being upgraded to W7, but this isn't working. I think it's because on W7 the desktop isn't simply being locked when a remote session is started, the entire user is being logged off. Once the session is terminated,
    the W7 PC sits at the login screen indefinitely and no screensaver ever displays.
    Does anyone know a workaround here? Sorry for the overly complex explanation, and if it doesn't make sense I'd be happy to elaborate. Thanks.

    Hi,
    Please see if the Screen saver timeout setting helps:
    Group Policy Settings for Personalization
    http://technet.microsoft.com/en-us/library/ee617164(v=ws.10).aspx
    Thanks.
    Nicholas Li
    TechNet Community Support

  • [Forum FAQ] Available updates for Terminal Services/Remote Desktop Services

    The table summarizes the available hotfixes and updates for issues that can occur in Terminal Services/Remote Desktop Services.
    Terminal Services (Remote Desktop   Services) in Windows Server 2008
    KB
    2312539
    Remote Desktop Services (Terminal   Services) on Windows Server 2008 R2 SP1
    KB 2601888
    Remote Desktop Services in Windows Server   2012
    KB 2821526
    Remote Desktop Services in Windows Server   2012 R2
    KB 2933664
    Thanks for the suggestion of
    armin19.
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    I'm interested in that issue as well as a lot of our Clients would like to deploy Adobe Creative Cloud apps in their Enterprise. As I'm a Citrix virtualization engineer I'd like to have an official Statement from Adobe whether or not their products can be licensed and installed on either Citrix XenDesktop (formerly XenApp) Servers and/or virtual Desktops (VDI Environment). This questions Needs answering from both a licensing as well as technical Point of view. So please Adobe, share your knowledge with us.
    Alex

  • How do I find out my MBP's 'server name?' to run Remote Desktop Connection?

    How do I find out my MBP's 'server name?' to run Remote Desktop Connection?

    Hi Dave,
    You need to type the server name that was assigned by your mail administrator for the server running Exchange. So please ask your administrator for the Server name. Thanks for your understanding.
    For more information, here is an article for your reference.
    Add or remove an e-mail account
    https://support.office.com/en-ca/article/Add-or-remove-an-e-mail-account-ff7c7735-6117-4b0d-aef6-8aa8a072f60f
    Hope this can be helpful to you.
    Best regards,
    Amy Wang
    TechNet Community Support

  • Address Book and iCal Server backups

    I'm working to implement a company-wide Address Book, iCal, and iChat server via Lion Server where I work, and I've gotten most of the setup figured out (I think), and am approaching the point where I can roll it out to a few users for further testing.  However, before I'm allowed to move forward any further w/ it I have to have two means of backing up in place and ready to be rolled out at the same time as the server—so I'm planning on using Time Machine as one so it does the entirety of the server and its data/settings, but they also want me to do one of the Address Book Server and iCal Server databases individually, like back up the folder the data is, so we can, if ever necessary, import the backup databases to another computer, so we at least have the content, if not the full server functionality.  And, for obvious reasons, it can't be backed up locally. 
    So I'm looking for a means of doing this and would love any input anyone has.  Ease of use/setup is pretty important as this is my first time setting Server up and I've no programming knowledge.  I'm fairly sure I'll be able to find (or write my own, though that's unlikely) or modify and AppleScript that simply copies/duplicates a Finder item, and I know I can have iCal automatically run a script (so I'd just have it run every night at midnight or something), but I have yet to figure out how to get the script to copy the folder to a specified location on a different server (or, for that matter, if it's even possible, though I'm sure it is...right?).  But that's not what I'm trying to ask here...though I certainly wouldn't mind if someone had thoughts on it and wanted to share them !  I just really would like to know which folders to back up, since it's not simply making an archive of the local Address Book.app database.
    And, since I'm already here writing a post, I'll ask one other question that's been nagging at me: in Server Admin.app, with the server (not the services) selected in the sidebar on the left, the Access pane selected in the primary Server Admin window, and Services selected, and trying to dictate which users/groups can access which services, the user can click the "+" in the lower-left corner of the window where added users would appear, and another window pops up next to the Server Admin window that shows a list of the users (and groups if you click the appropriate button).  My question is, why does it show me _krb_anonymous, _krb_changepw, and a total of 81 other items?  I understand more or less what they are (in a very general sense), but why are they shown as users?  More importantly, do they have to be listed there?  Technically I'm probably the only one that's going to be the administrator, and I'll know not to add them or modify them, but I don't want anything related to those items appearing in a directory search in Address Book when I get it set up (as they are showing up now; for instance, one user I created is Sandy, and I have it set to include directory contacts in searches, so on a client machine that is correctly communicating w/ the server (add a user, it appears in a minute on another client machine, and vice versa) if I go to search for that name as soon as I type "s" Sandy, the actual user shows up, but so do five or six other things, all of which are items from the aforementioned list in Server Admin (pretty much anything that has an "s" in it, which of course makes sense)—and that's what I don't want, I don't want the users to search for someone, see something like _krb_anonymous pop up, then think something is screwed up and call me and demand I come fix their computer!).
    Any thoughts, suggestions, and such are more than welcome and much appreciated!
    Thank you to all...

    See the following:
    Folders You Can Move to Your new Mac
    From the Home folder copy the contents of Documents, Movies, Music, Pictures, and Sites.
    In your /Home/Library/ folder:
    /Home/Library/Application Support/AddressBook (copy the whole folder)
    /Home/Library/Application Support/iCal (copy the whole folder)
    Also in /Home/Library/Application Support (copy whatever else you need including folders for any third-party applications)
    /Home/Library/Keychains (copy the whole folder)
    /Home/Library/Mail (copy the whole folder)
    /Home/Library/Preferences/ (copy the whole folder)
    /Home /Library/iTunes (copy the whole folder)
    /Home /Library/Safari (copy the whole folder)
    /Home /Library/Calendars (copy the whole folder)
    If you want cookies:
    /Home/Library/Cookies/Cookies.plist
    /Home/Library/Application Support/WebFoundation/HTTPCookies.plist
    For Entourage users:
    Entourage is in /Home/Documents/Microsoft User Data
    Also in /Home/Library/Preferences/Microsoft
    For FireFox:
    /Home/Library/Applications Support/FireFox
    /Home/Library/Preferences/org.mozilla.firefox.plist
    Credit goes Macjack for this information.

  • Address Book in Lion Server....Read Only

    Hi,
    Is there a way on how to making the addressbook server read only (meaning can't be edited)?
    Last year, I setup a Lion Server for a company that will serve as an Addressbook server for them and at the same time
    configuring their devices via Profile manager. Problem is every now and then, clients unintentionally sometimes adding address or deleting
    some of the address (phone numbers) in that addressbook resulting to frequent remake of the companies shared addressbook.
    Here is my desired setup:
    An addressbook that only the admin can made a change (add/delete contacts).
    Im looking into LDAP as a addressbook but Im not familiar with it.
    Thanks in advance...

    Did anybody answer back to you yet about how to setup READ/CREATE/EDIT/DELETE rights on the Address Book Server ! We have had poeple in our company ereasing entries on shared address books so many times that we are thinking about switching back to windows.... I mean come on people at apple, these where the basics back in the days of DBase, how can they be missing today... I have trouble comprehending this way of thinking!
    I found this site on the net wich looks somewhat what I am looking for, but this seems to influence the whole server, I need this on address book level though:
    http://jumboframe.net/jumboframe/making-the-apple-address-book-server-a-read-o
    Help!

  • HT2486 connect address book to connect server

    When I update my contacts on my Connect Server, it doesn't seem to sync with Apple Address Book (Lion).  I'm sure I have the account and server information correct (I'm using the same connections as I use for iCal, which seems to sync nicely).  Am I doing something wrong or does Apple Address Book not sync to Connect Servers?
    Thanks,
    Jeff

    Under Tools (or AppMenu/Options)/Options/Composition/Addressing, make sure "Local Address Books" is checked.
    Another option is to show the Contacts sidebar in the Write window (press F9).

  • Address Book / Corporate Directory server (JES3)

    Many of our users are pop and access mail via various browsers. Switching from o=xyz.com to o=xyz.com,o=abc will require users to update their address book "search root" to the new DIT. Is there any way to configure either messaging server or directory server to reconstruct (or redirect) a request made to o=xyz.com to the new structure?

    Just wanted to let you know that I did find a solution. Using a smart referral works for this purpose, in that a lookup of o=smart_referral_domain.com allows search (and auto_completion) of user/group mail addresses in the o=x,o=y config.

  • Address Book and Exchange Server - NO NOTES SYNCING???

    I have my address book syncing very nicely with my exchange server, but notes do not seem to want to sync. If I create a note on the web access, it doesn't copy to the address book, and none of the address book notes copy to the exchange.
    I can't get an answer out of Apple Support either if they are supposed to sync or not! Has anyone here gotten notes to sync with exchange?
    Thanks so much. I have searched for over 4 hours on Google and these boards, and noone even mentions notes, leaving me to believe that they SHOULD sync.

    Arrgggh! That's a bummer, they could just strip out the notes if they had attachments or something.. or give an error. I have no attachments, and notes are extremely important to me.
    Oh well.. there goes my ability to do away with Entourage!

  • Connecting to Address book using LDAP

    I'm using the Outlook connector to connect to the Novell Address book, but
    users in the address book show up as [email protected] Is there a way to
    chage this view such that is shows [email protected]?

    Phillipn,
    It appears that in the past few days you have not received a response to your posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Do a search of our knowledgebase at http://support.novell.com/search/kb_index.jsp
    - Check all of the other support tools and options available at http://support.novell.com in both the "free product support" and "paid product support" drop down boxes.
    - You could also try posting your message again. Make sure it is posted in the correct newsgroup. (http://support.novell.com/forums)
    If this is a reply to a duplicate posting, please ignore and accept our apologies and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • How can I sync my Address Book and ICal with Mac and PC with Palm Desktop?

    I now have the IPhone and I love it!!! But I have some issues and need help please. I have a PC at work and a Mac at home. In the PC I use the Palm Desktop Version 4.1.4 and I have there all my contacts (more than 1,100), all my date book (since 1998) and all my memos (about 600). I want to see what would be the best way get rid of my Palm Handheld and have only the IPhone, but I have encountered some problems and many steps. Everyday I have to sync the Palm Handheld at work, then sync the Palm Handheld at home with my Mac (using The Missing Sync, but it takes a long time every time), then sync the IPhone. Can you please help me??? How can I sync my data from my PC (Palm Desktop) with the IPhone? Another, thing; I do not want to use Outlook at work because the information that I want to sync (Palm) is my personal data and I want to keep using the Palm software for that.

    aflores48,
    Unfortunately, the iPhone is not designed to sync with Palm software. As stated in the minimum system requirements, the iPhone can sync with Outlook (2003, 2007 or Express) on a PC, or with iCal and Entourage on a Mac. If you do not want to use Outlook on the PC, you can sign up for a free Yahoo account and sync with Yahoo Address Book. Yahoo Address Book can be used to sync from PC or Mac. More information on the minimum system requirements for the iPhone can be found here:
    http://docs.info.apple.com/article.html?artnum=305703
    More information about syncing the iPhone with your computer (including Yahoo Address Book) can be found here:
    http://docs.info.apple.com/article.html?artnum=305741
    Hope this helps,
    Jennifer B.
    Message was edited by: Jennifer_B

  • Windows server 2012 and windows xp remote desktop connection loss

    I am having this problem for a month now, and i am stumped with trying to find an answer . I have talked with several network admins in my area and with no luck i have not found a solution. I have a windows server 2012 placed with 5 pcs that are connected
    on a local network , those 5 pc's connect to the server via remote desktop. List of pc's:
    1x Windows 7
    4x Windows XP SP3
    All have the latests network drivers, all have the latest version of remote desktop installed. All have been scanned for viruses. All have antivirus software.
    Problem is the 4 XP machines lose connection on when connected via remote desktop. If one starts losing connection the other 3 start to lose the connection aswell. The windows 7 machine is not affected by this it works fine.
    What have I tried:
    Scanning for viruses.
    Disabling Firewall and antivirus software.
    Updating all drivers.
    Did many changes to group policy like keepalives etc.
    Turning off SMBv2 SMBv3.
    Turning off network adapter Offload settings.
    Changed some registry settings like keepalive, smb etc.
    Updating every pc and server with all windows updates.
    Changed the router and switch.
    Port forwarded needed ports like 3389.
    Updating remote desktop to 7.0.
    I might be forgetting some stuff i will add as i remember anything.
    So the thing is this. I use a Windows XP machine from my office I remotely connect to the server via the Internet and I DO NOT experience any connection loss. BUT the XP machines on the local network constantly experience connection loss via remote desktop.
    I pinged every Machine from the server via CMD command PING. So when they lose connection the Packets get time outs . Packets get dropped between 1-10 packets when a connection is lost. This packet drop does not occur when using the internet or anything else.
    ONLY when connected to the server via remote desktop. The packets get dropped at random intervals.
    Problem is I use an XP machine and I am not experiencing any loss of connection , while the XP machines on the local network experience it , but not the windows 7 machine.
    Router is ASUS RT-N53 , and switch is Dlink DES-1008D. Server is a Dell PowerEdge T110 II.
    Can someone please tell me what can i do to solve this problem?

    So today got some word from their office. They were using RDP from 8AM until 12PM all was working fine. Then got back after lunch about 1PM and got a few connection lost errors when they tried using RDP again. Its weird since they didn't have disconnects
    in the morning, and started having them after lunch.
    Also noticed, that two pc were not using RDP and were disconnected as shown in task manager. And they still got request timeouts.
    Maybe this is not a remote desktop issue?
    TASK MANAGER
    The 2 disconnected pc's ping screens:

  • 4150L - Works on web, but can not connect via VPN or Remote Desktop

    Recently purchased a 4150L and installed the latest firmware.  We have been able to access all public websites without any problems.  But, when we try and access our customers computers via VPN (various types) or Remote Desktop, we can't connect.  We can sign-in to VPN, but when we try and access the computer, it says "can't connect".  Exact same message with Remote Desktop.   We are able to connet when use a Verizon phone as a hotspot and from every other internet service that we have tried (i.e. hotels, starbucks, etc.)   It appears it is an issue with the 4150L.
    Verizon Tech Support has been no help!
    All ideas are appreciated!
    Thanks,
    Skip

    Skip,
    VPN traffic should be allowed through on the MiFi 4510L by default.  I know I do not have any issues with mine on either the Cisco IPSec or Cisco SSL VPN Clients.
    If Verizon DNS is interferring then perhaps you could try to connect to your VPN via a direct IP Address instead of a URL.  Not sure what VPN client you have but there should be a No DNS option to connect if you know the correct IP.  You could also try switching your DNS to one of the free ones such as the one offered by Google or any of the others.
    VPN's carry alot of overhead on existing connections in my experience.  Its not untypical to have a 3G connection cut in half when a VPN is applied.  Try running a speed test to make sure your connection is atleast 1 MB on download before initiating a connection.  If the performance of the MiFi is too poor in that area it may never be stable enough to support a connection.  Feel free to post some Speedtest.net averages so we can see what you are working with.
    Something to note about the MiFi 4510L is that it is on the SIM card network.  That means that NAT is always going to be an issue and block your users from providing a truely public IP Address.  Directly remoting to them through any means will be nearly impossible.

  • Windows server 2012 stops accepting simple remote desktop clients

    Hi, I have a Standard Windows 2012 Standalone server as host for several Virtual machines ( f.e. AD and Exchange)because I do not use a keybord ar mouse for that server I always use simple RD to maintain that host.
    Since sunday I cannot connect anymore. I checked Rd configuration, network and Client ( W7). Nothing to find why.
    Se below the result of checking the host:
    Windows PowerShell
    Copyright (C) 2012 Microsoft Corporation. All rights reserved.
    PS C:\Users\Administrator> get-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Terminal Server'-name "fDenyT
    Connections"
    fDenyTSConnections : 0
    PSPath             : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal S
                         erver
    PSParentPath       : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control
    PSChildName        : Terminal Server
    PSDrive            : HKLM
    PSProvider         : Microsoft.PowerShell.Core\Registry
    PS C:\Users\Administrator> get-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Terminal Server\WinStations\R
    P-Tcp' -name "UserAuthentication"
    UserAuthentication : 0
    PSPath             : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal S
                         erver\WinStations\RDP-Tcp
    PSParentPath       : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal S
                         erver\WinStations
    PSChildName        : RDP-Tcp
    PSDrive            : HKLM
    PSProvider         : Microsoft.PowerShell.Core\Registry
    PS C:\Users\Administrator> get-netfirewallrule -DisplayGroup "Remote Desktop" | format-table Name, Enabled -autosize
    Name                          Enabled
    RemoteDesktop-UserMode-In-TCP    True
    RemoteDesktop-UserMode-In-UDP    True
    So everything seems to be correct.
    I do not have installed Remote desktop server/services etc. because ther is no need to.
    I did not change anything on the host, no updates etc short before the problem occurred. Even not on the clients
    Where to look to find the solution. On internet I could not find it, only that what I already checked.

    Hi,
    Thanks for your comment. Sorry for late response.
    How many users you are trying to remote desktop at a time?
    I am asking here because from your troubleshooting you have done all your steps but seems you are moving out for more session connection and that’s why you can’t connect.
    Because by default server only provide 2 remote session at a time and that is also for administration purpose. So if you are trying to get more than 2 remote session for your server then you need to install RD Licensing server, activate the server, purchase
    RDS CAL (per user or per Device) as per your requirement and then configure them. After this you can get more connection.
    Please clarify and review this point 1 under this KB 2477176 article (only for reference).
    Hope it helps!
    Thanks.
    Dharmesh Solanki
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

Maybe you are looking for

  • Using a Mac laptop within a Novel client environment

    I have been working for a company that uses Macs exclusively and starting with one that is PC based. Moreover, they use Novel for their client server access. I hate that I might have to give up the use of a Mac laptop at work (I have an iMac at home

  • Capturing Audio

    I'm afraid it's not really a new topic. How can I capture the audio part of my videos from my mini-DV camera, using Final Cut Express? Tonight I had a 'genius' appointment, but the very nice young man knew nothing about Final Cut, and all the 'creati

  • White screen of death and computer halts with ATI 4870 in Boot Camp

    Hi! I have just received the ATI Radeon 4870 for my Mac Pro (Early 2008)and have upgraded my Leopard to 10.5.7 and works fine on the Mac side. When I reboot and hold the command key I can see my MAC and my BOOT CAMP 2 options as always before. When I

  • Hide navigation area from Shopping Cart window

    Hi All, We are facing a strange issue in Shopping Cart Page.. From the POWL screen when we are clicking on "Display" button it is opening  com.sap.pct.srm.core.iv_shopprof iview in a new window. But all the navigation are still showing in the page. W

  • Iweb general error when uploading to mobile me or a folder

    Used to work just fine and now it will not upload at all. Any suggestions??? General error doesn't help me at all!