Quantcast
Channel: Configuration Manager 2012 - Application Management forum
Viewing all 4762 articles
Browse latest View live

SCUP updates are not publishing in SCCM console

$
0
0

Hi 

We have SCUP (5.0) for 3rd party updates and doing the deployment via SCCM 2012. Recently we noticed that updates are publishing in SCUP and same thing is not getting updated in SCCM. I tried to create an ADR for the deployment of flash player updates and not able to see the latest updates in preview mode. Last update visible is 21.0.0.213.

Any help is appreciated.

Thanks!!

Regards

Shijin M


Required deployment being dropped

$
0
0

I'm seeing "absent mindedness" for the CM client on some (but not all) computers for some application deployments, and on other computers for different application deployments.

I'm using this very informative blog post to follow the install process via logs and when I dig into the logs on a specific machine that is failing the deployment, I regularly see the CM client just drop it. It's like the SCCM equivalent of going into the other room to and then forgetting what you went in there for.  For example, the last machine I looked into the logs, I saw:

  1. AppDiscovery.log: The application is not installed and should be.
  2. CAS.log: The content needs to be downloaded
  3. ContentTransferManager.log: The content is downloaded
  4. CAS.log: The content was successfully downloaded (and I can see the installer files in the ccmcache folder identified in the logs).
  5. AppEnforce.log: No log entries for +/- 5 days(!) around the time of discovery and content download.

The AppEnforce.log is supposed to tell me how the install progressed. It's not the logging that failed; there is no record of a log from the installer's own logging process either. Simply put, the installation was never attempted.  The SCCM client just dropped the process.

As always, this deployment type works fine for many workstations. There are no Requirements. There is one dependency that is common (and already installed) for other, working deployments on this particular machine. 

I've seen a very similar problem on other machines with other deployments.  They don't always drop the process in the same place.  I recently looked at 3 machines (of 150) reporting errors on another application package.  2 (of 3) found that the application was not installed and that it should be, and then never attempted download the content.

How do I track down what is happening to make SCCM "forget" what it is supposed to be doing? This inconsistency is maddening!

Thanks.

Application stuck at "Content Downloaded"

$
0
0

Hi..

i'm pushing out Office 2013 and have had good results, however there are still a number of clients that have downloaded the application, but are not installing it.

Admin console says:  Content Downloaded

Client Software Center says:  Past Due - Will be retried.

I setup the application deployment to be made available at 8PM last night, with a install deadline of 10PM, and for the most part it went fine.

At 11PM I triggered the Application Deployment cycle on the targeted collection and all the clients that were stuck at "content downloaded" started the install.

So my question is, what would cause this random group of clients to download the content, but not install it the deadline?

Detection Method Using %UserProfile% in the Path

$
0
0

Hello,

I have written a simple bat file that copies 2 shortcuts to the desktop and I created an application for it so it can be run from the Application Catalog.  Everything works like it should and the shortcuts get copied to the users desktop but I can't get the detection method to work so even though the shortcuts are there the user is told the installation failed.

I assumed I could use %UserProfile%\Desktop and then the name of the shortcut as the file name in the Detection Method but that never detects the shortcut.

If I use the full path of C:\User\username\Desktop and the same file name it does detect it and says the installation completed successfully.

Is it possible to use system variables such as %UserProfile% as part of the path in the detection Methods?

Thanks,

Dustin

Better OneDrive detection method

$
0
0

