Remote Site Code change

Does anyone know of a trick to get the SCCM Client Center (by Roger Zander) to change the site code on a remote system?  I change the site and click the blue save floppy disk icon, and no errors but it doesn't work.  I found a VBScript
example that does it on the local system but can't get that to work unless I use PsExec.
Ideally I'd like to change the site code for amultiple systems in a list, rather than one at a time.  Any suggestions? 

Is the site code for a site in the same hierarchy or a new one? If it's in a new hierarchy, chaning the site code of a client will fail because the client des not have the trusted root key for the new hierarchy:
http://blogs.technet.com/b/configmgrteam/archive/2009/04/09/reassigning-a-configuration-manager-client-across-hierarchies.aspx.
If it's the same hierarchy, you need to look at the client log files to figure out what is going wrong, specifically LocationServices.log.
For a script to change the site code en masse, you should be able to use the one posted in the last entry in this thread:
http://social.technet.microsoft.com/Forums/en-US/configmgrsetup/thread/90272410-19d8-4bb7-8ad1-fc9ff53aff72.
Jason | http://myitforum.com/cs2/blogs/jsandys | http://blogs.catapultsystems.com/jsandys/default.aspx | Twitter @JasonSandys

Similar Messages

  • How do I change the assigned site code on a REMOTE client via WMI (C#)?

    Hi
    I was wondering if it is possible to change the site code on a client remotely via WMI. I have found one or two links to this, eg
    http://msdn.microsoft.com/en-us/library/jj874135.aspx
    and
    http://social.technet.microsoft.com/Forums/systemcenter/en-US/67b671bb-4819-4e7a-a4f6-6cb7ded17722/sccm-2007-change-assigned-site-code-on-clients?forum=configmgrgeneral
    However none of these will allow me to change it remotely directly from my machine. I have written a tool which fixes many issues but having difficulty with this one. In the past I have even resorted to copying a script remotely to an affected machine then
    setting a remote scheduled task which executes the script. This was effective but very dirty! I find it difficult to believe there is no way to do this directly but can't seem to find anything suggesting it is possible.
    Before anyone replies with a 'what are you trying to achieve...' type answer, I have a similar situation to that of the guy in the second link but I would like something more instant.
    Many thanks

    psexec or winrm will allow you to do this.
    Jason | http://blog.configmgrftw.com

  • How can I change remote site definition without breaking all of the links?

    I've created a website and put it here http://home.comcast.net/~alpsf/index.html to test it during construction.  Now when I change the remote site definition on the local site in DW, all of the links are broken.  I now suspect the problem is that I made it site root-relative, and DW inserted /~alpsf/ in all of the links.  Is there a way to fix this?
    Thanks very much.

    You can do a find and replace to change the links globally. Make sure you do a complete backup of the site prior to doing this incase you don't do it correctly. Let me stress that again, backup your entire site incase you need to restore. If you have created a "new site" and this will not be part of the /~alpsf site, then you will need to define a new site and copy all the files into that folder (I am guessing this is the case). I would copy the files outside of Dreamweaver. You could do this without touching the files in the ~alpsf directory. There are a lot of variable here as I don't know exactly what you are doing.
    On the file menu select window/results-select search. (this is done if the search window is not open).
    Find in: Entire Current Local Site
    Search: Source Code
    Find: "/~alpsf/
    Replace:"/
    That should do it, but this is a very tricky thing. I wouldn't have a problem doing this as long as I have everything backed up.
    Jim
    Edited:You might have to go into your css, spry files and any others that has links to do the same (this time only select Find in: Current document once the document is open). Once that is done, delete the whole remote site and upload the changes once you check that everything is completed.

  • Links not changed on REMOTE site

    I posted a message similar to this one, but for some reason I
    can't get to my message and reply.
    I created a site and upon finishing the webpages I 'put' the
    files to 'remote' site.
    Not a single link has changed to the remote URL.
    It shows all 'local' links and naturally it don't work. I
    have no idea what I missed but doing it several times and even
    re-creating everything ... same results. This is such a simple
    automatic thing with any cheap editor, but DW it's a MAJOR problem
    and so complicated that it takes more time to upload then create
    the whole site.
    Please send me a message if possible, because I am not able
    to see my own message at Adobe for some reason.
    thanks :)

    DW doesn't change links when it uploads. If the links are
    broken locally,
    the will be broken when you upload. Conversely, if they are
    broken when you
    upload, that means that they are broken locally too. To see
    that they are
    broken locally you will need to look at the code - an
    absolute file:/// link
    *will* appear to work locally, but it is still broken.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "webkruzer1" <[email protected]> wrote in
    message
    news:f4esj0$oq7$[email protected]..
    >I posted a message similar to this one, but for some
    reason I can't get to
    >my
    > message and reply.
    >
    > I created a site and upon finishing the webpages I 'put'
    the files to
    > 'remote'
    > site.
    > Not a single link has changed to the remote URL.
    > It shows all 'local' links and naturally it don't work.
    I have no idea
    > what I
    > missed but doing it several times and even re-creating
    everything ... same
    > results. This is such a simple automatic thing with any
    cheap editor, but
    > DW
    > it's a MAJOR problem and so complicated that it takes
    more time to upload
    > then
    > create the whole site.
    > Please send me a message if possible, because I am not
    able to see my own
    > message at Adobe for some reason.
    > thanks :)
    >

  • SCCM 2012 - Change Distribution Point's Site System Properties Site Code

    Hello All,
    I'm hoping someone can help me out. Here's what I have and here's what I'm trying to do.
    SCCM 2012 R1 
    Each of our offices has a Windows 7 SP1 Ent PC that is a distribution point for that office's 10-20 machines. A number of these offices and their DPs were setup prior to me setting up a number of Secondary Site Servers. So right now, these DPs' site codes
    are the primary site server's. I'd like to change these to one of the Secondary Site Servers.
    When I go to the Site System properties of one of these Win7 distribution points, the Site Code is grayed out.
    So, the question is, how can I change one of these DPs' site codes?
    Thanks in advance to whomever helps!!
    Bill

    That's a strange reason for using Secondary Sites. How many clients are you managing? Have you good WAN links?
    Gerry Hampson | Blog:
    www.gerryhampsoncm.blogspot.ie | LinkedIn:
    Gerry Hampson | Twitter:
    @gerryhampson

  • Changing remote site definition

    I am changing the domain name of my site but keeping my sites
    design completely the same. After I buy the new the domain name,
    how do I Change the Remote site definition in Dreamweaver 8 to use
    a new site's connection info??
    Can someone give me the steps?
    Thanks so much!!!!!
    Ryan

    > I am changing the domain name of my site but keeping my
    sites design
    > completely
    > the same. After I buy the new the domain name, how do I
    Change the Remote site
    > definition in Dreamweaver 8 to use a new site's
    connection info??
    Question:
    Is the hosting changing? or just the domain name?
    If just the domain name-
    At the domain name Registrar's control panel, set the new
    domain name up
    with the DNS domain name server of your current hosting.
    At your hosting- you'll need to add this new domain name to
    their DNS name
    servers also. Either through a hosting control panel or
    through a
    trouble-ticked to their help desk.
    There will be no need to make any change to the site
    definition in
    dreamweaver, unless you change hosting to a different remote
    server.

  • Am having difficulty uploading editorial changes to remote site ???

    Edited pages in Dreamweaver do not upload to the remote site.  I have been doing this for years and suddenly the changes simply do not upload.

    FTP connection works
    server is online
    no changes to Dreamweaver
    Am using CS4
    David_Powers <[email protected]> wrote:
    David_Powers http://forums.adobe.com/people/David_Powers created the discussion
    "Re: Am having difficulty uploading editorial changes to remote site ???"
    To view the discussion, visit: http://forums.adobe.com/message/4755489#4755489

  • SCCM clients automatically changes its site code to another

    Hi,
    We are running SCCM 2012 in windows server 2008 R2 . We have different sites based on different countries, eg: India, UK and US. My issue is that some of the clients which were reporting to a site is automatically changes its reporting to some other
    site. Considering the above countries, I must say that the clients which were reporting to India(IND) is now showing its site code(site assigned) as UK in console. This makes the clients to not to communicate with our server and 'Client activity' is not
    showing any status(just blank). Initially I have reinstalled those clients and those were showing correct site code. After few days some among the reinstalled ones and few other clients are again reporting its site code to UK. What might be the issue?
    Your suggestions are most appreciated.
    Quite strange thing is that when I checked the configuration manager in client side it is showing the correct site code and reporting to the correct server.

    Either someone pushed the client from the wrong site or there's a GPO in place that reassigns them. CM clients won't automatically reasign themselves.
    Torsten Meringer | http://www.mssccmfaq.de

  • Change Site Code

    Hello,
    Long story short.  I had a image/task sequence I exported from a old sccm server.  I imported it to a new sccm server.  Now when I image a machine it doesn't get a site code nor can it find the new site.  Is it possible to fix this without
    creating the image?  Thanks.
    Charles

    Hi Nick,
    Yes.  I'm pretty sure it is.  Installing the client is not part of the task sequence is it?  It would seem like it would be possible just to add this to the task sequence but I'm not sure.  Thanks.
    Charles
    Yes, installing the client is part of an OSD task sequence. Specifically, the Setup Windows and Configuration Manager step will install and setup the client. You may just need to add the SMSMP installation property to the setup step in your TS.
    https://technet.microsoft.com/en-us/library/gg699356.aspx
    -Nick O.

  • Losing connection to the Domain Controllers at a remote site

    We have a remote site with a IPsec tunnel for a site to site connection and there are about a dozen window 7 systems on site.  Every 3 to 5 weeks, the systems start to lose the ability to log into the domain.  Running some tests, the DNS names
    keep resolving, their subnet is setup in Sites and Services to the group with the DC's and they are setup correctly for IP settings but seems like they still can't connect back to the DC's.  From there, under network profiles, it says the domain network
    is unauthenticated.  
    The only way we have found to fix this is to dis-join the computer from the domain and rejoin it.
    Is there a way from the computer to force it to re-authenticate without having to do this or a better fix?

    Hello Technsopyder,
    Do you means all the Windows 7 use the IPsec will lose connection to the Domain Controllers every 3 to 5 weeks?
    Do you receive the error code 5719 and 3210? Could you please provide the whole error message?
    Please check if you need to change the password before this issue as Brano Lukic mentioned.
    Best regards,
    Fangzhou CHEN
    Fangzhou CHEN
    TechNet Community Support

  • Site views differently on Remote Site

    Using DW CS4
    Ok, fairly new to DW as you will see... All images/scripts etc... have paths to my local folders with those files but when I publish it to the remote site, I view the source code and the paths still show the local path i.e. C:\Document & Sitings instead of a remote path and of course, the web page looks nothing like how I designed it.
    How do I get that to change for all my web pages so my site views like it does on my local computer.  I can't seem to find how to change it to a remote path.
    Thanks,
    DT

    deezturner wrote:
    I've checked and can not locate how to change the properties to see the
    working folder?  I know I'm probably over-looking it but again, I don't
    use DW much.  Sorry!
    Top Menu Bar:
    SITE > MANAGE SITES > select your site from the list.
    If there is nothing there, then you haen't declared a site definition  :-)  You need to select NEW and create a new one with it pointing to your working files.
    All the site content resides under NWSTEST folder on the webserver.  The
    source code shows the local path as you will see.
    Yep, all the links are pointing to your hard drive...  you need to fix the site definition.
    Defining a site helps Dreamweaver track and organize the files used in this site.
    http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14028
    Nadia
    Adobe Community Expert : Dreamweaver
    Unique CSS Templates | Tutorials | SEO Articles
    http://www.DreamweaverResources.com
    Web Design & Development
    http://www.perrelink.com.au
    http://twitter.com/nadiap

  • Help with local and remote site setups

    i've always use dreamweaver to point directly to the dev server files and edit them, save them, and run them. i was the only developer for some time but now we have other developers onboard and we started experimenting with using subversion.
    i need to understand how i can leverage the local site and remote sites with subversion so that we arent editing the remote files directly. ive played around with the setting and i think i need to GET the files and have it copy to my local site. however i cannot RUN the files since i dont have Coldfusion on my local machine its only on the DEV server. I used to make a change, press F12 to run the file and could see my changes. can anyone point me in the right direction?

    First, move the styles from the form generator to the <head> of your document.  Otherwise there is a possibility browsers could ignore the invalid code.
    Then move your form div inside the banner div and set the attribute float:right; in your CSS for the form div.  Then you should be good to go.

  • File does not exist on remote site, yet it does

    I have been trying to understand how Dreamweaver handles remote files in CS5.
    My server is setup as a remote server and a test server.
    I open the remote file, it offers to get dependencies, so I click yes.
    I click on Live view, then it tries to show me the following url
    http://my_site.com/public_html/path/to/my/file/file.php
    It should not put public_html in the path, and I did not specify this in my site setup. My root setting is /.
    Anyway, If I change the url manually, then it shows correctly. Then it offers to discover dunamically linked files, which I agree to.
    Now it tells me that 'Dynamically-related files could not be resolved because the site definition is not correct for this server'
    If I try to open one of the files that it has discovered, I am told that it is not on the disk, so would I like to 'get it', so I agree.
    Finally, I am told that 'Get operation failed since linked-file.php does not exist on remote site'
    I suspect that this is all to do with my site definition, but I fiddled with the settings and can't resolve this. I think that the whole problem goes back to Dreamweaver's insistance on putting public_html in the path, but I can't stop it doing so.
    Any suggestions?
    Thanks
    ian

    Hi,
    Well, yes I did manage to fix the dynamically linked resources issue. As mentioned above, I did need to mention public_html in my Root Directory setting in server setup (silly of me).
    I had tried this at first, but it didn't work, as I had the server set as a test server and not a remote server, anyway, i now have it set as both and all is well.
    Except that, the first issue that mentioned is still with me: namely, dreamweaver mentions the public_html in the url path when on live view, which is not correct and I don't know where it is inferring this from. I can change it manually, but this doesn't seem right to me. Am I still missing a setting?
    In anwer to the questions:
    1) My setting (now) in the Root Directory setting in DW is: /public_html/
    2) My actual path on the server (that i mention in php scripts) is: /home/login_name/public_html//path/to/my/file/file.php
    [In the advanced settings of DW site setup on the Local Info page I have set Links relative to Document option, although it does not seem to make a difference when I change it to Site Root.]
    Any suggestions appreciated.
    Thanks
    Ian

  • The WSDL data cannot be retrieve from remote site

    I am a new guy learning web services with NetBeans 5.5 and meet some problem in retrieving wsdl data from remote site.
    I create a web service "WSTestServer" at Sun Application Server PE8.2 with real IP, say 111.110.11.10:8888, and there's a class "TestWS" with a method "getWS" to return a String. The server (or machine) name is ultra20. So, by following steps in NetBeans, I can get a wsdl file after generating the web service and it can be viewed at
    http://111.110.11.10:8888/WSTestServer/TestWS?WSDL
    Then, I create a web service client at the same machine, it is available to test this method by clicking Web Service Reference item in NetBeans and select "getWS" method to get that String.
    However, when I create a web service client at remote site, it doesn't work and show exception message like
    cannot find domain http://ultra20:8888/WSTestServer/TestWS....
    I go back to check wsdl file, at the last line, it prints like
    <soap:address location="http://ultra20:8888/WSTestServer/TestWS".....
    If I test this case in LAN, e.g., the server IP becomes 192.168.1.2 and client IP is 192.168.1.3, then it works since machine name can be recognized within the same local area network. I try to revise the wsdl file above to replace machine name as real IP, but it is automatically changed back with machine name while deploying and copy the revised one as xxx.wsdl__orig.
    Should I do additional configuration setup for server site? Such as, registering a domain name like aaa.bbb.edu instead of 111.110.11.10?
    Any comment and help for this subject is appreciated!!
    Thank you so much!

    Works as designed,from documentation:
    The database also retrieves all triggers and constraints defined on the table except for referential integrity constraints that reference other tables.
    The retrieved indexes, triggers, and constraints have recycle bin names. Therefore it is advisable to query the USER_RECYCLEBIN view before issuing a FLASHBACK TABLE ... TO BEFORE DROP statement so that you can rename the retrieved triggers and constraints to more usable names.
    For details see the FLASHBACK TABLE command description for your unknown database version.
    Werner

  • Adding Multiple files to many Sharepoint Sites based on the Sites Code (Splitting the data using a code)

    Hi,
    I'm pretty new to Sharepoint and wanted to ask a question to see if it can actually do what we need it to do.
    We would have a top Site within a collection and under this we would have 400 sites for different sections of the business (External) Lots of teams create documents for all these sites and use the Code of the site in each document so we know what business
    site its going to. For example 67890_BusinessReportMay.docx We know this document should be heading to site 67890 
    We have lots of services sending data to these 400 business sites. If we were to do them manually it would take most of our time to go to each site and upload the documents, even if we could do all the sites documents in 1 multiple upload. We still have
    to go to each site to do it
    Is there an easy answer to this? At present I have folders to match each of the 400 Sharepoint Sites and I use an Integration Services package to move all the documents into these 400 Matching folders. I do this using the Code at the start of each file name.
    If it doesn't have a code its put into an error folder and reported back on.
    Then I want something to automatically go through each of these folders and load them into the Sharepoint Sites document libraries. 
    OR
    Say you have 600 files all going to the 500 sites on Sharepoint in one folder. The File contains meta data regarding the Sites Code.  Using this you can split the files and automatically pull them across to the Sharepoint Sites without having to go
    into each Sharepoint Site?
    I'm thinking that you cant do this and I'm hoping I'm wrong. Any help would be greatly appreciated.  
    Debbie

    Hi Debbie,
    According to your description, my understanding is that you want to move the documents to different sites based on the code in the name of the files.
    I recommend to create workflow and set the workflow to start when an item is created to achieve this goal.
    As there is no built-in action which can move the documents cross site, we need to use the custom activity 'Copy List Item Extended' which need to be downloaded from
    http://spdactivities.codeplex.com/.
    Please per the steps in the link below to deploy the custom activity to SharePoint:
    http://social.technet.microsoft.com/Forums/en-US/82609160-152f-461a-9a19-0e996f5a309b/sharepoint-2010-archiving-the-files-from-one-document-library-to-another-document-library-in
    After that, we can create a workflow to meet the need.
    Here is the detailed steps to create the workflow:
    Create a column in single line of text type(called NO for example) in the library where the documents are uploaded, and input value manually in the column to store the code when uploading the documents. (We can also use workflow to extract the code from
    the name of the documents if the codes are always 5 numbers.)
    Create a workflow associated with the library and set the workflow to start when an item is created.
    Select If current item field equals value, change the settings to be If Current Item: NO equals 67890.
    Select Copy List Item Extended, change the settings to be Copy item in Current Item to list at site 67890 URL.
    Select Delete Item, change the settings to be Delete Item in Current Item.
    Create other conditions from step 3 to step 5 to copy the documents to different sites and delete current documents.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

