Install SCCM Client Post Install via MDT 2013

I want to know best practice on how to install the SCCM client via MDT 2013 as a post install task sequence? Im deploying a lot of machines via MDT offline USB....
Is it grabbing the ccmsetup folder and using the following command line?
ccmsetup.exe /noservice /MP:<insert> SMSSITECODE=<insert> smscachesize=10000

There's no such thing as a "best practice" for most real-world tasks; real-world is different for everyone which means you need to know the details and choose the right things for your environment.
You need to run the command-line that is appropriate for your environment just like you would for any manual install.
Without knowing any details about your environment, I would add the SMSMP and FSP properties to the above command-line. If this is truly an offline install, you shouldn't use /mp though, you should use /source and point it at the client directory.
Jason | http://blog.configmgrftw.com | @jasonsandys

Similar Messages

  • OSD Task Sequence fails to install SCCM client

    Hello,
    Our OSD task sequence fails to install the SCCM client with certain images.
    The TS gets to the "Setup Windows and Configuration" step, during which it downloads all the necessary SCCM client files (silverlight, C++ redistributable, client.msi....etc.). At this point computer restarts and in never loads back into the
    task sequence, instead it enters the minisetup (setup is starting services, setup is installing devices, setup is applying system settings...preparing computer for first use), after which the computer restarts and you are back at the CTR+ALT+Del screen.
    The computer has joined the domain and has run all other steps but it has failed to install SCCM client. I can also see the leftovers of an incomplete TS under c:\_SMSTaskSequence
    If we change the image specified under "Apply Operating System" step, everything works ok.
    It appears there is something wrong with this particular image. Any ideas?
    Logs show no errors. Let me know which logs you'd like me to post (and from which location)
    There is no ccm folder under c:\windows

    Hoping you are using ConfigMgr 2012 R2. If a client machine Join to Domain and doesn't proceed with other steps and not installing the CCM client, then problem seems to be with the Image.Do you have any RunOnce registry setting specified in the Image? You
    can mount the Image and check those settings.
    RunOnce Key Reference :
    https://msdn.microsoft.com/en-us/library/windows/desktop/aa376977(v=vs.85).aspx
    If the above key is present in the Image, TS Engine won't resume after the reboot.
    You need to use a new variable "SMSTSPostAction" at the end of the Task Sequence, to add your custom actions.
    The above variable is applicable in CM 2012 SP1 and R2.
    Thanks, Senthil. 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. Click on "vote as Helpful" if you feel this post helpful to you. This
    can be beneficial to other community members reading the thread.

  • Need help with a simple Rename/Join Domain/Install SCCM Client Task Sequence

    Good morning everyone,
    I need to create a very simple task sequence that will run an .exe that we have created that renames the computer based on a prefix-serialnumber...then restarts, adds it to our domain, restarts, and then installs the SCCM client.
    1) run rename program 
    2) join to domain
    3) install sccm client
    Can someone help me with the steps that will be required for this?
    Thank you very much!
    **note, these will not be formatted/have an OS installation ran on it with this task sequence.  The situation is that we are receiving 400+ custom configured laptops, and we're going to have to rename/join/install sccm on each...trying to simplify
    this
    any recommendations are greatly appreciated!

    Narcoticoo : Which boot image am i supposed to be using to insure that it boots into Standard Windows, NOT WinPE?  I have a standard x86 package / boot image i've been using.  If it boots up with this, it goes into WinPE (correct me if I'm wrong,
    for this seems to be what happens each time it boots off the boot image...it does not go into windows standard/full)
    When I go into properties of the one i'm using, and take the check off of "Use a boot image", where it will not boot to WinPE, it will not even show up in my list of available task sequences for
    1) when I PXE boot to try the task sequence, or
    2) when I try to make stand-alone media for this task sequence as you have suggested
    When I run the standalone media, the only log files I find are the following with errors:
    PackageID = 'MPS0014E' InstallSoftware
    12/8/2014 12:28:36 PM 2344 (0x0928)
    BaseVar = '', ContinueOnError='' InstallSoftware
    12/8/2014 12:28:36 PM 2344 (0x0928)
    ProgramName = 'MPHS - Rename Computer' InstallSoftware
    12/8/2014 12:28:36 PM 2344 (0x0928)
    SwdAction = '0002' InstallSoftware
    12/8/2014 12:28:36 PM 2344 (0x0928)
    IsSMSV4PlusClient() == true, HRESULT=80004005 (e:\nts_sccm_release\sms\client\osdeployment\installsoftware\main.cpp,332)
    InstallSoftware 12/8/2014 12:28:36 PM
    2344 (0x0928)
    Configuration Manager client is not installed
    InstallSoftware 12/8/2014 12:28:36 PM
    2344 (0x0928)
    Process completed with exit code 2147500037
    TSManager 12/8/2014 12:28:36 PM
    1544 (0x0608)
    TSManager 12/8/2014 12:28:36 PM
    1544 (0x0608)
    Failed to run the action: Install Package. 
    Unspecified error (Error: 80004005; Source: Windows)
    TSManager 12/8/2014 12:28:36 PM
    1544 (0x0608)
    Failed to run the action: Install Package. Execution has been aborted
    TSManager 12/8/2014 12:28:36 PM
    1544 (0x0608)
    Do not send status message in full media case
    TSManager 12/8/2014 12:28:36 PM
    1544 (0x0608)
    Failed to run the last action: Install Package. Execution of task sequence failed.
    Unspecified error (Error: 80004005; Source: Windows)
    TSManager 12/8/2014 12:28:36 PM
    1544 (0x0608)
    Do not send status message in full media case
    TSManager 12/8/2014 12:28:36 PM
    1544 (0x0608)
    Execution::enExecutionFail != m_eExecutionResult, HRESULT=80004005 (e:\nts_sccm_release\sms\client\tasksequence\tsmanager\tsmanager.cpp,866)
    TSManager 12/8/2014 12:43:48 PM
    1544 (0x0608)
    Task Sequence Engine failed! Code: enExecutionFail
    TSManager 12/8/2014 12:43:48 PM
    1544 (0x0608)
    TSManager 12/8/2014 12:43:48 PM
    1544 (0x0608)
    Task sequence execution failed with error code 80004005
    TSManager 12/8/2014 12:43:48 PM
    1544 (0x0608)

  • Unable to install sccm client from SCCM console install client option

    Hi
    Unable to install client on windows 7 64 bit enterprise from sccm console. The client is discovered in sccm console with status client = NO, so we want to install sccm client from console remotely.
    We cannot enable push install. my id has full access on SCCM site server SCCM product also admin rights on workstations. I am able to access net bios path SMS_<site code> of site server then client path from client machine. machine is in domain and
    is boundry of sccm .
    Client push install in console is diabled
    Regards Sushain KApoor

    Hi!
    Examine the ccm.log located in <SCCM 2007 InstallationPath>\LOGS on the site server.
    Best regards
    Henrik

  • How to install sccm client on bulk collections using push installation

    Unfortunately I did something and received the following description:-
    How to know/reproduce the following scenario by installing sccm client on bulk collections in SCCM 2012R2? 
    "User ***** requested that the CCRs will be generated for collection “All Windows Client Systems (P0100015), The SMS Provider did not generate CCRs for all the system resources in this collection.
    Possible cause: some system resources are not assigned to the current site, and you chose to insta
    Il clients only on system resources that are
    assigned to current site. 
    Another possible cause: Some system resources do not have Microsoft Windows NT operating system
    or above installed.
    Message ID: 30110"

    Ok. Some of your clients are not covered under any site assignment boundary, hence you are getting that error. Would recommend you to select "Install the client from a specified site" and select the Primary site. If your boundary groups for content
    are configured fine then the client will be installed from the appropriate site for each machine you are pushing the client to.
    -RG

  • I can't install sccm client

    hi,my client os is win server 2012 r2, 
    i want to install sccm client on it ,but i failed. why?
    i want to know if the client can be installed on this version os.
    thks

    hi,my client os is win server 2012 r2, 
    i want to install sccm client on it ,but i failed. why?
    ccmsetup log as follows:
    <![LOG[Retrieved client version '5.00.7958.1000' and minimum assignable site version '5.00.7845.1000' from client package]LOG]!><time="14:11:32.774-480" date="02-19-2014" component="ccmsetup" context=""
    type="0" thread="8088" file="siteinfo.cpp:678">
    <![LOG[Checking compatibility of site version '5.00.7804.1000', expect newer than '5.00.7845.1000']LOG]!><time="14:11:32.774-480" date="02-19-2014" component="ccmsetup" context="" type="1" thread="8088"
    file="siteinfo.cpp:703">
    <![LOG[Client version '5.00.7958.1000' is not compatible with the site '001' version '5.00.7804.1000'.]LOG]!><time="14:11:32.774-480" date="02-19-2014" component="ccmsetup" context="" type="2" thread="8088"
    file="siteinfo.cpp:721">
    <![LOG[Client version '5.00.7958.1000' is not compatible with the site '001' version '5.00.7804.1000'. Fail the installation.]LOG]!><time="14:11:32.774-480" date="02-19-2014" component="ccmsetup" context="" type="3"
    thread="8088" file="ccmsetup.cpp:1462">
    <![LOG[A Fallback Status Point has not been specified.  Message with STATEID='324' will not be sent.]LOG]!><time="14:11:32.774-480" date="02-19-2014" component="ccmsetup" context="" type="1" thread="6012"
    file="ccmsetup.cpp:9763">
    <![LOG[CcmSetup failed with error code 0x87d0029d]LOG]!><time="14:11:32.774-480" date="02-19-2014" component="ccmsetup" context="" type="1" thread="6012" file="ccmsetup.cpp:10879">

  • SCCM 2012 - Cannot install SCCM Client to workstation

    Hi
    I have installed SCCM2012 and I'm trying to push out the SCCM client to workstations, but it's keep failing...
    I have setup discovery towards AD so all workstation is in SCCM console under Devices, but no SCCM client is installed on any workstations. I right click a workstation and select "install client" but nothing happens, no ccmsetup folder is ever
    created in c:\windows folder.
    I then checked the ccm.log on the SCCM server and found this:
    I don't understand whats wrong. Can anybody help?
    I checked WMI using the wbemtest, it works fine. I tested from the SCCM server and another workstation. No problems.
    BITS is enabled.
    No firewall is installed on workstation.
    The workstation is completely new installed.

    Hi,
    The error translates to "A security package specific error occurred." what if you try and install the client manually on the workstation? any errors then?
    Client Push has a lot of dependencies, that is why I prefer to use Jason Sandys startup script instead to deploy the client.
    http://blog.configmgrftw.com/?page_id=349
    Regards,
    Jörgen
    -- My System Center blog ccmexec.com -- Twitter
    @ccmexec

  • Unable to install SCCM client on Windows Server 2008 R2 - certificate permission error?

    I am trying to comply with corporate policy, which is, have an SCCM agent or client on every Windows device. I have successfully used the provided SCCM installer on other Windows 2008 R2 servers. However for one particular server I cannot get the SCCM agent
    to install successfully. I've searched forums and documentation, but can't find a solution. Part of the problem is the lack of feedback by SCCM on what is wrong. I think I have narrowed down the symptom to the following error messages from the "C:\Windows\CCM\Logs\ClientIDManagerStartup.log":
    [LOG[Certificate [Thumbprint C559304C1598F17641D0732EB9EB787169A25FA7] issued to 'SMS' doesn't have private key or caller doesn't have access to private key.
    [LOG[Failed in GetCertificate(...): 0x87d00281]LOG]!><time="10:56:59.014+300" date="04-17-2014" component="ClientIDManagerStartup" context="" type="3" thread="3024" file="ccmcert.cpp:2122">
    [LOG[CCMCreateAuthHeaders failed (0x8009200b).]LOG]!><time="10:56:59.014+300" date="04-17-2014" component="ClientIDManagerStartup" context="" type="3" thread="3024" file="clientauthutil.cpp:978">
    When I use the Certificates MMC snap in to look at installed certs on this Windows Server 2008 R2 machine, there are plenty of normal and expected certificates there. There is also a branch called SMS with hundreds of entries, I have no idea what that is.
    The above error seems to indicate a permissions issue. What do I do to fix this SCCM install? It seems like a server cert issue, not an SCCM issue, so I'm posting to the Windows Server forums.
    Thanks in advance.
    Thanks

    this maybe helpful...
    http://www.jamesbannanit.com/2011/04/certificate-requirements-for-sccm-2012/
    should be asked in SCCM forum...
    http://social.technet.microsoft.com/Forums/en-US/home?forum=configmanagerdeployment
    Best,
    Howtodo

  • Problem installing SCCM client in remote untrusted forest

    Hi,
    My configuration is :
    My network is in two parts : intranet and a DMZ. In the DMZ there is another forest and domain. There is no trust between the forest in the DMZ and the internal network. I configured the remote forest in SCCM with a user account that has Domain Admin acces
    in the DMZ forest/domain.
    The primary site server is located in the internal part of my network. SQL is installed on a remote server. Management point, distribution point, Fallback Status Point roles are installed on the primary site server. SMS Provider is installed on the primary
    site server.
    In the DMZ part, I have a management point, distribution point installed on one server.
    The forest discovery works fine. I can query AD in the remote forest (DMZ).
    I have a problem installing the SCCM client on computers located in the remote forest with client push or with the command line.
    CCMSETUP.EXE /MP:DMZ site server /DP:DMZ site server /FSP: primary site server SMSSITECODE:SIT
    In CCMSetup.log I can see that the client try to communicate with my DMZ site server but it reverts to the management point and distribution point located in the internal part of the network. The installation fails and will try in 10 minutes.
    Do anyone has seen this problem before? Am I missing something? Could it be a configuration issue?
    Could you help me whit this please?
    Thanks in advance for your time!
    Jacques

    Does the client installation work when you install the client manually on the untrusted domain client? What does the CCM.log say on the site server?
    Have you double checked the firewall ports for the client push installation? The ports needed for the client push to work are as follows (from the site server to the client):
    SMB - TCP 445
    RPC Endpoint Mapper - TCP 135 / UDP 135
    RPC Dynamic Ports
    And to Management Point:
    HTTP - TCP 80 (When using HTTP)
    HTTPS - TCP 443 (When using HTTPS)
    Also a quote from
    TechNet: "In addition to the ports listed in the following table, client push installation also uses Internet Control Message Protocol (ICMP) echo request messages from the site server to the client computer to confirm whether the client
    computer is available on the network. ICMP is sometimes referred to as TCP/IP ping commands. ICMP does not have a UDP or TCP protocol number, and so it is not listed in the following table. However, any intervening network devices, such as firewalls, must
    permit ICMP traffic for client push installation to succeed."

  • Error 1603 installing SCCM client

    When I try to install the SCCM client on some machines I get an installation error 1603. Setup starts ok, but after a while ends in a 1603 error.
    ccmsetup.log
    MSI: Action 13:45:12: AllocateRegistrySpace. Allocating registry space ccmsetup 14/07/2008 13:45:12 PM 2532 (0x09E4)
    MSI: Action 13:45:12: ProcessComponents. Updating component registration ccmsetup 14/07/2008 13:45:12 PM 2532 (0x09E4)
    MSI: Action 13:45:12: UnpublishComponents. Unpublishing Qualified Components ccmsetup 14/07/2008 13:45:12 PM 2532 (0x09E4)
    MSI: Action 13:45:12: UnpublishFeatures. Unpublishing Product Features ccmsetup 14/07/2008 13:45:12 PM 2532 (0x09E4)
    MSI: Action 13:45:12: SmsTSManagerStopServiceInit.  ccmsetup 14/07/2008 13:45:12 PM 2532 (0x09E4)
    MSI: Action 13:45:12: CcmStopService.  ccmsetup 14/07/2008 13:45:12 PM 2532 (0x09E4)
    MSI: Action 13:45:12: StopServices. Stopping services ccmsetup 14/07/2008 13:45:12 PM 2532 (0x09E4)
    MSI: Action 13:45:12: SmsStopUIComponents. Stopping UI Components ccmsetup 14/07/2008 13:45:12 PM 2532 (0x09E4)
    MSI: Action 13:45:12: StopDeleteWUSER32. Stopping and deleting WUSER32 service ccmsetup 14/07/2008 13:45:12 PM 2532 (0x09E4)
    Installation failed with error code 1603 ccmsetup 14/07/2008 13:45:12 PM 2532 (0x09E4)
    There were no previous SMS/SCCM clients installed.
    Tried a new install after the rebuild of WMI but without any luck.

    Hi John,
    The client.msi.log shows this error (same as above):
    Action start 23:52:25: StopDeleteWUSER32.
    MSI (s) (08:1C) [23:52:26:037]: Machine policy value 'DisableRollback' is 0
    MSI (s) (08:1C) [23:52:26:037]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
    Action ended 23:52:26: StopDeleteWUSER32. Return value 3.
    At the bottom of the ccmsetup.log it ends with this error:
    MSI: Action 23:52:25: StopDeleteWUSER32. Stopping and deleting WUSER32 service 8/20/2009 11:52:25 PM
    Installation failed with error code 1603 8/20/2009 11:52:26 PM
    Next retry in 120 minute(s)... 8/20/2009 11:52:38 PM
    I'm having trouble locating a windows installer log.  The %temp% folder would be in docs&settings\userid\local settings\temp, I would assume and I've looked through the folders for the acct that is doing the client install as well as all the other acct folders and can't seem to locate any logs with a current date/time stamp.  Any idea where I would look?
    Also, BTW, I reinstalled MSI 4.5 before I did this last client installation, but I did it remotely/silently, so no prompts or data returned... I just found the errors below in the \windows\KB942288-v3.log file... might be related?
    4.140: 2009/08/20 23:44:40.146 (local)
    4.140: e:\6c0499dd2b70eebd34aa8b8c33\UPDATE\update.exe (version 6.3.13.0)
    4.172: Hotfix started with following command line: /quiet /norestart
    4.187: In Function GetReleaseSet, line 1240, RegQueryValueEx failed with error 0x2
    8.578: In Function TestVolatileFlag, line 11825, RegOpenKeyEx failed with error 0x2
    8.578: In Function TestVolatileFlag, line 11857, RegOpenKeyEx failed with error 0x2
    8.578: DoInstallation: CleanPFR failed: 0x2
    8.593: In Function GetReleaseSet, line 1240, RegQueryValueEx failed with error 0x2
    8.593: SetProductTypes: InfProductBuildType=BuildType.IP
    8.593: SetAltOsLoaderPath: No section uses DirId 65701; done.
    8.718: DoInstallation: FetchSourceURL for e:\6c0499dd2b70eebd34aa8b8c33\update\update_SP3QFE.inf failed
    8.718: CreateUninstall = 0,Directory = C:\WINDOWS\$NtUninstallKB942288-v3$
    8.718: LoadFileQueues: UpdSpGetSourceFileLocation for halaacpi.dll failed: 0xe0000102
    8.734: BuildCabinetManifest: update.url absent
    8.750: Starting AnalyzeComponents
    8.750: AnalyzePhaseZero used 0 ticks
    8.750: No c:\windows\INF\updtblk.inf file.
    8.750: OEM file scan used 0 ticks
    10.812: AnalyzePhaseOne: used 2062 ticks
    10.812: AnalyzeComponents: Hotpatch analysis disabled; skipping.
    10.812: AnalyzeComponents: Hotpatching is disabled.
    10.812: FindFirstFile c:\windows\$hf_mig$\*.*
    16.500: AnalyzeForBranching used 0 ticks.
    16.500: AnalyzePhaseTwo used 0 ticks
    16.500: AnalyzePhaseThree used 0 ticks
    16.500: AnalyzePhaseFive used 0 ticks
    16.515: AnalyzePhaseSix used 15 ticks
    16.515: AnalyzeComponents used 7765 ticks
    16.515: Downloading 0 files
    16.515: bPatchMode = FALSE
    16.515: Inventory complete: ReturnStatus=0, 7797 ticks
    16.515: Num Ticks for invent : 7797
    16.547: VerifyTargetFileSize: Unable to verify size as Source = NULL for file c:\windows\inf\HFX269.tmp
    16.578: Copied file:  c:\windows\inf\branches.inf
    38.625: Allocation size of drive C: is 4096 bytes, free space = 4751011840 bytes
    38.625: Drive C: free 4530MB req: 5MB w/uninstall 0MB
    38.625: CabinetBuild complete
    38.625: Num Ticks for Cabinet build : 22110
    38.625: DynamicStrings section not defined or empty.
    38.656: FileInUse:: Detection disabled.
    38.656: FileInUse:: Add to list - Service Name: msiserver
    39.656: LoadFileQueues: UpdSpGetSourceFileLocation for halaacpi.dll failed: 0xe0000102
    40.015: Copied file:  C:\WINDOWS\system32\spmsg.dll
    40.125: PFE2: Not avoiding Per File Exceptions.
    41.734: DoInstallation: Installing assemblies with source root path: e:\6c0499dd2b70eebd34aa8b8c33\
    41.734: Num Ticks for Copying files : 3109
    41.812: Num Ticks for Reg update and deleting 0 size files : 78 
    41.828: DoInstallation: ApplyAdminSystemAclsRecursive for c:\windows\$hf_mig$\KB942288-v3 failed; error=0x00000003
    41.843: UpdateSpUpdSvcInf: Source [ProcessesToRunAfterReboot] section is empty; nothing to do.
    43.187: RebootNecessary = 0,WizardInput = 1 , DontReboot = 1, ForceRestart = 0
    Thanks again!! --Jo

  • SCCM Client not installing after imaging the computer. Where to start?

    Hi,
    When I image or re-image a new machine, it will finish successfully but the client will be set to "NO" regardless of how many days I leave it there.
    We delete the machine name both on SCCM and Active Directory prior to any image deployment.  Therefore, the imaging process is treated as new.  Autodiscovery is also enabled except for Network Discovery which we never enabled ever.
    We are running SCCM 2012 SP1.  Windows 7 both 32 and 64 bit.
    If we install the client manually on the workstations, it is fine but it has to be automatic on the server side.
    Pls. help.  Thanks!

    You are right on.  Thank you thank you!  The client is stuck in provisining mode.  This helped me understand the cause of the problem. 
    However, the solution of setting the provision from true to false in the registry, didn't change the "client install" status from No to Yes.  Also, the restart option is already set to the default operating system...
    So  what I did (and currently testing right now) is disabled the restart option to see if that's the reason it is getting messed up. 
    Will follow up shortly.

  • Why client is downloading update from server while installing sccm client.

    Dear team,
    Can anybody give answer to my question?
    I am new to sccm so when I am installing any client software the ccmsetup.log file is showing connecting to the server for downloading updates and it's taking long time to downloading because the office network is very slow 512kbps.But my setup file size
    is 111MB then what updates are downloading from server and is it possible to put that updates in the offline setup.

    You can copy the installer from the SCCM client installers from the SCCM server to the local machine.
    Refer to the below for the switches for installation.
    Use the switch /source:<Path>
    to specify the location of the folder for the installers you copied earlir.
    http://technet.microsoft.com/en-us/library/bb680980.aspx
    Blog: http://theinfraguys.com
    Follow me at Facebook
    The Infra Guys Facebook Page
    Please remember to click Mark as Answer on the answer if it helps you in anyway

  • How to install SCCM client in native mode on kiosks machine

    Please share the whole process of sccm client installation and server configuration for kiosks machine

    https://www.dropbox.com/s/xcf57h95j1b90am/SC2012_ConfigMgr_DocDownload.docx
    Hope this link help you 
    DushYant'

  • Install SCCM client to server in DMZ: "MP does not exist"

    Hi,
    I’d need to put a management point/distribution point in a DMZ.
    Therefore I wanted to make sure this MP/DP works before I move it to this DMZ and I:
    *configured a Windows 2012 R2, (name: “DMZ01”) server with the prereqs*removed this server DMZ01 from the actual domain*added a DNS entry from DMZ to which I can connect successfully
    *added a network access account in order to push the sccm client
    *added correct boundary group
    Now when I try to deploy an SCCM client to it, I get a failure in the ccmsetup log saying MP does not exist:
    Failed to load mdmregistration.dll with error 0x8007007e          
    ccmsetup           
    27/04/2015 10:54:48       932 (0x03A4)
    Failed to load mdmregistration.dll. Continue deployment.        
    ccmsetup           
    27/04/2015 10:54:48       932 (0x03A4)
    An MP does not exist on this machine. ccmsetup           
    27/04/2015 10:54:48       932 (0x03A4)
    My questions:
    *should I use the management point affinity here to force finding the management point?
    *what about the domain certificate (that’s gone now since it isn’t domain joined anymore)? How to deal with this/revive this?
    Please advise.
    J.
    Jan Hoedt

    Ok, thanks.
    Note: there is no trust between the DMZ domain and the domain in which the "main" sccm server exists.
    What are the options there? F.e. could we use Mutual authentication just as with a Mac
    https://technet.microsoft.com/en-us/library/jj591553.aspx#BKMK_ManualCertifcateInstallation
    Jan Hoedt

  • Reading client-posted data via Tomcat servlet

    Hi,
    I'm doing some simple client/servlet communication using Tomcat, using POST's via an HttpURLConnection.
    I'm seeing my data at the servlet side via getInputStream(), but I can't decode it to a String, even by using InputStreamReader (which is supposed to do that). If I send a 5 character String, at the servlet I see "^@^@^@^@^@". I've tried constructing a String from a byte[], but it doesn't decode, either.
    I've tried writing the data as text with PrintWriter on the client side, and then reading text on the servlet side with getReader(), but getReader() returns null.
    I'm beginning to wonder if the problem is within Tomcat itself.
    Reading the docs and api's leads me to believe this should be very straightforward, but it's just not working.
    Any thoughts would be greatly appreciated!!!

    Here's the code... but there's been a strange twist:
    (client side)
    private void writeStringAsText(OutputStream outputStream, String content) throws UnsupportedEncodingException
    PrintWriter printer = new PrintWriter(outputStream);
    String encoded = URLEncoder.encode(content,"UTF-8");
    System.err.println("asText is [" + content + "], encoded = [" + encoded + "]");
    printer.println(encoded);
    printer.flush();
    printer.close();
    Servlet side:
    BufferedReader reader = request.getReader();
    StringBuffer sBuf = new StringBuffer();
    while ((line = reader.readLine()) != null){
    sBuf.append(line);
    Yesterday the problem disappeared, but it reappeared today.
    So, yesterday, the above code worked fine. Today I learned that
    a call to reader.ready() (servlet side) returns false.
    Does anyone know why a BufferedReader would return ready() == false??
    (Other than what the Javadoc say)
    Thanks in advance!

Maybe you are looking for

  • How do you install Windows 8.1 on a system with multiple hard drives?

    Specifically a system with a User folder located on more than one drive. I have programs installed on both drives in order to save space on one (a small SSD boot drive). Upon trying to install windows 8.1, the Windows Store tells me my PC can't run W

  • [SOLVED]External drive (SATA in enclosure) not showing up (USB)

    I have had my drive working for ages, but recently it has stopped showing up in fdisk -l. dmesg shows some detection but I think it's something to do with systemd, which I switched over to recently coinciding with this. dmesg on plugging drive in: [3

  • Making a Jpeg gallery with the Loader component...

    I'm trying to make a gallery using many loader component thumbnail photos that present their larger image in a different (loader component) box when rolling over with my cursor...Is this right? Is there an easier way I can do this? If I can do it thi

  • How to map

    Hi, if i am mapping from db2 to 11i ..i want ot understand how to work with the API(hrms) in 11i ..i have the db2 table definitions and have to map to the interface tables and API's in 11i to import the data to 11i ... thanx to you all..... venu

  • HT204291 Apple TV Connect and mirror problem

    i need to connect and mirror my macbook pro , ipad , iphone to apple tv and i cant see the airplay icon on any of them .... all devices are updated and connected to the same wi-fi .... please help