Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8555661
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T15:10:29+00:00 2026-06-11T15:10:29+00:00

I am new to C# programming, and I am attempting to obfuscate some credentials

  • 0

I am new to C# programming, and I am attempting to obfuscate some credentials by using them inside an exe instead of running them directly from the command line. This is regarding Sysinternal’s Autologon.exe.

Command line:
C:\Autologon.exe Admin . Pa$$word

C#:
System.Diagnostics.Process.Start(@”C:\Autologon.exe”, @”Admin . Pa$$word”);

The above command line version executes without ever raising an issue by UAC in Windows 7, but the C# version prompts me to Run or Cancel whenever I execute it. This is a very small part of a very large and complex automated utility I have written, so prompts are bad. Once again, I don’t receive any prompts when I execute the command line version, but I do receive a prompt when executing it via my C# exe. Help is greatly appreciated.

Thanks in advance!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T15:10:31+00:00Added an answer on June 11, 2026 at 3:10 pm

    Change it to the following:

    System.Diagnostics.ProcessStartInfo startInfo = new System.Diagnostics.ProcessStartInfo();
    startInfo.FileName = @”C:\Autologon.exe”;
    startInfo.Arguments = “Admin . Pa$$word”;
    startInfo.UseShellExecute = false;
    System.Diagnostics.Process.Start(startInfo);

    The key is UseShellExecute = false

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am new to programming but attempting to learn. Im running visual studio 2010
I've been attempting to figure this out for forever now (I'm new to programming)
New to programming. I wrote a Python code (with help from stackoverflow) to read
Im new to programming and hopefully can get some guidance, I searched for clues
I am very new to Java as well as Android programming. I was attempting
I am new to Linux programming and am attempting to use the BFD library.
I'm new at programming, new on this site too, so hello... I'm attempting to
I am working on some socket programming stuff and attempting to match some strings.
I'm new programming in shell and I need some help with this code... Buildname=
I've created my 'new programming language' using the ANTLR framework. The language is defined

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.