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

Moving Package to new DP Drive

$
0
0

I'm looking for a better way to move packages from one drive to another on a distribution point.  Most threads about moving packages refer to this article:

http://blogs.technet.com/smsandmom/archive/2008/09/04/moving-the-smspkgc-share-to-a-different-drive.aspx

While that works I'm looking for something cleaner that doesn't leave you with 2 shares.  I think I'm nearly there.  Here's what I'm doing so far:

1) Move <PackageID>.PCK from D:\SMSPKG to S:\SMSPKG

2) Move D:\SMSPKGD$\<PackageID> to S:\SMSPKGS$\<PackageID>

3) Update the SCCM database to point to the new location with the following code:

UPDATE PkgStatus
SET Location = (
	SELECT SUBSTRING(Location,1,43) + 'S' + SUBSTRING(Location,45,11) 
	FROM PkgStatus
	WHERE Sitecode = '<SC>' AND Type = 2 AND Location LIKE '%SMSPKGD$%' AND ID = '<PackageID>'
)
WHERE Sitecode = '<SC>' AND Type = 2 AND Location LIKE '%SMSPKGD$%' AND ID = '<PackageID>'


UPDATE PkgStatus
SET Location = (
	SELECT SUBSTRING(Location,1,14) + 'S' + SUBSTRING(Location,16,21) 
	FROM PkgStatus
	WHERE Sitecode = '<SC>' AND Type = 1 AND Location LIKE '%\D$\SMSPKG\%' AND ID = '<PackageID>'
)
WHERE Sitecode = '<SC>' AND Type = 1 AND Location LIKE '%\D$\SMSPKG\%' AND ID = '<PackageID>'


UPDATE PkgStatus
SET HTTPUrl = (
	SELECT SUBSTRING(HTTPUrl,1,32) + 'S' + SUBSTRING(HTTPUrl,34,11) 
	FROM PkgStatus
	WHERE Sitecode = '<SC>' AND Type = 2 AND HTTPUrl LIKE '%SMSPKGD$%' AND ID = '<PackageID>'
)
WHERE Sitecode = '<SC>' AND Type = 2 AND HTTPUrl LIKE '%SMSPKGD$%' AND ID = '<PackageID>'

4) Restart SMS_EXECUTIVE on relevent Secondary Site Server

5) Watch distmgr.log and verify that the HTTPUrl for the package shows new location:

Setting HTTPUrl to \SMSPKGS$">\\<Server>\SMSPKGS$

Unfortunately that last step still shows the old location.  My initial thought is that the DP is not checking the Primary SCCM Database to get the location, but instead is referencing some value stored in WMI from when the package was last refresh.  If I do a refresh on this DP from the console it can't find the new location of the PCK and starts pushing out a new copy and then everything's good, but the point of this isn't to just push the package down again. Does anyone know if the distribution manager is getting the local location of the package from WMI (Possibly root\ccm\LocationServices or something similar)? If so, it likely wouldn't be much work to add a function to a script to change the location stored in WMI. My final goal is to have a powershell script that you give a source and destination drive and it does everything from moving the content to the new location, update the SCCM database, and then whatever else i'm missing (possibly wmi) so that packages can be easily be moved from one spot to another cleanly as if they were always there.

u786farooq posted something along these lines that updating the DB was all you needed, but that doesn't seem to be the case

http://social.technet.microsoft.com/Forums/systemcenter/en-US/8c42e5df-6332-45b4-b218-9bde9ef156ba/sccm-distribution-point-how-to-move-from-fdrive-to-cdrive


Deployment of Powershell Scripts in a 64-bit Environment via SCCM

$
0
0

Hello,

I've come across a problem whilst deploying Powershell scripts to 64-bit Windows.

When a script is deployed by SCCM the Powershell environment is 32-bit, even on 64-bit windows.

Is there anyway to force the script to run in a 64-bit environment?

Thanks,

George


Deploying applications from Central site to other primary sites

$
0
0

Hi Guys,

I am here again with a question.

