Determine Distribution Point For PC Naming

I'm trying to automate the PC Naming process during Windows 7 Deployment with MDT 2010 and SCCM 2012. 
I need to add a 3-character site code to the PC name, but I'm not sure how to get it.  Ideally, I would like to identify the distribution point used for OSD, and then based on that distribution point, create a custom MDT variable that is the site code,
and later add that custom variable to a string that will be the name.
For example, if a computer was imaged using DP01.mycomapny.local as a distribution point, then MDT customsettings.ini would set the custom variable
SiteCode  = HOU and later in the CustomSettings.ini I would have
OSDComputerName = %SiteCode%-%SerialNumber%
My problem is that I don't know how to determine the distribution point from inside customsettings.ini.  Any help would be greatly appreciated.

You can use TS Variable "OSDComputerName" for defining new computer name  and "_SMSTSSiteCode" for determining Site Code. What are you want to use as SerialNumber?
Vladimir Zelenov | http://systemcenter4all.wordpress.com
Bob - thanks for your reply.  I know that OSDComputerName is that variable I want to set.  I also know that
SerialNumber is another builtin MDT variable that will pull the machine's serial from the BIOS.  I can't use
_SMSTSSiteCode because I need the distribution point name, not the SCCM site code.  When I mentioned that I need to add a 3-character site code to the value for OSDComputerName, I didn't mean the SCCM site.  The site code I need to
use is an in-house site code for geographic areas.  Our SCCM infrastructure has 1 parent site that services multiple geogrpahic areas within a small region, with each geographic area having its own unique company site code.  Also, each company site
has a distribution point, not a secondary site server.  So, I need to be able to identify the distrubtion point that is handling the OS deployment, not the SCCM site.