Maybe you are looking for

  • My MacBook Pro is REALLY slow after a week of running Yosemite perfectly

    I have a MacBook Pro (about 3 years old) and I have never had any problems with it. When Yosemite was released I updated and my MacBook ran perfectly and faster then before for a little over a week. Then all of a sudden it became SO incredibly slow.

  • RFC creates no Payload

    Hi there I've got a flat file to rfc scenario and when I send through a file it gets processed successfully but in sxmb_moni the technical routing payload is empty. If I test the file in the mapping it creates the rfc with all it's nodes. Here's an e

  • Data modeling tool: physical model migration

    Hi, I have imported my relational model with a generated physical model for oracle 9i. I'd like to migrate my DB to oracle 10g, but I don't feel like creating a new physical model for Oracle 10g from the scratch and configuring it all. Is there any w

  • I have lion.  where is the hard drive? stupid question.  i know.

    hi, i have snow leopard but have just purchased macbook pro with lion.  where can i find the hard drive?  with snow leopard you just go to a finder window but lion doesn't have it listed there?  i need to upload a color profile, etc.  the directions

  • Help converting my class to Paint

    A while back I wrote this class, ColorGradient (see below) Before you start telling me about GradientPaint, this class is pretty different from GradientPaint - it handles multiple colors, and it doesn't cycle (last color goes on forever) The way I bu