We have 1 Central Site (CN1) and 3 primary sites (PS1, PS2 and PS3) in various countries.

Before all the primary sites managed by various teams to add packages, OS deployments and windows patching. Recently one of our senior engineers packaged all the apps and integrated to the Central site (CN1) and they use those packages to deploy to their region. Now we want to use the packages from central site (CN1) to deploy to the clients on other primary sites.

So, we have replicated a test package to our primary site (PS1) and deployed the package from Central Site (CN1) console. Since last 12 hours, the package to the machine stuck with “No Status”.

From client side, nothing downloaded on to cache and no policy has been arrived and no traces in exemgr.log file.

Is it actually possible to deploy applications from Central sites to other primary sites? Is any special configuration required for this?

OS deployment and Applications deployment through Task Sequence works fine. Only the application deployment using a collection wont work.

Thanks for any help.

Cheers

CRM Deployment - only BITS*.TMP files appear in client Cache folder

$
0
0

Hi all,

we've got a problem in that when we roll out CRM via SCCM 2007, the client machine creates a folder in the C:\Windows\System32\CCM\Cache folder but it is only populated with BIT*.TMP files. After a bit of research we concluded this is most probably because the new security restirctions in IIS7 which are causing certain BITS file transfers to stall/fail on their journey from the Distribution Point to the client.

Having run "bitsadmin /list /allusers" cmd line on the client computer we discovered there were two jobs with an error:

Job 1:

GUID: {A04A76D8-50E3-4412-9A02-F93E1B32EAFC} DISPLAY: 'CCMDTS Job'

TYPE: DOWNLOAD STATE: TRANSIENT_ERROR OWNER: NT AUTHORITY\SYSTEM

ERROR FILE:    http://SCCMSERVER01.local:80/SMS_DP_SMSPKGS$/A010005B/PFiles/MSCRM/Client/res/Web/_imgs/area/18_schedulerules.gif -> C:\WINDOWS\system32\CCM\Cache\A010005B.7.System\PFiles/MSCRM/Client/res/Web/_imgs/area/18_schedulerules.gif

Job 2:

GUID: {A026C8DE-FEDB-4600-B489-3BB9F66594ED} DISPLAY: 'CCMDTS Job'

TYPE: DOWNLOAD STATE: TRANSIENT_ERROR OWNER: NT AUTHORITY\SYSTEM

ERROR FILE:    http://SCCMSERVER01.local:80/SMS_DP_SMSPKGS$/A0100184/PFiles/MSCRM/Client/res/Web/AppWebServices/MailMerge.asmx -> C:\WINDOWS\system32\CCM\Cache\A0100184.1.System\PFiles/MSCRM/Client/res/Web/AppWebServices/MailMerge.asmx

The next step, we think, is to edit the settings contained in the C:\Windows\System32\inetsrv\config\applicationHost.config file to enable the above jobs to run without IIS blocking them. The trouble is, we can't seem to figure out which part of the applicationHost.config file needs editing. Has anyone got and advice on how we should proceed?

Any help or info would be much appreciated! Thanks

Regedit import registry file not working in Windows 7 PC through SCCM PXE image deployment

$
0
0

the registry keys we want to import are in HKLM

we are running the following from a command line using regedit.exe /s appv_reg_fix.reg

the pc's we are imaging are windows 7 32 bit

we added a dummy reg key which did not exist and we can see that this is added to the registry when the advertisement runs.

however the 2 registry keys we are trying to replace remain the same unchanged.

the above works ok for a sccm task sequence but not when we use it in sccm pxe image deployment

is there any reason for this?

Advertisement no longer showing on clients

$
0
0

I am using a SCCM 7 advertisement to roll out Forefront to 1,000+ clients.  It has been installed on about 90% of them without issue.  Over the past week, I noticed that the advertisement no longer shows up on the client so the software cannot be installed.  On the SCCM server, the status of the advertisement states that the program has been downloaded to the client.  Here is the exact wording.

"Advertisement "MT12001A" was received from site "MT1".

