App-v 5.0 on terminal servers: move package root via powershell?

Hi,
I'd need to move the packageroot of app-v 5 packages of a terminal server to another drive. However, packages are in use, how can I do everything in one go making sure I can do this in one go?
1.stop or unpublish packages, I can unpublish but that's package by package, wouldn't it be easier to force a stop?
2.move the package root Set-AppvClientConfiguration
-PackageInstallationRoot %programdata%\App-V
Or can I just do that in one go and move the packageroot so only new package are going there and package when reloaded will go to the new location?
Pls advise.
J.
Jan Hoedt

That would be nice for new installation. For current installs I'm not sure if it would work. I'd like to manually test before implementing it generally.
I found out that when I use Set-AppvClientConfiguration
-PackageInstallationRoot %programdata%\App-V new packages are set to the new location. However existing packages, how can I move them?
Jan Hoedt

Similar Messages

  • How to add "Computer Description" locally to 300 Servers in our domain via PowerShell.

    I'd like to use Powershell to add "Computer Description" locally to 300 Servers in domain.
    I found a solution here which works but it adds "Computer Description" only to a single computer.
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/a777f07c-f9be-4eb5-8788-de7e5c068411/changing-computer-descriptions-remotely-using-powershell?forum=winserverpowershell
    I do have a CSV file with two column headers "Server" and "Description" containing Computer Description for all 300 Servers. 
    I'm new to Powershell and would appreciate a step by step method.
    Thanks.
    st

    Hi Mike Laughlin,
    Your Script worked beautifully on most Servers.
    There were some Servers on which it did not work. It showed this error in red color:
    Get-WmiObject : The RPC server is unavailable. (Exception from HRESULT:
    0x800706BA)
    At line:2 char:17
    +     $OSValues = Get-WmiObject -Class Win32_OperatingSystem -ComputerName
    $_.Serv ...
    +
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidOperation: (:) [Get-WmiObject], COMExcept
       ion
        + FullyQualifiedErrorId : GetWMICOMException,Microsoft.PowerShell.Commands
       .GetWmiObjectCommand
    Property 'Description' cannot be found on this object; make sure it exists and
    is settable.
    At line:3 char:5
    +     $OSValues.Description = $_.Description
    +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
        + FullyQualifiedErrorId : PropertyNotFound
    You cannot call a method on a null-valued expression.
    At line:4 char:5
    +     $OSValues.Put()
    +     ~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
        + FullyQualifiedErrorId : InvokeMethodOnNull
    Hi tommymaynard,
    Should I now try your Script ?

  • Quicktime 7.04, Windows Terminal servers, and no sound

    Hi all,
    I suspect this is related to all those posts I've already read here about sound problems with QT 7.04...
    I look after a number of Windows 2003 terminal servers in schools. They used to have QuickTime 6.52 and played sound just fine. However, when I upgraded them to 7.04, the video played but no sound. Testing is easy; I just open up the SAMPLE.MOV in the QuickTime folder! On a terminal server with 6.52, it plays video AND audio just fine. But when I upgrade that same box to 7.04, the sound is then gone!
    I suppose the quick solution is to revert back to 6.52. Our concern of course was all the talk about 6.52 having various security vulnerabilities--the fix was to upgrade to 7.04.
    So now I have a secure version of QuickTime, but it doesn't play audio anymore. Not much of a solution!!!
    Thoughts? Am I stuck waiting for a 7.05 fix? On the terminal servers, the safe mode (wave out only) was already the default option for QT 7.04, and I've tried making various adjustments to no avail.
    Thanks for any help,
    Sir Timbit

    Sir Timbit,
    We are experiencing the exact same issue at our school. Most of our classrooms are thin client PCs connecting to a Win2003 terminal server. When we decided to go thin client, we tested all multimedia applications that we could think of. With the upgrade to QT 7, we now have stuttering audio. I certainly hope that Apple is woking on a fix for this as it is negatively impacting our instructors as well as creating a perception that Quicktime is not a good multi-media application.
    So, while I don't have a solution... I hope that someone at Apple will address our needs.
    John

  • Access GPU on PHYSICAL terminal servers

    Hello,
    How can i get access to GPU on PHYSICAL terminal servers (2008R2/2012R2)?
    GPU is required for D3D/OGL apps in remote sessions.
    Two variants are acceptable:
    1) access to server GPU
    2) access to client GPU 

    Hi,
    Currently there is no option to give access to physical GPU under RDSH.  For DirectX applications under Server 2012 R2, you
    may see a benefit by having a physical GPU in the server, with RDSH running on physical, and Enabling Use the hardware default graphics adapter for all Remote Desktop Services sessions group policy setting.
    You will need to test the specific DirectX application(s) to see if there is any benefit to the scenario described above.
    -TP

  • SQL Compact 4 on Terminal Servers possible?

    We want to use a SQL Server Compact 4 database for a local cached database.
    We need this to work on Terminal Servers. It works fine but only for the first session which starts to use it. All newer session gets error messages like:
    Error: There is a file sharing violation. A different process might be using the file.
    We've tried all the available connection modes (like read or Shared Read) but nothing works. Does this sound familiair and is there a solution or good fast alternative?

    Only the service has exclusive access to it.
    If the database is open with "exclusive Access", then no other app can open the database file, even not for read-only.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • LabVIEW license for terminal servers and thin clients (e.g. LTSP)

    Does NI plan to provide a license agreement for terminal servers and thin
    clients?
    I've been told to purchase a multi-seat license. That doesn't make much
    sense since the thin clients won't be accessing DAQ hardware. They're
    just used for developing the LV source.
    Comments/suggestions?

    On Thu, 04 Nov 2004 13:43:58 -0600, jbrohan wrote:
    > As far as I know it's the capability to edit the source code that NI has
    Yes, this is a very good point. Quite a unique situation when compared to
    text based languages. Keep in mind I certainly don't mind paying for that
    but I see no need to pay for much of the other features - like running it.
    This is certainly one of the other features you pay for with LV. Since
    we never plan to run the app on the thin client, why pay for that
    feature?
    What we do is crank out source code on the thin clients. We then send the
    source code to this wireless mobile DAQ station running WindowsXP. From
    there we can roll it up to our clients' target systems. That machine is
    used for debugging then compilin
    g so it has its own LV Prof Dev license
    installed on it. Also, it can be operated locally or remotely via remote
    desktop (one user at a time).
    I know it may sound strange but it works great. And as the NI Software
    License Agreement(NISLA) specifies, we have separate licenses on all
    machines that load LV into local memory. The thin clients load nothing
    into local memory, hence no need for a separate license.
    > I express myself clearly in the hope of guidance. I am a one man shop
    Yes, this is understandable. Installing one license on multiple machines
    is a big no-no. However, that is not what I'm trying to do. Take a peek
    at the "Grant of License" and "Single Seat License" sections of the NISLA.
    > You say "That doesn't make much sense since ..." One of my clients has a
    Ha! How about this scenario: As wireless hardware (bluetooth, wifi)
    becomes more common, perhaps NI will have a peer scanner on all PCs with
    LV installed. That way if you get within 100 feet of a P
    C with the same
    LV serial number, you get locked out and it sends a small message to the
    NI batcave.
    Thanks for the response. I'm hoping NI chimes in soon.

  • I just updated my iPhone 4 to iOS 7.1. The apps I had previously installed are not showing on the screen. They are located in App Store icon. How do I move the icons so they are showing on the screen.

    I just updated my iPhone 4 to iOS 7.1. The apps I had previously installed are not showing on the screen. They are located in App Store icon. How do I move the icons so they are showing on the screen.

    You can move apps around in iOS 7 the same as iOS 6. Press an app icon until you see it wiggle; then drag it to where ever you want it to be. Drag it onto another app to create a folder with the two apps. Tap the Home button to stop the wiggle.

  • I am a new iPhone user. I'm a frequent technology user but not a sophisticated one.  I am looking for an app where I can make lists -- books, movie titles, etc.  And I want to be able to make individual folders.  But I do not need more than that. Help!

    I am a new iPhone user. I'm a frequent technology user but not a sophisticated one.  I am looking for an app where I can make lists -- books, movie titles, etc.  And I want to be able to make individual folders.  But I do not need much more capacity than that. Ideas?

    One of these may fit your needs: http://iphone.appstorm.net/roundups/productivity-roundups/25-fantastic-to-do-lis t-apps-for-iphone/
    What do you mean make folders? Like folders inside an application or accessing system folders? You can't do the latter.

  • I bought a Sandisk Connect Media Drive, downloaded the app from iTunes.  Before iOS 8, movies played fine.  After iOS upgrade I can no longer play movies downloaded from iTunes to the media drive.  Anyone else have a similar issue?

    I bought a Sandisk Connect Media Drive, downloaded the app from iTunes.  Before iOS 8, movies played fine.  After iOS upgrade I can no longer play movies downloaded from iTunes to the media drive.  Anyone else have a similar issue?

    I checked with SanDisk's own online support and they indicate that they have notified Apple of the issue.
    According to SanDisk, the problem lies with Apple not having the iOS 8 version of the Safari browser having DRM decoding enabled that the Media Drive relies upon to decode and play iTunes DRM titles. Non DRM encoded videos will play in the browser.
    DRM audio is not effected as this is handled by the native iOS music app.
    As of the date of this post SanDisk have not been given a timeframe by Apple for this issue to be resolved.
    I hope that Apple resolves this issue quickly as I have a large collection of DRM video titles on a 128Mb memory card installed in the Media Drive that I am unable to view.

  • No Sound on virtual Windows 2008 R2 terminal servers

    Hello. I have a hyper-v server with 3 terminal servers (in fact there are two hyper-v with a totall of 6 terminal servers).
    Hyper-V server is W2K8R2 and so are the terminal servers.
    Users connect to the terminal servers using RDP and are unable to play sounds locally on their thin and fat clients.
    I installed Desktop Experience and offcourse done the steps below.
    Win2008
    Start -> Run -> services.msc
    Change the Windows Audio service from 'Disabled' to 'Automatic' - and start it.  
    Lauch the Remote Desktop Session Host Configuration utility by going to START -> RUN/SEARCH -> and typing entering the following command: tsconfig.msc <ENTER>
    On the right-hand pane, double click on 'RDP-TCP'
    Select the 'Client Settings' tab
    Clear/Uncheck the Audio and video playback check box
    Log off the system and launch your RDP client.
    Before you connect to the system, click the Options button/arrow to expand the RDP session options.
    Click the ‘Local Resources Tab’ and under ‘Remote audio’ click the ‘Settings’ button.
    On the window that pops-up, under ‘Remote audio playback’ click ‘Play on this computer’ and click OK.
    Connect to the virtual machine and you now have sound!
    (quick test, you can use START -> RUN -> c:\windows\media\tada.wav  (it may prompt you to configure Media Player for first usage).
    After this, the users are still unable to play audio in their terminal session.
    They have boxes or headphones connected to their devices and are able to play audio local on their fat clients. (Windows pc's)
    Does anyone has more idea's?

    Hi Brinkman79,
    Please ensure that the "Audio service" is running , if it is not enabled please refer to following steps :
    To start the Windows Audio service
    1.On the RD Session Host server, open the Services snap-in. To open the Services snap-in, click Start, point to Administrative Tools, and then click Services.
    2.If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Yes.
    3.In the Services pane, right-click Windows Audio, and then click Properties.
    4.On the General tab, in the Startup type box, select Automatic, and then click Apply.
    5.Under Service status, click Start.
    6.Click OK to close the Windows Audio Properties dialog box.
    7.Confirm that the Status column for the Windows Audio service displays Started.
    http://technet.microsoft.com/en-us/library/dd759165.aspx
    Best Regards
    Elton Ji
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • When I try to download apps, a message appears saying that to move forward I have to agree to the new terms of the contract, but does not allow me to agree and not low Apps. Someone can explain what is happening?? thank you

    When I try to download apps, a message appears saying that to move forward I have to agree to the new terms of the contract, but does not allow me to agree and not low Apps. Someone can explain what is happening?? thank you

    Delete some stuff to make room on the device.
    iCloud is not local storage and has nothing to do with your situation.

  • In the app search, the selections are hard to move right to left why?

    in the app search, the selections are hard to move right to left why?

    I doubt it was either.  As I suggested the possiblity the two issues were related.  One of a number things could have been the cause, and the solution.
    It took me several minutes to finalize my post in which during that time Apple could have very easilty got things back up and running.  The two issues could have been unrelated.
    Chamar - tt also appears you posted a screen shot from the Mac App store.  The link I provided was specifically for the online "Apple Store"  - not "App" store. 
    And again, as it's been an issue in the past - I suggested the two issues may have been related;  it usually is, because your Apple ID is tied to "everything Apple" - Mac App store, iCloud, FaceTime, iTunes, Apple Store online, and even here, including the forums... "everythig Apple."
    I even tried to get onto Apple Store online through the App on my iPhone.  I get the exact same screen shot I placed in my original post.  At any rate... everything is back up and running.

  • Java is very slow on terminal servers

    Hi, we have several terminal servers for clients. But running Java (JRE) on a bank website, is very slow to load the Java plugin. So the whole login takes around 1-2mins to complete.
    We run Windows Server 2008 R2 which is virtualized with VMWare, we run the latest Java client v7 Update 17. Java has always been slow on these servers, is there a way to teak it somewho, so it loads faster?

    WoOber wrote:
    Its me who have setup the whole server, but users experience really that Java starts really slow when they try to login on their bank on the web.And how is that login done? In an applet? Because then the performance issue is on their own computer in their own private installations of browsers and Java runtimes, not your terminal. Applets tend to load 'slowly', especially on older versions of Java. The feeling of slowness tends to be because people compare the loading time to Flash, a completely different beast.

  • Office 2007 Licencing on 2008 R2 Terminal Servers

    Hi All,
    Is Office on terminal server licenced per user accessing Office? or per user accessing the terminal server?
    I am in the process of moving to terminal servers and thinclient rollout.
    There are currently around 200 users, connecting to 4 Windows 2008 Terminal servers and all is looking good.
    Exactly half of these users will not have access to Office at all, I currently restrict those users by software restriction policies.
    I currently have 200 licences for office, 100 of which are being used.
    As the rollout continues, eventually there will be 400 users on the terminal servers, 200 of which will use office.
    Do I need a total of 400 licences for office? Or will the 200 we currently own suffice?

    Hi Brinkman79,
    Please ensure that the "Audio service" is running , if it is not enabled please refer to following steps :
    To start the Windows Audio service
    1.On the RD Session Host server, open the Services snap-in. To open the Services snap-in, click Start, point to Administrative Tools, and then click Services.
    2.If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Yes.
    3.In the Services pane, right-click Windows Audio, and then click Properties.
    4.On the General tab, in the Startup type box, select Automatic, and then click Apply.
    5.Under Service status, click Start.
    6.Click OK to close the Windows Audio Properties dialog box.
    7.Confirm that the Status column for the Windows Audio service displays Started.
    http://technet.microsoft.com/en-us/library/dd759165.aspx
    Best Regards
    Elton Ji
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Client Side Rendering on Terminal Servers

    I’m having horrible printer issues on my Terminal Servers such as slow printing, slow to add printers, some applications load slowly because they are enumerating the list of printer (thanks Procmon), slow logons, etc. I'm trying to get Client Side Rendering
    (CSR) disabled. From what I can tell it still appears to be on. Terminal Server are Windows Server 2008 SP2 x86.
    On my print servers I have verified that all printers have Render print jobs on client computer unchecked. I have a Group Policy linked to the OU that the Terminal Servers are in that has
    Always render print jobs on the server set to enabled. Per
    http://blogs.technet.com/b/askperf/archive/2008/02/10/ws2008-client-side-rendering.aspx I have verified that on each Terminal Server in
    HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Printers the
    ForceCSREMFDespooling value is present & set to 1 so the GP is being applied.
    However I still have tons of entries in HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Providers\Client Side Rendering Print Provider\Servers\<SERVERNAME>\Printers.
    I have found KB958656 which seems to describe my problem that CSR is not being disabled. However one of the files it updates is older than a file that I have (win32spl.dll) & one is newer (printcom.dll).
    Printcom.dll in hotfix is 6.0.6001.22288 mine is 6.0.6001.18000
    Win32spl.dll in hotfix is 6.0.6001.22288 mine is 6.0.6002.18005
    Has anyone else seen this behavior & been able to get CSR disabled?
    Has anyone else had success with the KB hotfix mentioned or know whether or not installing it would causing any issues (since it has that older file)?
    Thanks in an advance to any input.
    Patrick Hoban
    http://patrickhoban.wordpress.com

    Alan/Patrick,
    Hi, sorry, went away on leave for a while so didn’t respond.
    Alan – our case was REG:112081612189183.
    For someone who has been dealing with MS support for about 20 years, this was the most disappointing of any support call I’ve ever had raised – to have the call shut
    down, without a perfmon trace, process explorer analysis, or hang dump analysis (of spooler) – and simply blame “3<sup>rd</sup> party drivers” without any proof – is utterly deplorable.
    Anyway, for anyone’s benefit who has similar problems – trying to do direct printing from RDS – I’ve managed to get a solution working. 
    Here are the details;
    A nightly print spooler clean-up script that;
    Stops the spooler
    Deletes the entire key under “HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Providers\Client Side Rendering Print Provider”
    Re-creates the key (empty) and sets the value "RemovePrintersAtLogoff"=dword:00000000
    Note, this was vital. 
    MS support had recommended we set this to 1, along with some other keys (InactiveGuidPrinterAge, 
    InactiveGuidPrinterTrim) with specific values.  If we used these MS support recommended values, our RDS serer would not enumerate printers for more than 3-4 hours before requiring a restart of the spooler.
    Restart the spooler
    Map a printer (just to make sure it works)
    Clean up the USERS\.DEFAULT\Printers key on all existing servers
    There was heaps of crap here, the default user NTUSER.DAT was over 800MB in size
    Modify the security on the registry, using GPO to deny SYSTEM write access as below, to stop the crap writing here again;
    USERS\.DEFAULT\Printers
    Deny Set value
    Deny Create Subkey
    Run NGREGOPT on all servers to compress the DEFAULT and SOFTWARE hives back down.
    Even though we had deleted the crap from “Client Side Rendering Print Provider” and the DEFAULT user hive, the registry files were still large of course, and needed to be compressed to reduce
    paged pool usage.
    Note, make sure no users are on the server when this is run !
    With the nightly spooler ‘refresh’ and the registry security changes, we are no longer seeing any problems. 
    In addition the paged pool has gone down from 5GB to 1GB – which I believe was related to the registry bloat that had occurred previously. 
    Cleaning up the keys and using NGREGOPT has fixed this.
    In addition, I am running a spooler check script every 30 minutes on each of the 13 servers. 
    This script checks how long it takes to enumerate the printers for the specific test user. 
    If it takes more than 20 seconds, we get an alert.
    Since I have made the changes above, we no longer have any printing problems… touch wood.. even using HPD 5.4 for most printers, and other (RICHO) 3<sup>rd</sup> party
    drivers.
    If anyone wants the scripts (the spooler refresh or the check script) let me know on david.frith<at>glfconsulting.com.au
    ta

Maybe you are looking for

  • Hard drive and usb not working

    Greetings, My notebook is  cq60-214dx  compaq presario with a windows vista basic operating system. I have pentium dual core inside. Recently, My usb stop working, there is nothing else hooked up to it for the past year.  It is not detecting my flash

  • A few very basic questions

    OK, I'm just purchased a MacBook (my first Apple computer) along with iWork '08 and so far I'm very impressed, although I'm still learning to adjust from the PowerPoint program. OK, first off, how do you set an image as the background? This is probab

  • Playing music from ipod in itunes7

    okay, what is the deal with not being able to see my music list when i want to play music from my ipod in itunes7? now that i can't see the list of music i have on my ipod, how in the world am i supposed to delete the stuff off my ipod? itunes7 *****

  • Modify Automaticaly order position on IS-MILL solutions.

    Hi. First, excuse me for my poor english. I'm not use it normally. We have MILL package installed on our systems because we need to make productions orders with various positions. But we need to automate the process that create, modify and/or delete

  • Xserver hosed after 2.6.29 kernel upgrade

    I upgraded from 2.6.27 to 2.6.29 today via pacman -Syu.  Since then, I have not been able to start X at all.  I was running the nvidia driver, but my attempt to run vesa drivers had the same result. hostname: Host name lookup failure xauth: creating