Jump to content


narcoticmind

Established Members
  • Posts

    44
  • Joined

  • Last visited

Posts posted by narcoticmind

  1. I implemented AD Group-based installation/uninstallation with the following setup on SCCM2012, don't know is it the best one, don't think so...

     

    So,

     

    Two collections:

     

    Install Software X (Gets members by AD Group)

    Uninstall Software X (Excludes the members in Install Software X, so basicly contains all the other resources)

     

    Two deployments:

     

    Install Application Software X for the Install Software X collection

    Uninstall Application Software X for the Uninstall Software X collection

     

    So basicly, when I add a computer to Install Group it get's the application installed and when I remove it from the group, the application get's uninstalled... any thoughts?

  2. Just tested this thing and I'm kind of thrilled.. so I wanted to deploy cmtrace as an CM12 application,

    I did it with the quick-and-dirty method.

     

    So, I created a new application, and for the deployment type I checked script and the actual install program was as follows

    xcopy.exe ".\*.*" "%windir%\system32" /D /E /C /I /Q /H /R /Y /S

    And the uninstall program was as follows

    del.exe %windir%\system32\cmtrace.exe

     

     

    Detection method was of course checking the presence of cmtrace in %windir%\system32.

    The niceness about this is, that now I can simply run cmtrace on any computer in the network and

    I was thinking that the new app-model is way better than the old package deployment, what do you guys think?

     

    Has anyone else thought about deploying software like this? I know it would be better to handle it by doing

    a script that installs the cmtrace to %programfiles% and so on...

  3. Just wondering what permissions does these SCCM 2012's service accounts need EXACTLY, for example:

     

    ClientInst = Local Administrator on site computers

    Network Access Account = ?? What permissions on the file server source?!

    Domain Join = ?? What permissions, where and how to set these?

    SQL Service account = ??

    SCCM Admin = ?? What and where

     

    Definitive list would be good... also looking for some kind of guide for SCCM 2012 Delta Group Policy, how to set the user rights assignments right and so on...

     

    Thx in advance.

  4. Having weird issue on refresh scenario of Windows XP OSD with SCCM 2012.

     

    For some odd reason, during the WinPE phase, TimeZone or Time is changed and differs from the domain time +10 hours,

    therefore re-joining the domain doesn't work.

     

    Fresh install works correctly, haven't seen this kind of behaviour with Windows 7 or Windows 2008 R2.

     

    Does anyone know any solution to this kind of problem? I haven't gotten any info from the net... :/

  5. narcoticmind

     

    Any luck finding an answer? I'm having the same issue.

     

    http://www.mssccmfaq.de/2012/03/26/software-center-business-hours-auslesen-setzen/

     

    From there I found some nice info:

     

     

    Set objUX = GetObject(“winmgmts:\\.\root\ccm\ClientSDK:CCM_ClientUXSettings”)

     

    Set GBH = objUX.ExecMethod_(“GetBusinessHours”)

     

    WScript.echo “Working days currently set to: ” & GBH.WorkingDays

    If GBH.WorkingDays AND 1 Then WScript.echo “Sunday” End If

    If GBH.WorkingDays AND 2 Then WScript.echo “Monday” End If

    If GBH.WorkingDays And 4 Then WScript.echo “Tuesday” End If

    If GBH.WorkingDays And 8 Then WScript.echo “Wednesday” End If

    If GBH.WorkingDays AND 16 Then WScript.echo “Thursday” End If

    If GBH.WorkingDays AND 32 Then WScript.echo “Friday” End If

    If GBH.WorkingDays AND 64 Then WScript.echo “Saturday” End If

     

    WScript.echo “Start time: ” & GBH.StartTime

    WScript.echo “End time: ” & GBH.EndTime

     

     

    ..and

     

     

    Set objUX = GetObject ("winmgmts: \ \ root \ \ ccm \ ClientSDK. CCM_ClientUXSettings")

     

    Set inParam objUX.Methods_.Item = ("SetBusinessHours"). InParameters.SpawnInstance_ ()

    inParam.StartTime = 12

    inParam.EndTime = 13

    inParam.WorkingDays = 60

     

    Set result = objUX.ExecMethod_ ("SetBusinessHours" inParam)

     

    According to the blog the days are set as follows:

     

    Sunday = A

    Monday = 2

    Tuesday = 4

    Wednesday = 8

    Thursday = 16

    Friday = 32

    Saturday = 64

     

    You'd probably could get this out from the clients with extension to the inventory class... ? Haven't tested it yet. So basicly you could get the computers with specific business hours, attach them to specific collections (with specific maintenance windows ;))..

     

    Post your findings :)

  6. Really annoying that you can't configure these settings from the console.

     

    The problem is, that my software doesn't get installed until the user clicks install from the Software center,

    could someone provide some info what logs should I check from the client / server?

     

    I'm pretty sure this has to do something with the business hours configuration...

  7. How can I configure business hours for ALL CLIENTS??

     

    Having some problems getting applications installed, software center just says "past due... will be.."

     

    Is it possible to disable business hours so that they won't mess up application deployments, if the admin wants to have full control

    of when the applications will be installed??!

     

    Thanks in advance.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.