Our company had issues with the MS-provided detection method for OneDrive Sync Client for Business.  As such, I spent minimal time and effort (as you'll see) to enhance the original code.  Hope others can benefit (and improve) on this:

  • Detects RDP sessions.
  • More complete logging.
  • Reduction in errors.
[String]$LogfileName = "OneDriveDetection"
[String]$Logfile = "$env:SystemDrive\temp\$LogfileName.log"
Function Write-Log {
	Param ([string]$logstring)
	If (Test-Path $Logfile) {
		If ((Get-Item $Logfile).Length -gt 2MB)	{
			Rename-Item $Logfile $Logfile".bak" -Force
		}
	}
	$WriteLine = (Get-Date).ToString() + " " + $logstring
	Add-content $Logfile -value $WriteLine
}

Function OD-Fail {
	write-log "Warning: OneDrive.exe not found"
    write-log "Script Execution End!"
    write-log $Sep
}

Function Check-ODLocal {
    $User = gwmi win32_computersystem -Property Username
    if ($User) {
        $UserName = $User.UserName
        $UserSplit = $User.UserName.Split("\")
        $OneDrive = "$env:SystemDrive\users\" + $UserSplit[1] +"\appdata\local\microsoft\onedrive\onedrive.exe"
        if (Test-Path $OneDrive) {
	        write-log "Found DetectionFile"
	        $ODF = Get-Item $OneDrive
            $FV = $ODF.VersionInfo.FileVersion
	        write-log "Get File Details"
	        write-log "Version found:$ODF --- $FV"
            write-log "Script Execution End!"
            write-log $Sep
	        Return $true
        }
        else {
            OD-Fail
        }
    }
    else {
        OD-Fail
    }
}

#Determine logged-on users (RDP or otherwise)
$ucount = 0
$query = (qwinsta) 
$regex = '^(?<SESSIONNAME>.{18})(?<USERNAME>.{18})(?<ID>.{11})(?<STATE>.{8})(?<TYPE>.{7})(?<DEVICE>.*)$'
$values = $query | select -skip 1 | ?{$_ -match $regex} | % {
    $matches.remove(0)
    $properties = @{}
    $Matches.Keys | %{$properties[$_] = "$($Matches[$_])".Trim()}
    (New-Object -TypeName PSObject -Property $properties)
}

foreach ($value in $values) {
    $user = $value.username
    if ($user) {
        $ucount++
        $OneDrive = "$env:SystemDrive\users\" + $user +"\appdata\local\microsoft\onedrive\onedrive.exe"
    }
}

#Start Logging
$Sep = "*" * 20
write-log $Sep
write-log "Start Script Execution"

if ($ucount -eq 1) {
    write-log "Logged on User: $UserName"
    write-log "Detection-String: $OneDrive"
    If(Test-Path $OneDrive) {
	    write-log "Found DetectionFile"
	    $ODF = Get-Item $OneDrive
        $FV = $ODF.VersionInfo.FileVersion
	    write-log "Get File Details"
	    write-log "Version found:$ODF --- $FV"
        write-log "Script Execution End!"
        write-log $Sep
	    Return $true
    }
    Else {
	    OD-Fail
    }
}
else {
    write-log "Warning: Multiple users detected"
    Check-ODLocal
}


Office 2010 Status:Installing for 3 hours and fails

$
0
0

The deployment worked a while back when it was first added in, and now it fails when adding to and OS task sequence or failing during a regular App deployment. I have been checking the smsts.log and execmgr log on the clients it fails on, but neither give an reasons for the error. I know that the failure is happening because the installation is timing out.

I believe that clients are approved though I am not sure. I followed this technet document on verifying an approved computer, however step one is not very clear on where to check. It says to go to the Config Manager > site database > computer management > site management or collections, however I do not see any of those areas within config manager.

The boundaries are configured properly, and as i said this had worked perviously. I deleted the application from the distribution point and re-added it. I have read a few other articles but without any help to the reason why. Any help or suggestions you have would be great. thank you.

disable hibernate

$
0
0
I am looking command or programs for disable hibernate in power settings  via SCCM

Application Installation stuck "Waiting to begin installation"

$
0
0

We get some PC where the application is stuck on Installing. I have reboot the PC few times and also remove and re-install the SCCM client.

Check for updates online and none are waiting to be install or already installed.


Installation Application during windows Deployment via sccm 2016 verison 1806

$
0
0

Hello Friends,

I'm new to this product SCCM 2016 Version is 1806. Someone can tell me how to install the software during windows installation. 

Black screen to implement windows 10 1803 in sccm 1806

$
0
0
  1. is currently implementing Windows 10 1803 with sccm 1806, at the end of the task sequences appears on a black screen after the message of the moment.

smts.log 

Failed to delete registry value HKLM\Software\Microsoft\SMS\Task Sequence\Package. Error code 0x80070002TSManager30/10/2018 12:33:56 p. m.5804 (0x16AC)
Start to cleanup TS policyTSManager30/10/2018 12:33:56 p. m.5804 (0x16AC)
End Task Sequence policy cleanupTSManager30/10/2018 12:33:56 p. m.5804 (0x16AC)
Start to evaluate TS policy with lockTSManager30/10/2018 12:33:56 p. m.5804 (0x16AC)
Updating settings in \\.\root\ccm\policy\machine\actualconfigTSManager30/10/2018 12:33:56 p. m.5804 (0x16AC)
Total RequestedConfig policy instance(s) : 526 TSManager30/10/2018 12:33:57 p. m.5804 (0x16AC)
New/Changed ActualConfig policy instance(s) : 2 TSManager30/10/2018 12:33:57 p. m.5804 (0x16AC)
Raising event:
instance of CCM_PolicyAgent_SettingsEvaluationComplete
{
ClientID = "GUID:8318f608-67cd-4451-8b0c-91c26e3d5145";
DateTime = "20181030173357.242000+000";
PolicyNamespace = "\\\\.\\root\\ccm\\policy\\machine\\actualconfig";
ProcessID = 5800;
ThreadID = 5804;
};
TSManager 30/10/2018 12:33:57 p. m.5804 (0x16AC)
Status Agent hasn't been initialized yet. Attempting to create pending event.TSManager30/10/2018 12:33:57 p. m.5804 (0x16AC)
Raising pending event:
instance of CCM_PolicyAgent_SettingsEvaluationComplete
{
ClientID = "GUID:8318f608-67cd-4451-8b0c-91c26e3d5145";
DateTime = "20181030173357.242000+000";
PolicyNamespace = "\\\\.\\root\\ccm\\policy\\machine\\actualconfig";
ProcessID = 5800;
ThreadID = 5804;
};
TSManager 30/10/2018 12:33:57 p. m.5804 (0x16AC)
Successfully submitted pending event to WMI. TSManager30/10/2018 12:33:57 p. m.5804 (0x16AC)
End TS policy evaluationTSManager30/10/2018 12:33:57 p. m.5804 (0x16AC)
Policy evaluation initiatedTSManager30/10/2018 12:33:57 p. m.5804 (0x16AC)
Sending success status messageTSManager30/10/2018 12:33:57 p. m.5804 (0x16AC)
Not in SSLTSManager30/10/2018 12:33:57 p. m.5804 (0x16AC)
RegQueryValueExW is unsuccessful for Software\Microsoft\SMS\Task Sequence, SMSTSEndProgramTSManager30/10/2018 12:33:57 p. m.5804 (0x16AC)
GetTsRegValue() is unsuccessful. 0x80070002. TSManager30/10/2018 12:33:57 p. m.5804 (0x16AC)
End program: TSManager30/10/2018 12:33:57 p. m.5804 (0x16AC)
Finalize logging request ignored from process 5800 TSManager30/10/2018 12:33:57 p. m.5804 (0x16AC)
Waiting for CcmExec service to be fully operationalTSManager30/10/2018 12:33:57 p. m.5804 (0x16AC)
CcmExec service is up and fully operational TSManager30/10/2018 12:38:25 p. m.5804 (0x16AC)
Current Assigned Management Point is xxxx.xxx-xxx.com with Version 8692 and Capabilities: <Capabilities SchemaVersion="1.0"><Property Name="SSLState" Value="0"/></Capabilities>ClientLocation30/10/2018 12:38:25 p. m.5804 (0x16AC)
Successfully connected to MP xxxxxxxxxxx.com:80 TSManager30/10/2018 12:38:25 p. m.5804 (0x16AC)
Attempting to release request using {864A7763-C6C6-4013-92BC-B43D73318AF1}TSManager30/10/2018 12:38:25 p. m.5804 (0x16AC)
ReleaseRequest failed with error code 0x80004005 TSManager30/10/2018 12:38:25 p. m.5804 (0x16AC)
Task Sequence Manager could not release active TS request. code 80004005TSManager30/10/2018 12:38:25 p. m.5804 (0x16AC)
Process completed with exit code 0TSMBootstrap30/10/2018 12:38:25 p. m.5652 (0x1614)
Exiting with return code 0x00000000TSMBootstrap30/10/2018 12:38:25 p. m.5652 (0x1614)
Process completed with exit code 0OSDSetupHook30/10/2018 12:38:25 p. m.5400 (0x1518)
Task sequence completed 0x00000000OSDSetupHook30/10/2018 12:38:25 p. m.5400 (0x1518)
Resume SCCM Client.OSDSetupHook30/10/2018 12:38:25 p. m.5400 (0x1518)
CCMExec service startup type is set to enabled OSDSetupHook30/10/2018 12:38:25 p. m.5400 (0x1518)
Modifying CCMExec Service to auto start.OSDSetupHook30/10/2018 12:38:25 p. m.5400 (0x1518)
CCMExec Service startedOSDSetupHook30/10/2018 12:38:25 p. m.5400 (0x1518)
Waiting for CcmExec service to be fully operationalOSDSetupHook30/10/2018 12:38:25 p. m.5400 (0x1518)
CcmExec service is up and fully operational OSDSetupHook30/10/2018 12:38:25 p. m.5400 (0x1518)
Successfully connected to MP xxxxxxxxxx.com:80 OSDSetupHook30/10/2018 12:38:25 p. m.5400 (0x1518)
Cleaning up any active TS requests in WMI.OSDSetupHook30/10/2018 12:38:25 p. m.5400 (0x1518)
No instances of CCM_TSExecutionRequest found. OSDSetupHook30/10/2018 12:38:25 p. m.5400 (0x1518)
Cleaning up any maintenance task requests in WMI. OSDSetupHook30/10/2018 12:38:25 p. m.5400 (0x1518)
No instances of SMS_MaintenanceTaskRequests found. OSDSetupHook30/10/2018 12:38:25 p. m.5400 (0x1518)
Uninstalling Setup HookOSDSetupHook30/10/2018 12:38:27 p. m.5400 (0x1518)
Removing setup hook from registry.OSDSetupHook30/10/2018 12:38:27 p. m.5400 (0x1518)
Successfully removed C:\WINDOWS\system32\OSDGINA.DLLOSDSetupHook30/10/2018 12:38:27 p. m.5400 (0x1518)
Successfully removed C:\WINDOWS\system32\OSDSETUPHOOK.EXEOSDSetupHook30/10/2018 12:38:27 p. m.5400 (0x1518)
Successfully removed C:\WINDOWS\system32\_SMSOSDSetupOSDSetupHook30/10/2018 12:38:27 p. m.5400 (0x1518)
RegQueryValueExW is unsuccessful for Software\Microsoft\SMS\Task Sequence, SMSTSEndProgramOSDSetupHook30/10/2018 12:38:27 p. m.5400 (0x1518)
GetTsRegValue() is unsuccessful. 0x80070002. OSDSetupHook30/10/2018 12:38:27 p. m.5400 (0x1518)
End program: OSDSetupHook30/10/2018 12:38:27 p. m.5400 (0x1518)
Successfully finalized logs to SMS client log directory from C:\WINDOWS\CCM\LogsOSDSetupHook30/10/2018 12:38:27 p. m.5400 (0x1518)

He is currently implementing Windows 10 1803 with sccm 1806, at the end of the task sequences appears on a black screen after the message of the moment.

Bitlocker İssue deployment failed"Bitlocker Encryption,Deployment failed,Action failed,0x87D00324 (-2016410844)"

$
0
0

Hello All , 

we will deploy to bitlocker confirgation our company computer but average 1 week some computer not continues encryption progress by the way count of 50 computer not encryption via bitlocker 

Error message on sccm center 

Bitlocker Encryption,Deployment failed,Action failed,0x87D00324 (-2016410844),The application was not detected after installation completed.,TURISTL013,3,10/24/2018 2:16 PM,Error,Script,No,(SYSTEM),No,Yes,Yes,

Do you have any idea about this issue or encounter message(crash) ? 

Regards.



Deploying Chrome version 69 in task sequence, when I check version after it is on 70

$
0
0
I am deploying version 69.0.3497.100 to my task sequence, but after it runs and I check the version in Chrome it is 70. Group policy is already in place to prevent Chrome from auto-updating, but how I do I prevent that during the task sequence?

EXE file to convert MSI file

$
0
0

Dear Friends,

Anyone one can tell me what is the procedure of exe file convert to msi file because i am depolying application during windows installation.

Visual Studio Deploy

$
0
0
   Has anyone been able to successfully deploy Visual Studio Professional 2017 in their task sequence? I have the offline installer repository created on my SCCM drive, and it during the task sequence it looked as if it was downloading and installing, but afterwards the program wasn't there :(

Applications that can support User-Required and Device-based deployments?

$
0
0

Hi all,

So, I suspect I know the answer to this question, but I'm going to ask it anyway, and maybe solicit some thoughts on the best approach to this.

It's not hugely relevant, but as some background, we've come from LANDesk, which has a very different approach to deploying software to computers. I favour many of the approaches in SCCM, notably user-based deployments, but I'm struggling to work out how to fit some of them in without causing myself, and my team, excessive administration.

Let's say Software X is freely, optionally installable by any user on any computer (it's freeware, or we have a company license). We have aUser-based Available deployment which puts it in the Application Catalog. They can install it on their own computer, or they can install it on a meeting room PC. Heck, IT can go all old-school, walk over to user's PC, log in and install it on the user's behalf (assuming it's a System install). Nice. Flexible.

A need is identified for an IT team to "push" (LANDesk term) that software to the primary computer of allUsers in AD Group Y. This will need to be free of user-interaction. To reiterate: in this scenario, it's not satisfactory for users to be told to go install it themselves from the catalog - it needs to be automatic.

If we create a User-based Required deployment, the software will end up on every computer they log into, not necessarily their primary computer.

I know the documented solution to that is to define user device affinitiesand then set a deployment type requirement for primary devices. However, the moment you do that, you prevent the Application from ever being used in adevice-based deployment, and you also prevent my first scenario, where users are free to install it wherever they like from the Catalog.

Microsoft seem to have designed the user-centric model around the notion that if software is assigned/deployed to a user, it absolutely has to be available to themwherever they are, and that simply isn't the case in our business, and I'd wager in others as well.

I've seen a few discussion here where the workaround is to create a second Applicationwithout the affinity requirement, but that doubles the amount of administrative work for any application we wish to deploy in this way (we have some apps with 6 deployment types!), and introduces the possibility of human error, where the wrong Application is deployed and it either doesn't work at all (affinity app to device deployment), or works too well and ends up on the wrong machines (no affinity app to user deployment).

So, has anyone encountered these requirements in their, or a client's environment and come up with a satisfactory solution to this conundrum? Are we just being really odd in approaching things this way?

I know what I'd change about SCCM to accommodate this: allow the user-device affinity requirement to be applied to thedeployment instance rather than (or as well as) the application deployment type and I may hit up a Connect suggestion to that end, but I've got to come up with something in the meantime!

Thanks for any input folks!
Richard


Unable to uninstall application in SCCM

$
0
0

I am unable to uninstall deployed application in SCCM, followed below steps:

-Created new application Ex-AppUnintall

-Distributed it

-Deployed with Action as "Uninstall"

But when I go to client software, application still there. I am also using same switch to uninstall application which is in deployed version of application.

Can anyone suggest ?

Application Deploy Procedure

$
0
0

Anyone tell me how i deploy application during windows installation via TS?

Yours Prompt Action Will Be Highly Appreciate.

Using Application Deployment Types to remove a Package

$
0
0

Hi,

I'm trying to move our software which is installed over a number of PC's from Packages to Applications.

I know I can create a TS to remove the package and then install the software as an Application.  But I'm wondering if I can remove the Package that's out there using the Deployment Type in the Application to remove it and then install the software application.

I've tried googling my question but not getting the answer I need.

Thanks  

calling contents of a txt file from powershell

$
0
0

I need to call the contents of a text file in to my powershell script. Both the .txt file and the .ps1 file are in the same SCCM package. The powershell script is being called from within a task sequence that will ultimately deploy an image to a system.

I've tried with no path to the text file "get-content textfile.txt", assuming that since they are both in the same package, they would be in the same temp directory on the system to be imaged.

I also tried using %~dp0  "get-content %~dp0textfile.txt" in front of the text file name. In both cases it doesn't work.

I have tested this script on my local machine with an absolute path "C:\temp\textfile.txt" to the text file, and it works perfectly.

any help is greatly appreciated!

thank you!


James

SCCM 2012 upgrade to new(latest) version

$
0
0

Hi, in our company we have SCCM 2012 in version

SCCM 2012 R2 SP15.00.8239.10008239N/AN/AUpgrade guide

now, because we are in hybrid mode, and begin migrate the users to the cloud, I need deploy office 365 to all PCs in company, before uninstall old version of office, of course. I find guides, how deloy O365 via sccm, but, in our sccm missing options OFFICE 365 CLIENT MANAGEMENT {btw, updates and servicing missing too). I guess, the problem is, old version of SCCM. I trying deploy o365 by this video https://www.youtube.com/watch?v=yeH7Zp3z31I but, with no result. Deploy not starting.  So, I trying update/upgrade sccm, but, I cannot find any updates on internet(MS websites). https://www.systemcenterdudes.com/sccm-2012-version-numbers/

SCCM 2012 is definitly out of support? If yes, what its a altenative. I find SYSTEM CENTER 2016. Its this a succesor of sccm 2012? If yes, I have to download this vrsions:

which of this is rught. But, if its possible,I would like to try first upgrade old sccm, or deploy o365 with old sccmin the current state.

thx for reaction.


Viewing all 4762 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>