Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: How to change compatibility mode using command prompt

20 Oct 2018   #1

Windows 7 SP1 x64
How to change compatibility mode using command prompt

Is there a way to make a file get executed automatically as admin through command prompt?
Lets say there is a file.exe and I want to tick that box that says "execute as administrator" without right clicking it and doing it through the user interface.

In new in windows and I don't know how to do this.

My System SpecsSystem Spec
20 Oct 2018   #2

Windows 7 HP 64

Welcome to the Forum.

The executable files are saved on specific folders on the disk.
What you see on the desktop and on the start menu are shortcuts, links to the executable files on the disk.
If you want to have this links executed as administrator, right click on the link - properties - shortcut tab - advanced. Mark Run as Administrator.
My System SpecsSystem Spec

 How to change compatibility mode using command prompt

Thread Tools

Similar help and support threads
Thread Forum
how to get command prompt through safe mode
When I boot the computer and press F8, it shows options to boot in various modes and i can not run my operating system in normal mode and not have win os disc. I choose "Safe mode with Command prompt". But instead of displaying me the command prompt on the login screen it shows me the normal...
General Discussion
how to get command prompt through safe mode
when i press f8 in win 7 i have the option of 'run safe mode with command prompt' but it does not work on choosing it. one thing more i can not run my operating system in normal mode and not have win os disc. so, help me how to enter into cmd on rebooting the system.thanks
General Discussion
Cannot change drive in command prompt using CD
When I try to switch to D drive it stays in C: C:\Users\Valdis>cd d: D:\ C:\Users\Valdis>cd D:\Downloads C:\Users\Valdis>cd d: D:\Downloads
General Discussion
Change Directory in Command Prompt
Anyone know how to do this in command prompt? I type "cd .." a few times to get to to C:\ Then when I type "cd e:\" I see E:\ below the command line but I'm still in C:\. Can anyone help? Edit: Nevermind, manage to get it working. Just had to type "E:" instead of using CD beforehand....
General Discussion
Command Prompt to change primary monitor?
Hey, I'm working on a batch file to change a system's primary monitor before launching a game. Is there a DOS command to change the primary monitor on a system? Thanks!
General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 14:59.
Twitter Facebook