Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Empower Replay: Limited Edition
    • Tutorials
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • YouTube Videos
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Agility
      • Book your Agile Fundamentals training
      • Book you Kanban workshop
      • Learn more about Agile
        • Agile Webspace
        • Everything Agile
          • The Agile Manifesto
          • Best Practices
          • Retro Recipes
        • Methodologies
          • The Scrum Framework
          • Kanban
          • Extreme Programming
        • Roles
          • The Product Owner
          • The Agile Coach
          • The Quality & UX Coach (QX)
    • >> Go to DataMiner Docs
  • DevOps
    • About the DevOps Program
    • Sign up for the DevOps Pogram
    • DataMiner DevOps Support
    • Feature Suggestions
  • Swag Shop
  • Downloads
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Solutions
    • Deal Registration
  • Contact
    • Sales, Training & Certification
    • DataMiner Support
    • Global Feedback Survey
  • >> Go to dataminer.services

Running DataMiner Automation Scripts as a User Instead of System

Solved406 views26th June 2025
3
Samson Fayoyiwa [DevOps Advocate]397 12th February 2025 4 Comments

Hello Dojo Community,

I have a C# automation script in DataMiner that backs up a specific file due to its operational sensitivity and frequent usage. The script executes successfully when scheduled via DataMiner but fails to complete the backup because:

  • The remote server only allows access from a specific user account and not from the SYSTEM account that DataMiner uses by default.
  • The file transfer to the remote server is denied due to permission restrictions.

 Is there a way to execute a DataMiner automation script under a specific user account instead of SYSTEM?

Samson Fayoyiwa [DevOps Advocate] Posted new comment 26th June 2025
Miguel Obregon [SLC] [DevOps Catalyst] commented 12th February 2025

Hi Samson,
Please could you elaborate the backup process? Are you storing the file in a network share folder? Is this remote server part of the DataMiner cluster?

Samson Fayoyiwa [DevOps Advocate] commented 12th February 2025

Hello Miguel,

Are you storing the file in a network share folder? Yes
Is this remote server part of the DataMiner cluster? No, it is outside the cluster

Marieke Goethals [SLC] [DevOps Catalyst] commented 26th June 2025

Hi Samson,
I see that this question has been inactive for some time. Do you still need help with this? If not, could you select the answer (using the ✓ icon) to indicate that no further follow-up is needed?

Samson Fayoyiwa [DevOps Advocate] commented 26th June 2025

Thanks just did

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
1
Felix Wesemeier [DevOps Catalyst]1.88K Posted 13th February 2025 0 Comments

Hi Samson,

as far as I know it is not possible to run the script as another user.

But inside your script you could impersonate another user.

Maybe this is a g0od starting point: Impersonating User in C# causes users to be removed on LDAP synchronization – DataMiner Dojo

WindowsIdentity.Impersonate Method (System.Security.Principal) | Microsoft Learn

Samson Fayoyiwa [DevOps Advocate] Selected answer as best 26th June 2025
Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs