Quantcast
Channel: Configuration Manager 2007 Software Distribution forum
Viewing all 629 articles
Browse latest View live

Unable to deploy vbscript using sccm

$
0
0

Hi,

I create one .vbs file to migrate all printers to new print server for all my office user, deployment successful but the script doesn't run at all. If i run the script locally, it able to migrate all printer to new print server without any issue. Below is my script of the migration process and i already try using cscript.exe xxx.vbs as command line , and also using bat file to trigger the .vbs file also not able to run. Anyone have any idea?

Const ForAppending = 8
Const ForReading = 1

Dim WshNetwork, objPrinter, objOutputFile, intDrive, intNetLetter


Set WshNetwork = CreateObject ("Wscript.Network")
'provide access to window networking method to easily retrieve information like network share, printer, computer name
'username and domain

Set ObjWMIService = GetObject ("Winmgmts:{impersonationLevel=impersonate}!\\" & WshNetwork.ComputerName & "\root\cimv2")
'return information about computer registry

Set InstPrinters = objWMIService.ExecQuery("Select * from Win32_Printer")
'List the printer management properties

Set objFSO = CreateObject("Scripting.FileSystemObject")
'reading and writing text file
'Filesystemobject assign to an object and using Createfile method to create
'new file or using current file

Set WshShell = WScript.CreateObject("WScript.Shell")
'wshshell use to run a program locally, modify registry, create shortcut
'access system folder

fileOutput = "printer.txt"
'If objFSO.FileExists (fileOutput)Then
'objFSO.DeleteFile (fileOutput)
'End If