Similar Messages

  • Org Unit as Distribution Point for Document Distribution

    Hello Experts,
    I would like to maintain a distribution point for the document distribution. Therefore i still have maintained the distribution point (it is an org unit) in the available communication types (INT, RML,..) in SPRO...->Document Distribution->Define Communication Type.
    But now every time when a distribution package will be started for distribution I get an error message: "Function <senden> not possible". The package should be send via distribution type INT to the distribution point.
    Perhaps the communication type INT is not maintained for the org unit yet?Where can i do this?
    Regards,
    Christian

    Hi Christian
    The distribution point under Type of distribution point and Distribution point is used under the following conditions:
    1. If distribution is initiated manually and the Distribution immediately indicator was set without entering an explicit distribution point.
    2. If distribution is initiated manually and the
    Distribution immediately indicator was not set.
    3. If distribution is initiated by an event.
    If the "Send to distribution point" indicator is set and no distribution point is entered explicitly, the current user becomes the distribution point if distribution is initiated manually. If distribution is initiated by an event, the user that triggered the event becomes the distribution point.
    Follow this Procedure.Also Check all the setting in Define Distributio Types for Distribution type INT
    where you mention distribution Point details.You will have to explore alittle bit.
    With Regards
    Mangesh Pande

  • Problem with option: enable this distribution point for prestaged content

    Hi, for past few days I have been focused on application deployment with SCCM 2012 R2 (I am learning SCCM 2012 R2 reading books, watching video trainings . . .). Having followed allong book Mastering System Center 2012 R2 Configuration Manager I also did
    deployment of Microsoft Office 2013, Adobe Reader 11, Foxit Reader 4.2 and Notepad ++ to test collection containing one Windows 7 computer. In one of examples prestaged content file is created for Foxit Reader application. In order to do so, if I am
    right, option Enable this distribution point for prestaged content
    has to be checked on distribution point and I did that.
    Problem is that I noticed deployment of any application to test collection failed every time - system waits for prestaged content file if this option is selected. Then I have to delete deployment of given application, application itself, deselect option
    Enable this distribution point for prestaged content and create app, distribute it to DP and deploy to test collection - then everything works well.
    To make things worse, having deselect option Enable this distribution point for prestaged content (I did it yesterday and I checked that several times) this morning I checked again and this option is selected again. What might be the cause
    of this behaviour? I expected this option to be deselected - this is weird to say at least.
     

    When you enable the option "Enable this distribution
    point for prestaged content" on a DP, it causes newly created applications/packages to default to "Manually copy the content in this package to the distribution point"... This would then cause the deployments on the clients to remain
    at 'waiting for content' - unless if you manually prestage the content, as this option requires it.
    If you enable the option "Enable this distribution
    point for prestaged content" on the DP, but want to automatically have CM distribute the content, then configure the app/package to do so,
    before distributing the content: Distribution Settings tab > Prestaged distribution point settings > Automatically download content when packages are assign to distribution points.

  • Need to Deploy Distribution Points for 700 Offices on Windows 7 Systems with 128kbps of Bandwidth

    Hello Everyone,
    Need to deploy Distribution Points for 700 sites on windows 7 with 128kbps of link.During Office hours DP fails as entire 128 kbps of link is utilized.During non business hours it gets succeeded.
    Setup for SCCM 2012-
    1 Primary Server at DC
    Secondary Server @ HO
    100 DP's already created on link of 128 Kbps
    Is there any option of creating Offline DP's in 2012......
    How can I fastern the Process of DP Creation??????
    Any help would be highly appreciated.......
    Regards
    Saurabh

    Hi Jeff/Torsten,
    Thanks for the revert.
    Just to inform you that I need to Create fresh Distribution Point on Windows 7 systems as above technet link is used once you have setup distribution points if you need not have to utilized your 128kbps bandwidth in that scenario I can prestage the content
    and copy that content on remote DP.
    Please correct me if I'm  wrong.
    Regards
    Saurabh

  • Issue setting up PXE Enabled Distribution point for SCCM 2012.

    I'm trying to set up SCCM 2012 in my Lab Enviroment in order to plan for implmentation to production.
    I have installed and Configure one Primary site which has a working DP role width PXE /WDS.
    And i am able to successfully do and OS Deployment.
    I want to setup an additional Distribution point with PXE, to simulate a branch Office.
    Installation of the second Distribution point looks to be succesfull, but i'm not able to boot on PXE.
    It allways gives me the error messeage "The Windows Boot Configuration Data file does not contain a vaild OS entry
    The same error messeage is given before i distributed the boot images (both x86 and x64)
    So my thougts are that he WDS dosn't find the bootable images somehow.
    I can see that the images are added to the RemoteInstall\SMSImages directory, but i also see the following in smsdpprov.log
    [83C][Mon 04/23/2012 15:43:26]:Conent 'PS100004.7' for package 'PS100004' has been added to content library successfully
    [83C][Mon 04/23/2012 15:43:26]:Expanding \\?\E:\SCCMContentLib\FileLib\4ABE\4ABEBA3BB557A810CBCC8148BC70FE01349142EB1BCF1C1154216B77E3E22495 from package PS100004
    [83C][Mon 04/23/2012 15:43:26]:Finding Wimgapi.Dll
    [83C][Mon 04/23/2012 15:43:26]:MsiEnumRelatedProducts failed
    [83C][Mon 04/23/2012 15:43:26]:FindProduct failed; 0x80070103
    [83C][Mon 04/23/2012 15:43:26]:MsiEnumRelatedProducts failed
    [83C][Mon 04/23/2012 15:43:26]:FindProduct failed; 0x80070103
    [83C][Mon 04/23/2012 15:43:26]:Found C:\Windows\system32\wimgapi.dll
    [83C][Mon 04/23/2012 15:43:26]:Expanding PS100004 to E:\RemoteInstall\SMSImages
    [83C][Mon 04/23/2012 15:44:48]:Registry key creation successfull
    [83C][Mon 04/23/2012 15:44:48]:Registry key creation successfull
    [83C][Mon 04/23/2012 15:44:49]:Registry key creation successfull
    [83C][Mon 04/23/2012 15:45:23]:Conent 'PS100001.5' for package 'PS100001' has been added to content library successfully
    [83C][Mon 04/23/2012 15:45:23]:Expanding \\?\E:\SCCMContentLib\FileLib\5EFD\5EFD89A7C52739DC815393C586861AFB6664FD4F28726758D6A151722D160031 from package PS100001
    [83C][Mon 04/23/2012 15:45:23]:Finding Wimgapi.Dll
    [83C][Mon 04/23/2012 15:45:23]:MsiEnumRelatedProducts failed
    [83C][Mon 04/23/2012 15:45:23]:FindProduct failed; 0x80070103
    [83C][Mon 04/23/2012 15:45:23]:MsiEnumRelatedProducts failed
    [83C][Mon 04/23/2012 15:45:23]:FindProduct failed; 0x80070103
    [83C][Mon 04/23/2012 15:45:23]:Found C:\Windows\system32\wimgapi.dll
    [83C][Mon 04/23/2012 15:45:23]:Expanding PS100001 to E:\RemoteInstall\SMSImages
    Server is a clean installed Windows 2008 R2, only added to domain, added the primary SCCM server account as local Admin, added WDS Role and configured RemoteFolder before adding DP role from the SCCM Console. (So SCCM has installed and Configured IIS)

    Looks like i have found the answer at least i have got it to work.
    Once i install .Net Framework 3.5.1 Feature on the server, i was able to boot succesfully into SCCM Task Sequence Wizard.
    I also was successfull installing the the PXE DP role from the console succesfully without having to install WDS first.
    So i guess that .Net Framework 3.5.1 is required for PXE DP role on Windows 2008 R2. (but i can't see that mentioned anywhere here http://technet.microsoft.com/en-us/library/c1e93ef9-761f-4f60-8372-df9bf5009be0#BKMK_SiteSystemRolePrereqs)

  • Remote Distribution Points for Software Update Point Site

    Hi,
    I have deployed Primary Site MP (SCCM 2012 R2) in the Main Office. In our environment, we have many remote offices with limited internet connection.
    Is it best to setup Secondary Site in those remote offices or setup Distribution Points? What are the considerations?
    Thanks.
    ~Andre

    You only install one SUP. You can't install a SUP on DP's, and you don't need to install WSUS on DP's either, just IIS.
    The clients will need to connect to the SUP (port 8530) to get the windows update catalogue. If they can't connect to your MP and SUP directly, then you will need to check your proxy configuration on the clients
    Once the client has performed a scan, it will then match what it determines are "required updates" against what you have deployed in its client policy.
    The client then connects to the local DP to download the updates and install them.
    The client only downloads policy from an MP. If you have a DP on the same server as the MP then clients may try to download updates if you don't have your content boundaries configured correctly, and have also allowed them to use a fallback location.
    To prevent clients going over the WAN to download the updates, check your update deployment under the "Download Settings" tab and choose "Do not install software updates" on both the options, and make sure you have your content location
    boundaries configured correctly with the DP at each remote site assigned to the correct boundary.

  • Preparing New Distribution Point for Deployment

    Details: ConfigMgr 2012 R2, Windows Server 2012 and 2012 R2 (for some of the DP's already in production)
    I have a new site opening up soon and we will be deploying a server to act as DP and PXE point. The new server is in my office where I have another production DP for the office. 
    My question is, can I onboard this new server as a DP and PXE point in my office, copy all the packages to it, box it up and take it to the new site, give it a new IP...all without causing a problem when it springs up in the new location. Would all the packages
    need to be copied over again? Should I just create prestaged packages for everything? This scenario will come up very often when my company brings up new facilities, so I am just looking for a good way to run the process.

    Yes, that will work fine. All you'll have to do is re-IP it when it gets to its destination (as you mentioned) and make sure to include it in its proper boundary group also. Make sure to update DNS also. I'm also assuming there's no domain or name
    change involved as that would certainly throw a monkey wrench into it.
    Jason | http://blog.configmgrftw.com

  • How to determine the mount point for directory /tmp ?

    Folks,
    Hello. I am installing Oracle 11gR2 RAC using 2 Virtual Machines (rac1 and rac2 whose OS are Oracle Linux 5.6) in VMPlayer and according to the tutorial
    http://appsdbaworkshop.blogspot.com/2011/10/11gr2-rac-on-linux-56-using-vmware.html
    I am installing Grid infrastructure. I am on step 7 of 10 (verify Grid installation enviroment) and get this error:
    "Free Space: Rac2: /tmp"
    Cause: Could not determine mount point for location specified.
    Action: Ensure location specified is available.
    Expected value: n/a
    Actual value: n/a
    I have checked the free space using the command:
    [root@Rac2 /]# df -k /tmp
    Output:
    Filesystem     1k-blocks     used     Available     Use%     Mounted on
    /dev/sda1     30470144     7826952     21070432     28%     /
    As you see above, the free space is enough, but could not determine mount point for /tmp.
    Do any folk understand how to determine the mount point for directory /tmp ?
    Thanks.

    I have just checked "/home/oracle/.bash_profile". But in my computer, there is no "oracle" under /home directory.Is this your first time Linux and Oracle installation? I had a brief look at your referenced link. The reason why you do not find a "oracle" user is because the instructions use "ora11g" instead, which, btw, is not standard. The directories of your installation and your installation source can be somewhat different from known standards and you will have to adjust it to your system.
    My best guess is that you have either missed something in the instructions or you need to ask the author of the blog what is wrong. The chance to find someone here who has experience with these custom instructions is probably unlikely.
    I suggest you try to locate the cluster verification tool, which should be in the bin directory of your grid installation. Alternatively you might want to check the RAC, ASM & Clusterware Installation forum: RAC, ASM & Clusterware Installation

  • 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

  • Application stuck transferring to child primary distribution point

    I have a single application (not a package) which is refusing to distribute to one of the child primary site servers. 
    Bit of background: The server was built a few days ago and all packages were prestaged and loaded onto the server successfully except for one.
    - The content status for this particular package is sitting at the state of "In Progress" (Starting to process content)
    - The despool component manager is continually reporting message ID 4407 (Despooler successfully receveied the compressed image for package XXXXXXX version 9.)
    - The despool.log periodically reports these messages (This package's information hasn't arrived yet for this version [9]. Retry later...) followed by (Despooler failed to execute the instruction, error code = 12)
    - Distribution manager component status will loop through status messages 2300, 2311 and 2301 (Beginning to process package, Successfully created or updated package and Successfully processed package)
    - Distmgr.log will report that the StoredPkgVersion is 5, and the SourceVersion in the DB is 10.
    I have tried
    - Removing the package from DP, waiting, and then re-adding it
    - Updating the distribution points (increment the version number from 9 to 10)
    I recall having this issue in 2007 with standard packages, and I could fix this easily enough by updating the PkgStatus table and then refreshing the DP so it would re-download the content and work its issues out.
    In 2012 it is clearly different, especially because I'm dealing with an Application and not a Package per se. 
    Is there a way to fix this? (Other than deleting the package from existence and recreating it)
    Is there a way to clear all previous knowledge of this application at this particular child site, allowing it to just transfer the current, latest version of the content? (similar to how one would have fixed this in 2007)
    Thanks in advance!
    Tim

    Hi Jason
    Thanks for the reply.
    The AV product does not appear to be getting in the way.
    The activity in sender.log looks healthy, I can see the CAS transferring data across to this site (and others) without error.
    All other content (Update packages, regular packages and OSD images) have distributed correctly
    We did turn off the "Enable this distribution point for prestaged content" feature after doing the initial prestage of all media. 
    Is there a way to clear this package from a given child site so that we can distribute it down again and it ignores the older StoredPkgVersion that it has?
    One thing I have noticed, before I left for the day yesterday, I deleted this package from this particular distribution point. Despite doing this, the despooler continued to loop the message ID 4407 (Despooler successfully received the compressed image for
    package XXXXXXX version 9.) over and over again.
    The current version of the package is 10, what this server allegedly has according to DistMgr.log is version 5. 

  • Error 0x80070002 when Task Apply OS has "Access content directly from the distribution point" checked

    When I check "Access content directly from the distribution point" for the "Apply Operating System" task in my OSD Task Sequence, I get the failed error 0x80070002 at the step when running the sequence from WinPE.
    If I uncheck it, I don't get that error or have any problems.
    I've ensured that in the properties of my OS Image in the Data Access that "Copy the content in this package to a package share on distribution points" is checked, and that I Updated DPs.
    Am I missing any other settings?
    The reason I'm trying to do this is because the "Download" speed of the WIM is incredibly slow. I already installed a hotfix (KB2905002) that fixed this for my Dell systems, but it's not speeding it up for another computer model I'm imaging in
    the same way. The Dell computers, after I installed the server hotfix, will downloading the .wim file at 1% per second. However the HP thin clients I'm imaging download at about 1% every 15 seconds, and I'm not sure if that's due to their hardware or what. 

    Hi,
    The error means file not found. So you need to check the smsts.log to see which DP it is accessing, then go to that DP to check the Shared Folder smspkg to make sure the file is there.
    For the download performance issue, there are various reasons. You need to check your Switch bandiwidth and if the NIC driver is up to date. If downloading locally is slow, Accessing directly could be slow too.  
    Juke Chou
    TechNet Community Support

  • Distribution Point Migration

    Hello,
    I have 1 primary and 100 secondary site (each secondary having MP and DP role installed). I want to migrate CM2012 share distribution point for 100 secondary site. I have few question in that.
    1.Currently all the secondary contain : more than 250 packages in SMSPKG$ folder and DATAACCESS shared folder. If I convert to shared DP and attach cm2012..How distribution point works. Should I need to distribute 250 package to the shared one or it will
    copy the package from SMSPKG$ folder and store in content lib, or should I redistribute the package to shared DP's? 
    2.Once I convert the share DP it losses 2007 primary communication?
    3.what about the DATAACCESS folder once migrate share DP.. still use old one?

    Hi,
    1. The conversion process will convert all Migrated packages to the new contentlibrary no need to redistribute them.
    2. Yes
    3. From TechNet :
    http://technet.microsoft.com/en-us/library/gg712275.aspx
    "The upgrade process creates a copy of the migrated content that is stored on the distribution point, and then converts this copy to the single instance content store. When Configuration Manager converts a package to the single instance content store, it
    deletes that package from the SMSPKG share on the distribution point computer unless the package has one or more advertisements that are configured to
    Run program from distribution point. "
    Regards,
    Jörgen 
    -- My System Center blog ccmexec.com -- Twitter
    @ccmexec

  • Distribution Point

    Hello,
    One server Distribution Point died this morning.
    1. Is it possible to disable temporarily (thinking the new server will use the same name and IP ) the distribution Point for this site? Or should I delete it?
    2. What are the requirements for a Distribution Point Server? Documentation?
    SCCM 2007 R3 - 2,000 Clients
    Thanks,
    Dom
    System Center Operations Manager 2007 / System Center Configuration Manager 2007 R2 / Forefront Client Security / Forefront Identity Manager

    Removing DP :
    http://technet.microsoft.com/en-us/library/bb680873.aspx
    Requirements :
    http://technet.microsoft.com/en-us/library/gg712321.aspx
    http://technet.microsoft.com/en-us/library/bb680614.aspx
    Arnav Sharma | Facebook |
    Twitter Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members
    reading the thread.

  • Delete distribution point in specific package

    I need to delete already assign distribution points for specific package. Basically need to remove distribution point and add different distribution point to selected package . since sms_distributionPoint status property read only I cant change it to 3 (delete)
    . How can I do using C#.

    I already tried this. But it want allow me to delete. that explain under  (http://msdn.microsoft.com/en-us/library/cc144580.aspx) "When your application deletes an instance of
    SMS_DistributionPoint, the instance is not totally deleted until its related components are deleted. Instead, Configuration Manager sets the
    Status property to 3 (delete) to inform the application that the distribution point is marked for deletion". I cant update it to status 3 since status property is read only.
    I tried to do this several ways but didn't get true it. If you have any experience with this please send me the sample code.

  • Not possible to determine shipping point when creating STSA

    Dear experts,
    I would like to have delivery creation for STSA (new STSA type - ZLU). I set below configs however when i create STSA, the error msg occur - Not possible to determine shipping point for item 00010. would you advise? thanks.
    Config to have:
    1. Assign delivery type ZNL for STSA document type ZLU and supply plant 5395
    2. Define shipping data for both receiving plant & supplying plant with customer no and sales data
    3. Maintain shipping point determination for supply plant: shipping condition (from receiving plant - customer# ) 02 , loading group 0001 in sales/plant view for supply plant-> US01
    Master data:
    1. maintain sales view for both supply/receiving plant
    2. purchasing view for receiving plant

    Hi
    Kindly check your sales order type STSA in VOV8. If there is any default shipping condition is assigned under shipping tab.

Maybe you are looking for

  • Image getwidth() getheight() problem

    When i run the code below first time it returns like; width=-1 height=-1 but when i refresh the page and runing code for secad time width and height returns correct; why this happen, i couldnt solve....need help,any advice?thank you Image resmim = To

  • Is there an app that will allow my toddler to access or use her apps and games without being able to do other things on my iPad?

    My two year old loves to use my iPad.  She has apps for reading, shapes, counting, etc.  My problem is that when she uses my iPad, she is constantly scrolling through and changing settings or getting into other apps.  Is there an app I can download t

  • Flex3 application in weblogic portal 10.3

    Hi, I  am using FB4 and created a Data/Service using Java Webservice.  Displaying data in a data grid by calling webservice method (configured  using WSDL url). Now I deployed above Flex applicaiton by following  your steps given in may forums 1) Cop

  • How to call function in the plugin from javascript?

    Hi, I have some function inside my plugin which i want to call from javascript. Is it possible? Sorry, im new to plugin programming. For example, i have plugin with function func() which i want to call from external javascript. In what way i will be

  • Aperture 3 and BorderFX plugin

    Hi, Can someone inform if I still can use the BorderFX plugin with the new Aperture 3 ? All the plugins from the previous versions still work with Aperture 3 ? Thanks