• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
ControlUp Community

ControlUp Community

Connect, Learn, and Grow

  • Blog
  • Archives
  • Findings
  • Meetups
  • Videos
  • Events
  • Categories
    • ControlUp One Platform
    • ControlUp for Apps
    • ControlUp for Compliance
    • ControlUp Dashboards
    • ControlUp for Desktops
    • ControlUp for VDI
    • ControlUp Scripts & Triggers
    • ControlUp Synthetic Monitoring
    • ControlUp Workflows
  • Topics
    • Logos & Wallpaper
    • ControlUp.com
  • Join

How to remotely query the registry of machine using a ControlUp Script Action?

Posted on March 7, 2023

It is possible to query the registry of a machine using a Script action, however the user was getting ‘access denied’ errors. If the computer runs the CU agent, it might be easier to run the script there instead of remotely. It was suggested that PS remote needs to be enabled for Invoke-Commands. 8.8 release will allow users to see the value for VHDLocations as a column in console and Solve as part of the FSLogix integration.


Read the entire ‘Querying the Registry of a Machine Using Script Action’ thread below:

Is it possible to remotely query the registry of machine using a Script action? I’m getting access denied. not sure if it has something to do with the Contorlup Service account we are using or if it is a limitation. The command i’m using: Invoke-Command -Computer $machine -ScriptBlock {Get-ItemProperty -Path: HKLM:\SOFTWARE\Policies\FSLogix\ODFC -Name "VHDLocations"}


Does $computername run the CU agent as well? Might be easier to run it directly on that machine without remoting.

Unless otherwise configured a script action runs as system. Which you can control.


i think you need to have PS remote enabled to rune invuke-commands remotly


FYI – The value for VHDLocations for ODFC containers is in the 8.8 release as a column FYI. One less requirement on you, you will be able to see this side by side in console & Solve. All part of the bigger FSLogix integration coming in a few weeks. 😉

Continue reading and comment on the thread ‘How to remotely query the registry of machine using a ControlUp Script Action?’.  Not a member? Join Here!


Categories: All Archives, ControlUp Scripts & Triggers
Topics: ControlUp Agent, ControlUp Solve, FSLogix, Scripts

Ask Us Anything, Connect, Learn, and Grow with the ControlUp Community!

Login to the ControlUp Community to ask us anything, stay up-to-date on what’s new and coming soon and meet other like-minded techies like you.

Not already a member? Join Today!

Primary Sidebar

ControlUp Academy

Enroll in ControlUp Academy for expert-led technical training, equipping you with skills to effectively deploy, manage, and grow your ControlUp investment.

Learn here >

Rotating Images

Hidden Gem from our Community on Slack!

ControlUp Betas - What's Coming Next?
NEW ControlUp Features - Stay Up-to-Date!
ControlUp Scripts - Scripting, Zero to Hero
Latest KB Articles - Be the First to Learn

Video Tutorials Library

Visit our technical how-to videos, offering step-by-step tutorials on advanced features, troubleshooting, and best practices.

Watch here >

ControlUp Blog

Check out the ControlUp blog for expert advice and in-depth analysis.

Read here >

ControlUp Script Library

Visit the ControlUp technical script library, which offers a multitude of pre-built scripts and custom actions for your monitoring and troubleshooting requirements.

See here >

ControlUp Support

Visit the ControlUp support home and to delve deeper into ControlUp DEX solutions.

Browse here >

Footer

      

ControlUp Community
Of Techie, By Techie, For Techie!

Terms of Use | Privacy Policy | Security
Dive Deeper, Learn more at ControlUp.com

  • facebook
  • twitter
  • youtube
  • linkedin

© 2023–2026 ControlUp Technologies LTD, All Rights Reserved.

We use cookies to ensure that we give you the best experience on our website. by continuing to use this site you agree to our Cookie policy..