Set objOutputFile = objFSO.OpenTextFile (fileOutput, ForAppending, True)
For Each objPrinter in InstPrinters
If Left(objPrinter.Name, 11)= "\\myps2\MLP" Then
objOutputFile.WriteLine(objPrinter.Name)
'strTest = Left(objPrinter.Name, 2)
'objOutputFile.WriteLine(objPrinter.Name)
Wscript.Echo "This line is " & objPrinter.Name
strChar = Right(objPrinter.Name ,5)
WScript.Echo "This printer name is: " & strChar
WshNetwork.RemovePrinterConnection(objPrinter.Name)
WshNetwork.AddWindowsPrinterConnection ("\\myps\" & strChar)
Else
If Left(objPrinter.Name, 11)= "\\myps2\MDP" Then
objOutputFile.WriteLine(objPrinter.Name)
'strTest = Left(objPrinter.Name, 2)
'objOutputFile.WriteLine(objPrinter.Name)
Wscript.Echo "This line is " & objPrinter.Name
strChar = Right(objPrinter.Name ,5)
WScript.Echo "This printer name is: " & strChar
WshNetwork.RemovePrinterConnection(objPrinter.Name)
WshNetwork.AddWindowsPrinterConnection ("\\myps\" & strChar) 
Else
If Left(objPrinter.Name, 12)= "\\myps2\MLAB" Then
objOutputFile.WriteLine(objPrinter.Name)
'strTest = Left(objPrinter.Name, 2)
'objOutputFile.WriteLine(objPrinter.Name)
Wscript.Echo "This line is " & objPrinter.Name
'strChar = Right(objPrinter.Name ,6)
WScript.Echo "This printer name is: " & strChar
WshNetwork.RemovePrinterConnection(objPrinter.Name)
'WshNetwork.AddWindowsPrinterConnection ("\\myps\" & strChar)
End If 
End If
End If
Next


*** [HYT00][0][Microsoft][ODBC SQL Server Driver]Timeout expired error in distmgr.log

$
0
0

Hello Experts,

We got in to problem of perticular SCCM Primary site location users were not able to install any application via RAP as they were getting error pop up of "The requested software cannot be located. The system might be in the process of transferring these files. Try again later, or if this operation contiues to fail after several attempts, please contact your administrator of helpdesk operator."

During the investigation found out that distmgr.log was showing the error "*** [HYT00][0][Microsoft][ODBC SQL Server Driver]Timeout expired" for sevaral packages.

I had to reboot the server and after the reboot everything was back to normal.

I would request you all to help me to get the root cause of this problem.

Thanks.

Error in TS to configure computer: "..failure exit code of 16389..error 2147942512.."

$
0
0

TS-Error on PC with only an USB flash drive, like software license dongles with no available disk space on it.

All examples TS’s stop with this error: The task sequence manager could not successfully complete execution of the task sequence. A failure exit code of 16389 was returned. The operating system reported error 2147942512: There is not enough space on the disk.

Example 1: 'Install Software Updates'
This is a native SCCM TS-Program. After windows updates are completely installed, computer should restart, but it does not.

Example 2: ‘Restart Computer’
This is also a native SCCM TS-Program. And here, the restart won’t kick in either.

Example 3: SCCM-Program with parameter ‘After running: ConfigMgr restarts computer’
Also here the restart is missing.

Add the two ‘Run Command Line’ TS-Steps below, right before the TS-step, where the computer should perform a restart.

devcon.exe remove USBSTOR\DISK*

CMD /C choice /T 10 /C 01 /D 0

Microsoft DirectAccess Connectivity Assistant

$
0
0

Hi.

Deploying Microsoft DirectAccess Connectivity Assistant from SCCM 2007 to windows 7 clients.

Client is rebooting automatically during  / after? program instal.

In Advertisement status i get this message:

Windows Installer per-user elevation of this program ("C010023F" - "DirectAccess client x64") failed for advertisement "C0120415". The operating system reported error 1603: Fatal error during installation. This program was started. Please check the status of this program to determine whether or not it was completed sucessfully
Possible causes: The version of Windows Installer on the computer is less than version 2.0, or the setup program does not support Windows Installer per-user elevated rights installations.
Possible solutions: Update the version of Windows Installer on the computer to version 2.0 or later, or contact the software vendor that supplied the install program to determine if a version of setup that supports per-user elevated rights is available.

I have tried two different instal strings:

msiexec.exe /qb! /i "DirectAccess_Connectivity_Assistant_2_0_x64.msi" ALLUSERS=2 /m SIIITTT

msiexec.exe /i "DirectAccess_Connectivity_Assistant_2_0_x64.msi" /qn

Application log on client says Installation completed successfully.

What is the reason for the unwanted reboot?

I have installed the sw manually, that works fine. No reboot there.

SCCM 2007 R3 only tmp files in cache

$
0
0

 I am having a problem getting packages to push to the clients. When i look in the cache I have .tmp files and it never finishes downloading . When I tell the advert to run from the server the package runs fine.  We did just upgrade from SP2 to R3 and also upgrade the client to  4.00.6487.2157 all with out issue I thought. Did I miss a patch I should have intalled.

I have gone through this solution and can't find any 404 errors just 200's and they are success. http://social.technet.microsoft.com/forums/en-US/configmgrswdist/thread/e3c06b14-d0b8-4b4c-9a52-7f920de06f8e/

Installing Applications using 2012 keeps failing

$
0
0

I setup system center 2012 this morning and it's mostly working, it looks like an excellent product!  I can deploy the client as well as endpoint protection.

Here is my problem.  I create a simple application to push out the Java MSI.  I then distribute the content to my distribution point and confirm it's done under the monitor page.  After that I'm deploying the application to an XP and 7 machine. It shows up in the software center but the installs keep failing (i've tried different MSIs and rebuilt it a bunch of times).  Here is the error I'm seeing on the client:

"Unable to download the software

There was a problem downloading the software" - then a bit more encouraging me to call helpdesk.

Then in the more information box I'm getting:

"The software change returned error code 0x87D00607(-2016410105)."

Any suggestions on what could be causing this?

Not able to repair an application from Control Panel because package source is missing

$
0
0

Sorry if this has been addressed before.  I tried multiple searches and couldn't find a similar issue even though I'm quite sure this is a known issue.

I have an application that needs to be repaired on a client machine.  From the Control Panel, I click on the application and hit select "Repair".  I'm presented with a dialog stating that the source files cannot be found (Path points to the SCCM cache folder under a package ID). The application was installed via SCCM and the "InstallSource" location in the registry states that it was installed from the SCCM cache folder, however the package is no longer there because it has been overwritten due to cache size restraints.

My question is, is there an easy way to refresh the source location for that one package?

Do I have to manually recreate that folder structure and copy down the source files just to run a repair?  Seems like a terrible way to do things.

Thanks in advance for any feedback!

Waiting Content Problem

$
0
0
Hello,

I'm having some trouble distributing a package.  It's working on my test PC but when I attempt to push it out to an actually a client it just sits there waiting for content.

BITS is off on clients
There is only one DP.
The boundaries are set.

I'll paste two execmgr.log's one for the client that works and the one that doesn't please let me know if you need more logs.

Non-Working Log:
CExecutionManager::Execution Manager received a SERVICEWINDOWEVENT DELETE Event	execmgr	9/30/2009 3:12:04 PM	2544 (0x09F0)
CExecutionRequestManager::Received a Service Window Delete Notification.	execmgr	9/30/2009 3:12:04 PM	2544 (0x09F0)
Policy deleted for advertisement US12000E package US10000D program Tripwire	execmgr	9/30/2009 3:12:04 PM	1464 (0x05B8)
Policy was deleted or expired for program Tripwire. Remove the execution request.	execmgr	9/30/2009 3:12:04 PM	1464 (0x05B8)
Policy arrived for parent package US10000E program Tripwire Reinstall	execmgr	9/30/2009 3:12:04 PM	3608 (0x0E18)
Raising event:
[SMS_CodePage(437), SMS_LocaleID(1033)]
instance of SoftDistProgramOfferReceivedEvent
{
	AdvertisementId = "US12000F";
	ClientID = "GUID:A480ABDB-BE87-47FA-A5E1-EAAC6CCA4D64";
	DateTime = "20090930191204.826000+000";
	MachineName = "US00280I00";
	ProcessID = 2132;
	SiteCode = "US1";
	ThreadID = 3608;
};
	execmgr	9/30/2009 3:12:04 PM	3608 (0x0E18)
Requesting content from CAS for package US10000E version 1	execmgr	9/30/2009 3:12:05 PM	2544 (0x09F0)
Successfully created a content request handle {0B19A788-3BEA-4347-A923-A4443355E0F9} for the package US10000E version 1	execmgr	9/30/2009 3:12:05 PM	2544 (0x09F0)
Program Tripwire Reinstall change to state STATE_ADVANCED_DOWNLOAD content in progress	execmgr	9/30/2009 3:12:05 PM	2544 (0x09F0)
Execution Request for package US10000E program Tripwire Reinstall state change from NotExist to AdvancedDownload	execmgr	9/30/2009 3:12:05 PM	2544 (0x09F0)
Mandatory execution requested for program Tripwire Reinstall and advertisement US12000F	execmgr	9/30/2009 3:12:05 PM	2784 (0x0AE0)
Creating mandatory request for advert US12000F, program Tripwire Reinstall, package US10000E	execmgr	9/30/2009 3:12:05 PM	2784 (0x0AE0)
Raising event:
[SMS_CodePage(437), SMS_LocaleID(1033)]
instance of SoftDistWaitingContentEvent
{
	AdvertisementId = "US12000F";
	ClientID = "GUID:A480ABDB-BE87-47FA-A5E1-EAAC6CCA4D64";
	DateTime = "20090930191205.248000+000";
	MachineName = "US00280I00";
	PackageName = "US10000E";
	PackageVersion = "1";
	ProcessID = 2132;
	ProgramName = "Tripwire Reinstall";
	SiteCode = "US1";
	ThreadID = 2784;
};
	execmgr	9/30/2009 3:12:05 PM	2784 (0x0AE0)
Successfully raised SoftDistWaitingContentEvent event for program Tripwire Reinstall	execmgr	9/30/2009 3:12:05 PM	2784 (0x0AE0)
Execution Request for package US10000E program Tripwire Reinstall state change from WaitingDependency to WaitingContent	execmgr	9/30/2009 3:12:05 PM	2784 (0x0AE0)




Working Log:
Policy arrived for parent package US10000E program Tripwire Reinstall	execmgr	9/30/2009 3:05:33 PM	3836 (0x0EFC)
Raising event:
[SMS_CodePage(437), SMS_LocaleID(1033)]
instance of SoftDistProgramOfferReceivedEvent
{
	AdvertisementId = "US12000F";
	ClientID = "GUID:0D0663E3-E801-432C-9635-AEC9A9E7D6E5";
	DateTime = "20090930190533.205000+000";
	MachineName = "360TEST";
	ProcessID = 1296;
	SiteCode = "US1";
	ThreadID = 3836;
};
	execmgr	9/30/2009 3:05:33 PM	3836 (0x0EFC)
Requesting content from CAS for package US10000E version 1	execmgr	9/30/2009 3:05:33 PM	2864 (0x0B30)
Successfully created a content request handle {4C306C10-F3B4-446A-9F91-0F4DF2743E6B} for the package US10000E version 1	execmgr	9/30/2009 3:05:33 PM	2864 (0x0B30)
Program Tripwire Reinstall change to state STATE_ADVANCED_DOWNLOAD content in progress	execmgr	9/30/2009 3:05:33 PM	2864 (0x0B30)
Execution Request for package US10000E program Tripwire Reinstall state change from NotExist to AdvancedDownload	execmgr	9/30/2009 3:05:33 PM	2864 (0x0B30)
Mandatory execution requested for program Tripwire Reinstall and advertisement US12000F	execmgr	9/30/2009 3:05:33 PM	3340 (0x0D0C)
Creating mandatory request for advert US12000F, program Tripwire Reinstall, package US10000E	execmgr	9/30/2009 3:05:33 PM	3340 (0x0D0C)
Raising event:
[SMS_CodePage(437), SMS_LocaleID(1033)]
instance of SoftDistWaitingContentEvent
{
	AdvertisementId = "US12000F";
	ClientID = "GUID:0D0663E3-E801-432C-9635-AEC9A9E7D6E5";
	DateTime = "20090930190533.487000+000";
	MachineName = "360TEST";
	PackageName = "US10000E";
	PackageVersion = "1";
	ProcessID = 1296;
	ProgramName = "Tripwire Reinstall";
	SiteCode = "US1";
	ThreadID = 3340;
};
	execmgr	9/30/2009 3:05:33 PM	3340 (0x0D0C)
Successfully raised SoftDistWaitingContentEvent event for program Tripwire Reinstall	execmgr	9/30/2009 3:05:33 PM	3340 (0x0D0C)
Execution Request for package US10000E program Tripwire Reinstall state change from WaitingDependency to WaitingContent	execmgr	9/30/2009 3:05:33 PM	3340 (0x0D0C)
Content is available for program Tripwire Reinstall.	execmgr	9/30/2009 3:05:47 PM	3516 (0x0DBC)
CExecutionRequest::Service Windows Manager has allowed us to run.	execmgr	9/30/2009 3:05:47 PM	3516 (0x0DBC)
Execution Manager timer has been fired.	execmgr	9/30/2009 3:05:47 PM	3340 (0x0D0C)
Executing program execute.bat in Admin context	execmgr	9/30/2009 3:05:47 PM	3516 (0x0DBC)
Execution Request for package US10000E program Tripwire Reinstall state change from WaitingContent to NotifyExecution	execmgr	9/30/2009 3:05:47 PM	3516 (0x0DBC)
Checking content location C:\WINDOWS\system32\CCM\Cache\US10000E.1.System for use	execmgr	9/30/2009 3:05:47 PM	3516 (0x0DBC)
Successfully selected content location C:\WINDOWS\system32\CCM\Cache\US10000E.1.System	execmgr	9/30/2009 3:05:47 PM	3516 (0x0DBC)
GetFileVersionInfoSize failed for file C:\WINDOWS\system32\CCM\Cache\US10000E.1.System\execute.bat, error 1812	execmgr	9/30/2009 3:05:47 PM	3516 (0x0DBC)
Executing program as a script	execmgr	9/30/2009 3:05:47 PM	3516 (0x0DBC)
Successfully prepared command line "C:\WINDOWS\system32\CCM\Cache\US10000E.1.System\execute.bat"	execmgr	9/30/2009 3:05:47 PM	3516 (0x0DBC)
Command line = "C:\WINDOWS\system32\CCM\Cache\US10000E.1.System\execute.bat", Working Directory = C:\WINDOWS\system32\CCM\Cache\US10000E.1.System\	execmgr	9/30/2009 3:05:47 PM	3516 (0x0DBC)
Created Process for the passed command line	execmgr	9/30/2009 3:05:47 PM	3516 (0x0DBC)
Raising event:
[SMS_CodePage(437), SMS_LocaleID(1033)]
instance of SoftDistProgramStartedEvent
{
	AdvertisementId = "US12000F";
	ClientID = "GUID:0D0663E3-E801-432C-9635-AEC9A9E7D6E5";
	CommandLine = "\"C:\\WINDOWS\\system32\\CCM\\Cache\\US10000E.1.System\\execute.bat\"";
	DateTime = "20090930190547.721000+000";
	MachineName = "360TEST";
	PackageName = "US10000E";
	ProcessID = 1296;
	ProgramName = "Tripwire Reinstall";
	SiteCode = "US1";
	ThreadID = 3516;
	UserContext = "NT AUTHORITY\\SYSTEM";
	WorkingDirectory = "C:\\WINDOWS\\system32\\CCM\\Cache\\US10000E.1.System\\";
};
	execmgr	9/30/2009 3:05:47 PM	3516 (0x0DBC)
Raised Program Started Event for Ad:US12000F, Package:US10000E, Program: Tripwire Reinstall	execmgr	9/30/2009 3:05:47 PM	3516 (0x0DBC)
Program exit code 0	execmgr	9/30/2009 3:06:18 PM	3340 (0x0D0C)
Looking for MIF file to get program status	execmgr	9/30/2009 3:06:18 PM	3340 (0x0D0C)
Script for  Package:US10000E, Program: Tripwire Reinstall succeeded with exit code 0	execmgr	9/30/2009 3:06:18 PM	3340 (0x0D0C)
Raising event:
[SMS_CodePage(437), SMS_LocaleID(1033)]
instance of SoftDistProgramCompletedSuccessfullyEvent
{
	AdvertisementId = "US12000F";
	ClientID = "GUID:0D0663E3-E801-432C-9635-AEC9A9E7D6E5";
	DateTime = "20090930190618.501000+000";
	MachineName = "360TEST";
	PackageName = "US10000E";
	ProcessID = 1296;
	ProgramName = "Tripwire Reinstall";
	SiteCode = "US1";
	ThreadID = 3340;
	UserContext = "NT AUTHORITY\\SYSTEM";
};
	execmgr	9/30/2009 3:06:18 PM	3340 (0x0D0C)
Raised Program Success Event for Ad:US12000F, Package:US10000E, Program: Tripwire Reinstall	execmgr	9/30/2009 3:06:18 PM	3340 (0x0D0C)
Execution is complete for program Tripwire Reinstall. The exit code is 0, the execution status is Success	execmgr	9/30/2009 3:06:18 PM	2024 (0x07E8)

Thanks in advance, I've been struggling with this for a few days now and don't understand why it works on one but not the other.

-Jeff

download problem

Advertisement Status missing in Conext menu

$
0
0

Hi,

I installed copy paste context menu, after that i see advertisement status missing in Right Click Context menu, how to get back this.

http://blogs.microsoft.co.il/blogs/doli/archive/2011/04/27/sccm-copy-and-paste-context-menu-add-on.aspx

SCCM 2007 Deployment using MSI and .properties files

$
0
0

I'm trying to silently deploy an .msi installer that takes configurations from 2 .properties files located at the same source level than the installer. The .msi installation is correctly done but the configuration values are not pulled from the .properties files.

If I perfom a manual silent installation (from cmd) using the same source folder (.msi installer and 2 .properties files) the installation and configuration values works OK and correctly taked.

I performed a similar SCCM deploy using .msi installer and setup.ini file, installation is OK and configuration values are taked with no problem.

Does SCCM 2007 support deployment an MSI with .properties files?

Does .MSI package deploying supports .properties files in SCCM 2007?

$
0
0

Hi,

I'm trying to silently deploy an .msi installer that takes configurations from 2 .properties files located at the same source level than the installer. The .msi installation is correctly done but the configuration values are not pulled from the .properties files.

If I perfom a manual silent installation (from cmd) using the same source folder (.msi installer and 2 .properties files) the installation and configuration values works OK and correctly taked.

I performed a similar SCCM deploy using .msi installer and setup.ini file, installation is OK and configuration values are taked with no problem.

Does SCCM 2007 support .properties files?

Anyone attempted to push out/upgrade to iTunes 11 using SCCM software distribution, or SCUP?

$
0
0

Hi,

Just wondering if anyone has been successful with this? Older versions seemed more favourable to automated installs, but I haven't been able to get this to work for 10 or 11.

Thanks.

SMS_DISTRIBUTION_MANAGER - Status ID 2300 and 2301

$
0
0
SMS_DISTRIBUTION_MANAGER - Status ID 2300 and 2301

My Distribution Manager component status is getting hammered with these messages, ID's 2300 and 2301.

Message ID 2300: SMS Distribution Manager is beginning to process package "Adobe Shockwave Player" (package ID = MMH0011F).

Message ID 2301: SMS Distribution Manager successfully processed package "Adobe Shockwave Player" (package ID = MMH0011F).

It's doing that for 5 different software packages.  And both of these status ID's repeat about every 30 seconds, for each of these 5 packages.  I am running SCCM 2007 R2/SP2, and am aware of the hotfix to address the system not honoring the settings for the package distribution retry timer, and have already applied that.  That didn't change anything, and even if it did, it wouldn't fix my problem, it would just space the messages out farther.  I've looked in the distmgr.log file, and didn't see any errors.  Maybe if someone can tell me something specifically to look for, or I can just paste a segment of the log if that will help.  Or are there any other logfiles I should be checking?  Any help would be much appreciated.

This has happened to me before, and deleting the package and creating a new one has fixed it in the past, but I don't really consider that a fix, just a work around, and would like to find out the proper way to fix this.  It shouldn't be happening in the first place, and deleting/recreating the package is akin to ignoring the problem, in my opinion.

On a possibly-related note, my site has 4 distribution points - 2 of which are Branch DP's.  I tried deleting all 4 distribution points from these packages, but the Branch DP's will just not get rid of them.  I delete them from the list of DP's, and the package status reflects that (the status says I removed the DP from the list, and even tells me it was successful) but then the status log keeps on going, trying to copy the package back, as if someone else is going right behind me re-adding the branch DP's to the list (hitting refresh in the DP list a few minutes later reveals that 1 or both of the Branch DP's have mysteriously returned to the list).  I'm fairly certain these two issues are directly related.

Does .MSI package deploying supports .properties files in SCCM 2007?

$
0
0

Hi, I'm trying to silently deploy an .msi installer that takes configurations from 2 .properties files located at the same source level than the installer. The .msi installation is correctly done but the configuration values are not pulled from the .properties files. Does SCCM 2007 support this feature?

If I perfom a manual silent installation (from cmd) using the same source folder (.msi installer and 2 .properties files) the installation and configuration values works OK and correctly taked.

I performed a similar SCCM deploy using .msi installer and setup.ini file, installation and configuration values are taked with no problem.

Does SCCM 2007 support .properties files?


SCCM 2007 reporting all software on a network

$
0
0

Very (for the most part) green SCCM Admin.

My manager has asked me to retrieve a software inventory of our entire network (military installation) for an upcoming inspection.

Ive been searching through forums and Technet for a while now trying to find a method to achieve this but all the vast majority of posts either suggest a 3rd party piece of software (cant use, has to have a certificate of networthiness to be used) or has a report that will return an ungodly amount of data. The long and short of what I need is a report that will
1. Pull all software that machines report back as installed

2. 1 instance of the software is enough so avoiding duplicates is pretty much key, I dont need to have all the client PCs listed, but the number of clients that instance of software is installed on would be helpful

3. Product name, version and manufacturer would be nice to start off with.

Any help would be greatly appreciated.

Reinstall Option Under Software Center

$
0
0
Hello All,
I have been trying to find an answer to this question over the internet but nothing seems to help.
We are working in an environment where we are rolling out Applications using SCCM 2012 to user based collections.
If I create an Application & then deploy it to a user based collection, then the default options that are visible under Software Center are "Install/Uninstall". I need to know if there is a way for the "REINSTALL" option to show up in case of application deployment. Is the "REINSTALL" option available only for "Packages" or is it an option only if the deployment is "Available" instead of "Required". I will really be thankful if someone can share the answers to these question.Regards....

Deploying KB 2775511 Win7 Hotfix Rollup as a regular SCCM package

$
0
0

We are trying to deploy this KB as a regular SCCM package, as it has not yet been approved to be put into SCUP, using SCCM 2007 SP2 R3.

We are using the commandline:  wusa.exe AMD64-all-windows6.1-kb2775511-v2-x64_ec18cc10e27faf443c17e7a8073c9eba773eb13e.msu /quiet /norestart , but...after the install (which seems to be going OK, and we get ErrCode of 0) we cannot tell if it got deployed or not, not showing in ARP, Patches, or under the Windows folder as a discrete or multiple hotfixe folders.

What's the correct way to detect computers with this hotfix rollup installed?

Thanks.

How to control when SCCM performs a client restart after software installation

$
0
0

Hi,

I am preparing for a .NET Framework 4.5 deployment. I will first check the computer to see if .NET Framework 4.5 is already installed. If it is installed already then there is no need to restart the computer. If .NET Framework 4.5 is not installed, the application will be installed and then I would like the computer to restart.

My plan was configure SCCM to After Running: Program restart computer.

If I find that .NET Framework is already installed, will it work to terminate the script with a return code 0? Will SCCM regard this as a failure because a restart did not occur?

Thanks,

Rob

VBScript SCCM 2007: SWbemObjectEx: Generic failure in Program Creation

$
0
0

Hi Techies,

I have a vbscript which publish packages in SCCM 2007 (win 2003). It often works fine with all the package, program, advertisement and collection creation and settings. I dont know why sometimes its raising the Generic Failure error in the "objProgram.Put_" line.

Im unable to find the real problem with this error. The script part for creating program is almost like the same as the scripts available in net. Its also posted here. Is there any way to investigate deeper into the generic failure error? or is there any limitations to the parameters we are passing for creating a program. Such as char limitation in program name / cmdline like that?. Please help?

 

Set objProgram = objSCCM.Get("SMS_Program").SpawnInstance_()
 objProgram.ProgramName = "Install AdobeFlashPlayer"
 objProgram.PackageID = strPID 'will have the package ID
 objProgram.Comment = "nothing"
 objProgram.CommandLine = "Wscript.exe Install.vbs adobeflash INSTALL SCCM" 'install.vbs will pick the msi from adobeflash folder and uses "install" and "sccm" as parameters
 objProgram.DiskSpaceReq = "50 MB"
 objProgram.Duration = "120"
 objProgram.ProgramFlags = 15
 objProgram.Put_

Viewing all 629 articles
Browse latest View live


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