Jump to content




IAmATeaf

Established Members
  • Content Count

    6
  • Joined

  • Last visited

Community Reputation

0 Neutral

About IAmATeaf

  • Rank
    Newbie
  1. I've posted this in the SCCM CB section but am wondering if the Appv experts could have a look and maybe offer some help? Another thought that I've had is, is there a way that I can via a script evaluate all the Appv that a user has entitlements to. In the problem below I'm using Powershell calls as the user in order to evaluate and then mount but I'm wondering is rather than doing this logged in as the user can I take the user details, work out the AD groups and then from the groups work out the names and paths of the Appv applications so that I can then mount them individually using these details?
  2. As part of the build of a Windows 10 desktop I'd like to pre-cache some Appv applications. So I have a default user who is a member of the relevant AD groups which are linked to the Appv apps. If I logon to a built desktop as this user then the Appv client caches all the Appv that the user has been given access to. So I'd like to do this as part of the build Task Sequence so what I've done is create a few Powershell scripts and added these as Run Command Line steps: 1) Enables Appv on the machine and restarts 2) Checks that Appv is enabled after the restart 3) Configures Appv with the name and port of the Publishing server 4) Run a powershell script that Syncs with the Publishing server, gets the Appv application that the user has access to (Get-AppvClientPackage -All) and then cache the apps (Mount-AppvClientPackage) Steps 1, 2 and 3 are all run under SYSTEM and I've created other test scripts that I have also run to prove that Appv is enabled, that the Appv client service is running and the Publishing server configured. The problems comes with 4 which I run under the context of the default user, when the script runs each command returns an error message stating that either Appv isn't enabled or that the service isn't running and I can't understand why? If I run this same step as SYSTEM then the script runs fine but no Appv applications get cached as SYSTEM isn't a member of any Appv associated AD groups. Does anybody have any ideas as to what might be happening and what I can do to actually find out what exactly is going on? I've tried getting a Command Prompt using ServiceUI.exe but again if I run this as SYSTEM I get a prompt but if I run this as the default user I get nothing. Sort of stuck and could do with some help if possible please
  3. I have a TS which performs an In Place Upgrade of Win7 to Win10, the user will be offered the deployment via Software Center. I've been asked to develop a script file that will determine if the logged in user that started the deployment is a member of specific AD Global Groups but I've had a few issues as listed below. The TS runs as SYSTEM from what I can see, how when the TS runs can I determine who the logged in user was? In order to evaluate the users group membership I need to query AD but SYSTEM I assume won't be able to do this, so any pointers on how best to do this? I thought of using ADO with user credentials passed to it via the TS to maybe do this? Lastly, how within an In Place Upgrade can I get access to a command prompt that is running in the context of the TS? I've tried adding a step to run a command prompt, the step runs the command prompt but it's hidden, reason I wanted to do this is it would make testing and developing easier then testing the changes with a run of the TS. Regards
  4. IAmATeaf

    Setting password PXE service point

    Nobody have any ideas? I've tried creating another DP with WDS and PXE point services and I get exactly the same, I tick the check box, then enter a password, twice, then click OK or Apply. There is a delay whilst it appears to do something, then I can see a dialog box with a progress bar flash up. If I then go back into the PXE point service the tick box is unticked and there is no password set. Where would it be setting/updating the password so that I have a starting point? I've checked the Event logs on the CMP server, the SQL server, the DC in the domain and now the DP but there are no error events recorded. EDIT: Ive done a vid of the problem
  5. Wondering if anybody can help, I want to set a password on my PXE service point, so goto Properties, tick the box then enter a password twice and then click OK. But when I go back into the Properties page the tick box is unticked and the password fields are greyed out, so in essence the password wasn't set. I've tried looking at the SCCM logs folder but can't see anything in there, I've done a google but nobody seems to have had this problem. I'm wondering if anybody has seen or know where I can start to look to see what the problem is? I've also tried using a complex password that aheres to the policy of the domain but again the same thing occurs, the option gets unset.
  6. I am setting a task sequence condition which tests if a registry key is set to "Yes", if it is then the task sequence continues else it aborts the steps within that group. So for example I set the condition to look at HKLM\SOFTWARE\BldControl, key to check is Rebuild which if set to "Yes" will allow the TS to continue the steps in the group. But due to redirection the test always fails but if I add the same key to HKLM\SOFTWARE\Wow6432Node\BldControl, leave the test condition the same i.e. HKLM\SOFTWARE\BldControl then the test evaluates to true. I know I can add the registry keys to both HKLM\SOFTWARE\BldControl and HKLM\SOFTWARE\Wow6432Node\BldControl but I'd rather not so in the test condition what do I test so that it actually evaluates the real HKLM\SOFTWARE\BldControl key?
×