The client passes any supported platform requirements and the SMS will add the advertisement's program to the list that will be displayed to users and/or run via assignment. If an advertisement is received but not displayed on a client, verify that the current time on the client is between the advertisement start and expiration times, and that the program specified in the advertisement is enabled."

The advertisement is not mandatory and does not have an expiration date/time.  The program is enabled also. 

Where should I start looking to try and figure out this issue?

What is the best way to deploy different applications to two computers using 1 task sequence.

$
0
0

We are currently rolling out Windows 7 to our branch offices using Sccm 2007, MDT 2012. We have two offices in each building both with their own ip range and the same set of applications.

The task sequence is the same for both except that one office must get Office 2010 std and the other only to get Outlook, Excel viewer, power point viewer and Word Viewer. 

Could anyone tell me how best this can be achieved?

Help with deploying software in 2 parts

$
0
0

Hello,

I am deploying software using 2 scripts, here is the basics of what the script does :

Script1 : Sets runonce key for Script2, uninstalls existing software for XP, reboots or if the computer is windows 7 installs new software

Script2 : Installs software for Windows XP

Script1 is "working" in that it does uninstall the existing or if the device is Windows 7 will install the new software.

Script2, being set in the HKLM\.....\RunOnce, is failing when the installation starts after the user logs in for Windows XP, Doesnt matter if the user is admin or not, which I would guess when run this way will be system account? Here is a step by step process of what the scripts do :

Check the OS, If Windows XP - Set RunOnce key to point to script2, Uninstall 3 Components using WMI, reboot, else if Windows 7 installs the MSI's for the new software.

After the XP computer reboots Script 2 starts (I know it is launching because it is echoing using cscript its progress), when it gets to installing the first MSI it starts, then fails. This is the log file of the MSI.

=== Verbose logging started: 6/27/2012  6:45:37  Build type: SHIP UNICODE 3.01.4001.5512  Calling process: C:\WINDOWS\system32\msiexec.exe ===
MSI (c) (64:6C) [06:45:37:127]: Resetting cached policy values
MSI (c) (64:6C) [06:45:37:127]: Machine policy value 'Debug' is 0
MSI (c) (64:6C) [06:45:37:127]: ******* RunEngine:
           ******* Product: DesktopComponents\WindowsXPInstallers\SentillionVergenceDesktopComponents.msi
           ******* Action:
           ******* CommandLine: **********
MSI (c) (64:6C) [06:45:37:127]: Client-side and UI is none or basic: Running entire install on the server.
MSI (c) (64:6C) [06:45:37:127]: Grabbed execution mutex.
MSI (c) (64:6C) [06:45:37:175]: Cloaking enabled.
MSI (c) (64:6C) [06:45:37:175]: Attempting to enable all disabled priveleges before calling Install on Server
MSI (c) (64:6C) [06:45:37:206]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (98:F4) [06:45:37:222]: Grabbed execution mutex.
MSI (s) (98:88) [06:45:37:222]: Resetting cached policy values
MSI (s) (98:88) [06:45:37:222]: Machine policy value 'Debug' is 0
MSI (s) (98:88) [06:45:37:222]: ******* RunEngine:
           ******* Product: C:\Documents and Settings\a_cgilbert\DesktopComponents\WindowsXPInstallers\SentillionVergenceDesktopComponents.msi
           ******* Action:
           ******* CommandLine: **********
MSI (s) (98:88) [06:45:37:237]: Note: 1: 2203 2: C:\Documents and Settings\a_cgilbert\DesktopComponents\WindowsXPInstallers\SentillionVergenceDesktopComponents.msi 3: -2147287037
MSI (s) (98:88) [06:45:37:237]: MainEngineThread is returning 3
MSI (c) (64:6C) [06:45:37:237]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
MSI (c) (64:6C) [06:45:37:237]: MainEngineThread is returning 3
=== Verbose logging stopped: 6/27/2012  6:45:37 ===

