Francois

//Francois
Francois

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 87 total)
  • Author
    Posts
  • Francois
    Participant
    Post count: 105

    Hi,

    1. Yes you may give the name you want to the log file. It is just a variable. Check the write-log funciton.
    2. Not sure to understand your point but you may add variables test.ps1 -typeinstall install-A.
    3. No, we are working like that. All packages has its own name.
    4. …

  • Francois
    Participant
    Post count: 105

    Hi,

    For application, SCCM is detecting the installation from the installation method. Why not exiting with 0?

  • Francois
    Participant
    Post count: 105

    Hi,
    Never saw that error. Insert a breakpoint into your script then run manually those command. Probably, you will recreate those error.

  • Francois
    Participant
    Post count: 105

    HI,

    Did you configure the XML correctly?

  • Francois
    Participant
    Post count: 105

    Hi,

    What do you mean by png or config files? Just put the psadtk on a sub folder of each package/application and load it with somekind of . “$scriptDirectory\$($Librairie.Librairie)”

    Then everything will be fine and you will be in buisness. You will have to edit the config xml.

    With SCCM, you will use the system account and he is not aware of the network. Even so, I am not sure it would be good to centralized the scripts as a single change would affect all computers.

    Thanks

  • Francois
    Participant
    Post count: 105
  • Francois
    Participant
    Post count: 105
    <code>Execute-process -Path &quot;$env:windir\system32\control.exe” -Parameters &quot;intl.cpl,, /f:&quot;$dirFiles\CopyInternationalSettings.xml&quot;” -IgnoreExitCodes 1 
    Execute-process -path &quot;Dism&quot; -parameters &quot;/online /Get-Capabilities /Limitaccess&quot;</code>

    Are you running your script in interactive mode?
    You may use write-logs to show what is happening in your script.
    I don’t know if there are any parameters with DISM to create a log file.

  • Francois
    Participant
    Post count: 105

    Hi,

    But it will not work with SCCM as Show-InstallationRestartPrompt will not show up while deploying with System account (session 0).

    Thanks,

  • Francois
    Participant
    Post count: 105

    Hi,

    The problem with that solution is you will catch already existing profiles. But at a moment a new user will logon and then you will not get it.

    Thanks,

  • Francois
    Participant
    Post count: 105

    Hi,

    Why not using an active-setup?

    Thanks,

  • Francois
    Participant
    Post count: 105

    HI,

    Not sure centrailize is good as if an update has bug or breack change then every package might be broken. Otherwise put them in a network share and give permissions to computers account.

    Thanks,

  • Francois
    Participant
    Post count: 105
  • Francois
    Participant
    Post count: 105

    Hi,

    PSADTK Active setup is using Invoke-HKCURegistrySettingsForAllUsers. So yes, you will have to set an active-setup.

    Active-setup is run before the load of the shell if it is a problem then you would need to set a run once and then building it with Invoke-HKCURegistrySettingsForAllUsers.

    Make it easy for you and use an active-setup.

  • Francois
    Participant
    Post count: 105
    in reply to: Pin to taskbat #2181

    I am not aware of the suggested option. However, if you enumarate in a text file all existing profiles… Then use a set-activesetup and check if the process is a new one from the text file.

  • Francois
    Participant
    Post count: 105

    Hi,
    We had similar situation. On a previous job, we were shutting down computers at night and using Wake on lan. So we were distributing at night.

    On my current job we have no wol.

    So we are showing Windows to our customers in some situations:

    1. Asking to shutdown Office (plugin installation) or email
    2. Computer is in pending reboot state and the packager identify the software will not install if a computer is in pending reboot state.
    3. Insufficient diskspace
    4. The computer need to be reboot to successfully end the setup and leave the computer in a stable solution.

    I believe, even if a software setup is totally silent, there will be situation where a Customer need to do Something,

    Thanks,

Viewing 15 posts - 1 through 15 (of 87 total)