Am I doing this the rights way? I would rather not use a Task Sequence because it seems like the source files remove from the system when the task is done, causing issues with repair or uninstalling, also I have not had great luck with a Task Sequence re-starting right away when the computer reboots. The second script does work when run after the user has logged in.


SCCM 2007 Package automaticaly retrying to all BDP and DP.

$
0
0

Hi,

I am facing an issue with package retrying automatically from Primary SCCM 2007 SP2 to all of the BDP and DP under afffevted primary.

Our SCCM Environment is:

One Central, Three Primar and above 20 BDP/DP.

I am requesting to all kindly help me to resolve this issue.

Thanks!

Ahmad

Copying Files to System 32 Folder

$
0
0

Hello All - I have been trying to Xcopy files from Network share in to my System32 Folder  but as a normal user logged in it requires elevated CMD prompt to copy files over .

Is there a way I can achieve the same using a simple Bat/VBS file :

@echo on
rem COPYING  SCREEN SAVER FILE TO SYSTEM32 FOlder

If not exist %systemroot%\System32\screensaver.scr" Xcopy "%logonserver%\netlogon\screensaver\Screensaver.scr"/y exit


Anand Shankar

Uninstall Bat file

$
0
0

Hi,

I try to through SCCM uninstall Belarc Advisor 8.1 i will try below Query it showing error where can i done the Mistake Pls help. Please see the below Query.

 

@echo off
REM
REM
REM    Detects Belarc and silently uninstalls
REM    There is a un-stoppable pop-up window. so this will kill
REM    all instances of  IE after the UN-installation.
REM
REM
REM
taskkill /F /IM wzqkpick.exe
wmic product where "name like '%%Belarc%%'" call Uninstall
REM
REM This section is for Belarc <12
REM
If Exist "%programfiles(x86)%\Belarc\Advisor\Uninstall.exe" GOTO 64
If Exist "%programfiles%\Belarc\Advisor\Uninstall.exe" "%programfiles%\Belarc\Advisor\Uninstall.exe"/qnx
GOTO :END
:64
"%programfiles(x86)%\Belarc\Advisor\Uninstall.exe"/qnx
:END


Kiran

Sound Card Driver Rollback

$
0
0

we are planning for deployment of new drivers of Conexant 20672 SmartAudio HD for Existing Lenovo T520 systems having Windows 7 x64 OS. Is there any easy method to roll back drivers through SCCM.

Please suggest.


Prashant Patil

Problem with "stuck" distribution points

Errors Executing Batch Files for Post Application Installation Configuations

$
0
0

I'm super new to SCCM - still trying to figure a lot of things out.


Nearly all of our applications have post installation steps like applying a registry configuration (via either `regedit /s` or `reg add`), creating directories, copying files (license file, configuration file) and so on.  Since I've already created a bunch of applications, leveraging SCCM's nifty little feature that grabs all the app info from the MSIs, I'm now looking for how to accomplish 'the next step': applying the proper configurations.

I realize there are a variety of ways to accomplish this, but, one method I've seen time & time again is to create the application via the MSI, and then afterward change the command line to whatever script I want to run; which does the installation plus the extra actions.

Here's the process I've been following that's resulting in errors in SCCM but *not* in the script [read: batch file] I'm calling:

  1. Build the batch file that calls the installer and does the post installation configuration:
    1. Calls setup file (actual MSI or setup.exe etc) via relative path and any necessary parameters/arguments etc: "%~dp0Full_Installer\setup.exe" /S /v"/qb SERIALNUMBER=12345 /l*vx c:\Logs\ApplicationName.log"

    2. Performs a variety of operations: xcopy /r /ymd/mkdirreg add/deleteregedit /s; Each operation is redirected to >>!logfile! 2>>&1

  2. Test each batch file the follow this process:
    1. confirm no errors on screen during install
    2. confirm no errors in logs after install
    3. confirm application successfully installed, which means:
      1. checking the location of where the app is expected to install to verify its there and it works
      2. checking that all applicable changes were made successfully
        1. so I'm looking for registry entries, configuration files, directory creation etc - everything in the batch
      3. checking Programs and Features to validate its presence
  3. I repeat this process (all of Step 2 above) for the uninstall batch file to confirm it too completes successfully

With the batch files tested & confirmed working

  1. I create new Application in SCCM
  2. Select Windows Installer (*.msi file)
  3. Choose msi file from \\unc\path\application\fullinstaller\file.msi
  4. Make any necessary adjustments to the General information screen
  5. Close Application Wizard
  6. Edit Properties of newly created Application
  7. Go to Deployment Types tab
  8. Select the MSI entry in there & click Edit
  9. Go to the Content tab & alter directory
    1. During creation its pointed to \\unc\path\application\fullinstaller\file.msi
    2. While not always the case, the batch file actually lives one directory up in \\unc\path\application, so I'm adjusting it to point to that directory. instead
  10. Go to Programs tab
  11. Change Installation program to the batch file: install_myapp.cmd
  12. Change Uninstall program to the batch file: uninstall_myapp.cmd
  13. Click Apply & click OK

Ok, now that all my changes are made, I need to get this into the DP:

  1. I Deploy Content (if I haven't already done so)
    1. Right click on Application > Distribute Content > Add DP > Continue through Wizard
  2. Redistribute Content (especially if edits were made to existing applications)
    1. Right click on Application > Properties > content Locations > Select location > Click Redistribute
  3. Verify deployment/redistribution via Content Status > View Status
  4. Wait a little while (usually just a few minutes <5)

With that now complete, I'm ready to test the install/uninstalls via SCCM.  So I go to client workstation, load up Software Center & Locate application & click 'Install', and this is where things get strange.

  • Misreported Failure
  1. It successfully downloads but installation fails with a variety of errors (see below):
    1. Unable to make changes to your software.
      There was a problem applying changes to the software.  You can try again.  Or, if the problem continues, the information that is shown in the following section can assist your help desk in troubleshooting.
      Click OK to return to Software Center
      More Information
      The software change returned error code 0xVARIES(n).
  2. I check "Program Files (x86)" and I see the program installation directory & its populated with files.
  3. I check "Programs and Features" and I see the application listed.  I can uninstall, change & repair.
  4. I restart software center, refresh it a few times and the application is still listed under 'Available Software' and 'Installation Status'.
  5. If I click 'Retry' it immediately disappears from view
    1. What that means is: If I'm looking at 'Available Software' or 'Installation Status', the application vanishes from that 'tab', and appears under 'Installed Software' within 'Software Center'
  6. I reviewed the MSI manually but saw no "return value 3" entries; Passed the same log through WiLogUtil.exe and its not isn't showing any problems either.

So it actually did install successfully, yet something 'failed', or was translated as a failure, causing Software Center to believe the install failed.

  • Outright Failure
  1. With application 'X' installed, from the 'Installed Software' tab I click 'Uninstall' and like before I get an error:
    1. Unable to make changes to your software.
      There was a problem applying changes to the software.  You can try again.  Or, if the problem continues, the information that is shown in the following section can assist your help desk in troubleshooting.
      Click OK to return to Software Center
      More Information
      The software change returned error code 0xVARIES(n).
  2. I check "Program Files (x86)" and the other tasks - its still installed and everything is still in place.
  3. I don't create uninstall log files so I don't have anything to view, but again: running the uninstall batch file manually results in success.

I'm quite perplexed!

As I mentioned above, the install & uninstall errors vary:

  • The software change returned error code 0x1(1).
  • The software change returned error code 0x4(4).
  • The software change returned error code 0xFF(255).
  • The software change returned error code 0x87D00213(-2016411117).
  • The software change returned error code 0x87D00325(-2016410843).
  • The software change returned error code 0x87D01107(-2016407289).

Running the batch file to install/uninstall completes without error so either something unexpected is happening that SCCM interprets as an error, or, I made a mistake in the way I created the application.  I want to believe its something very simple that I'm missing or just not doing right.

When installing/uninstalling applications via Software Center, I'm looking at task manager to view the actual command line being run for the install, and in some situations, its incorrect.  In other situations the command line is correct, but, the actual install batch file (in c:\windows\ccmcache\random) is not the most recent one and/or its missing additional files that were recently added.


Perhaps this is the source of all my problems: The DP is not up to date/doesn't contain the latest changes made to the batch files.  (Because remember, as I mentioned above, the install/uninstall batch files currently work without issue when executed manually or in our current deployments.)

 

So maybe my question should be: If the below isn't the proper method for 'refreshing' the DP with the latest application data (updates to the install package, updated files etc), what is the proper method for doing so?

  1. Right click on Application > Deploy Content  & complete wizard (if I haven't already done so)
  2. Right click on Application > Properties > Content Locations > Select location > Click Redistribute > Click OK

Lastly, I'm a big log person.  All the batches log each operation and redirects the results (1> and 2>) to a log file for review.  It makes it super simple to see where something failed down the road.  SCCM includes a wealth of log files for various operations, and, in my humble opinion, its great but a bit overwhelming!

I know that the client logs are all stored in C:\Windows\CCM\Logs but there are over 100 logs in there and its not inherently obvious which log corresponds to which component or action of CM.  So, all that said, I'm happy to comb through with cmtrace to troubleshoot deeper & get a better understanding of the process, but I'm in need of help finding a good place to start.

  • Is there a resource available that provides a breakdown/definition of each of the logs in C:\Windows\CCM\Logs?
  • Is there something similar for the logs on the SCCM server itself?

Help with deploying software in 2 parts

$
0
0

Hello,

I am deploying software using 2 scripts, here is the basics of what the script does :

Script1 : Sets runonce key for Script2, uninstalls existing software for XP, reboots or if the computer is windows 7 installs new software

Script2 : Installs software for Windows XP

Script1 is "working" in that it does uninstall the existing or if the device is Windows 7 will install the new software.

Script2, being set in the HKLM\.....\RunOnce, is failing when the installation starts after the user logs in for Windows XP, Doesnt matter if the user is admin or not, which I would guess when run this way will be system account? Here is a step by step process of what the scripts do :

Check the OS, If Windows XP - Set RunOnce key to point to script2, Uninstall 3 Components using WMI, reboot, else if Windows 7 installs the MSI's for the new software.

After the XP computer reboots Script 2 starts (I know it is launching because it is echoing using cscript its progress), when it gets to installing the first MSI it starts, then fails. This is the log file of the MSI.

=== Verbose logging started: 6/27/2012  6:45:37  Build type: SHIP UNICODE 3.01.4001.5512  Calling process: C:\WINDOWS\system32\msiexec.exe ===
MSI (c) (64:6C) [06:45:37:127]: Resetting cached policy values
MSI (c) (64:6C) [06:45:37:127]: Machine policy value 'Debug' is 0
MSI (c) (64:6C) [06:45:37:127]: ******* RunEngine:
           ******* Product: DesktopComponents\WindowsXPInstallers\SentillionVergenceDesktopComponents.msi
           ******* Action:
           ******* CommandLine: **********
MSI (c) (64:6C) [06:45:37:127]: Client-side and UI is none or basic: Running entire install on the server.
MSI (c) (64:6C) [06:45:37:127]: Grabbed execution mutex.
MSI (c) (64:6C) [06:45:37:175]: Cloaking enabled.
MSI (c) (64:6C) [06:45:37:175]: Attempting to enable all disabled priveleges before calling Install on Server
MSI (c) (64:6C) [06:45:37:206]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (98:F4) [06:45:37:222]: Grabbed execution mutex.
MSI (s) (98:88) [06:45:37:222]: Resetting cached policy values
MSI (s) (98:88) [06:45:37:222]: Machine policy value 'Debug' is 0
MSI (s) (98:88) [06:45:37:222]: ******* RunEngine:
           ******* Product: C:\Documents and Settings\a_cgilbert\DesktopComponents\WindowsXPInstallers\SentillionVergenceDesktopComponents.msi
           ******* Action:
           ******* CommandLine: **********
MSI (s) (98:88) [06:45:37:237]: Note: 1: 2203 2: C:\Documents and Settings\a_cgilbert\DesktopComponents\WindowsXPInstallers\SentillionVergenceDesktopComponents.msi 3: -2147287037
MSI (s) (98:88) [06:45:37:237]: MainEngineThread is returning 3
MSI (c) (64:6C) [06:45:37:237]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
MSI (c) (64:6C) [06:45:37:237]: MainEngineThread is returning 3
=== Verbose logging stopped: 6/27/2012  6:45:37 ===

Am I doing this the rights way? I would rather not use a Task Sequence because it seems like the source files remove from the system when the task is done, causing issues with repair or uninstalling, also I have not had great luck with a Task Sequence re-starting right away when the computer reboots. The second script does work when run after the user has logged in.


Uninstall Bat file

$
0
0

Hi,

I try to through SCCM uninstall Belarc Advisor 8.1 i will try below Query it showing error where can i done the Mistake Pls help. Please see the below Query.

 

@echo off
REM
REM
REM    Detects Belarc and silently uninstalls
REM    There is a un-stoppable pop-up window. so this will kill
REM    all instances of  IE after the UN-installation.
REM
REM
REM
taskkill /F /IM wzqkpick.exe
wmic product where "name like '%%Belarc%%'" call Uninstall
REM
REM This section is for Belarc <12
REM
If Exist "%programfiles(x86)%\Belarc\Advisor\Uninstall.exe" GOTO 64
If Exist "%programfiles%\Belarc\Advisor\Uninstall.exe" "%programfiles%\Belarc\Advisor\Uninstall.exe"/qnx
GOTO :END
:64
"%programfiles(x86)%\Belarc\Advisor\Uninstall.exe"/qnx
:END


Kiran

Content never gets copied down to clients

$
0
0
Hello, I built a new Secondary Site. I've configured WebDAV and I've even added my file extension to the ApplicationHosts.config file.  I deploy a .CMD file to machines that hang off of my secondary site.   The package ID CN100332 shows up on the secondary site and the .CMD file is there.   But, on the target machines the .CMD file never shows up.  BUT.....the CN100332 folder does show up under the CACHE folder on the clients, it just has no content.

So I looked at the logs and nothing jumpped out.  It all looks like its working.  I looked in the advertisement status and I see this.

The program for advertisement "CN12036A has not yet started because the content for the package "CN100332" - "Null Deploy" (version 1) has not been acquired. Possible cause: The content for this program must be downloaded into the computer's cache, or the content could not be located. 
Solution: If the program is being downloaded, no action is required. The program will start once the download has been successfully completed. If the content can not be located, ensure that a distribution point with this content is available for this computer. Distribution point availability can be affected by roaming boundary configuration which is used to determine whether distribution points are classified as local or remote, or by enabling distribution points as protected distribution points. Distribution point availability can also be affected if you are using branch distribution points and the advertisement is configured with the option Run program from distribution point instead of Download content from distribution point and run locally. This is because branch distribution points do not support advertisements that are configured to run directly from a distribution point.


-------------------------------------------------------------------------------------------------------

So let me answer each part of this error message.

Solution: If the program is being downloaded, no action is required. The program will start once the download has been successfully completed.   -  Package IS on the secondary site server.  Just not on the clients.

If the content can not be located, ensure that a distribution point with this content is available for this computer.  Again it IS on the DP.

Distribution point availability can be affected by roaming boundary configuration which is used to determine whether distribution points are classified as local or remote, or by enabling distribution points as protected distribution points.   --  I have confirmed that the boundaires are correct for the site and they match the clients in the office I'm trying to deploy software too.


We are NOT using a BDP.



Why does it not install software on the client machines?

mqh7

Software Distribution and 64-bit OS

$
0
0

Hi, I am having a difficult time getting any and all software dist. to Windows 7, 64 bit machines.  SCCM reports that the advertisement went through ok, but when I check these 64-bit machines, none of the changes I sent are made to the client.  32-bit machines work like a charm.  I've looked in execmgr on one of the clients and I see this:

Successfully raised SoftDistWaitingContentEvent event for program Java 6.30 execmgr 8/6/2013 8:29:25 AM 3768 (0x0EB8)
Execution Request for package 00000180 program Java 6.30 state change from WaitingDependency to WaitingContent execmgr 8/6/2013 8:29:25 AM 3768 (0x0EB8)
Persisting request for program Java 6.30 package 00000180 in state WaitingContent execmgr 8/6/2013 8:29:25 AM 3768 (0x0EB8)
Power lease started with ID = 7154 for 7200 seconds execmgr 8/6/2013 8:29:25 AM 6300 (0x189C)
OnContentAvailable program Java 6.30 NOT available, 0x80091007 execmgr 8/6/2013 8:29:38 AM 9592 (0x2578)
Raising event:
[SMS_CodePage(437), SMS_LocaleID(1033)]
instance of SoftDistAdvertHashMismatchEvent
{
 AdvertisementId = "00020460";
 ClientID = "GUID:316542AF-53EA-4981-A8AC-0DFAF0E74724";
 DateTime = "20130806122938.511000+000";
 MachineName = "L-temp1";
 PackageName = "00000180";
 ProcessID = 2268;
 ProgramName = "Java 6.30";
 SiteCode = "000";
 ThreadID = 9592;
};
 execmgr 8/6/2013 8:29:38 AM 9592 (0x2578)
Fatal error 0x80008602 enountered for program Java 6.30. This program will not retry. execmgr 8/6/2013 8:29:38 AM 9592 (0x2578)
CExecutionRequest::InvalidAndDeleteFromWmi Java 6.30 execmgr 8/6/2013 8:29:38 AM 9592 (0x2578)
CExecutionRequest::InvalidAndDeleteFromWmi Java 6.30 execmgr 8/6/2013 8:29:38 AM 9592 (0x2578)
Execution request deleted for package 00000180 program Java 6.30, advert 00020460 execmgr 8/6/2013 8:29:38 AM 9592 (0x2578)
In CExecutionManager::Notify execmgr 8/6/2013 8:34:40 AM 4420 (0x1144)
Policy deleted for advertisement 00020460 package 00000180 program Java 6.30 execmgr 8/6/2013 8:34:40 AM 4420 (0x1144)

This has been an ongoing problem for several months.  Of course, I now need to get a program out to 64-bit machines. grrr... Any help would be greatly appreciated.

QAT Undo & Redo Controls

$
0
0

Hi!

I'm trying to recreate just a few of the built-in contols in the QAT. I've been succesful with all of them except with Undo and Redo. The Ribbon Control List states that the Redo and Undo controls are gallery controls but when I use the <gallery idMso="Undo"> or redo I get an error warning from Custom UI Editor For Microsoft Office.

I'm wondering what's the correct way to do this.

Thanks in advance.

Bert

SCCM server keep refreshing the package with status maseges 2300 and 2301

$
0
0

In my environment, sccm 2007 central server is keep refreshing the packages(more than 100) continiously,

I had see an articlet for hotfix  KB978021 but that is also install in server,

don;t know what to do and what to update and remove for stop this package refresh,

even those packages are available in DPs

SMS Distribution Manager successfully created or updated package
SMS Distribution Manager successfully processed package
SMS Distribution Manager successfully processed package

It repeats it self hundreds of times on some DPs, and thousands of times on others. The thing is this is a task sequence, not a package, i'm not sure why or where i ever specified a DP for the TS.

Any ideas on how to clean them up?


Sharad Singh | My blogs: SharadTech | Twitter:@SinghSharaad | | Please remember to click “Mark as Answer” on the post that helps you.This can be beneficial to other community members reading the thread.

Viewing all 450 articles
Browse latest View live




Latest Images