Cynosure.X International

Has Administrator Privilege (GPL)
Sat, 06 Dec 2014 22:33:14 +0000

Example 2

The following screen shot shows the "HasAdminPrivilege.cmd" script running in a "Administrator: Command Prompt".


Comments (2) | Related Links | TrackBack (1)

How to Run Windows Batch Script as Administrator by Default?
Sat, 06 Dec 2014 02:55:22 +0000

Here is a partial work-around that works in "some" cases, but not others...

1. Create a Windows shortcut for the batch script.
2. Right click on the shortcut.
3. Click on the "Properties" menu option.
4. Click on the "Advanced..." button.
5. Enable "Run as administrator" (see screen shot below).
6. Click on the "OK" button in the advanced properties dialog.
7. Click on the "OK" button in the properties dialog.

Now your script will always execute with as administrator. For your purpose, this trick will work for anything you drag-and-drop onto it, where the object path does not include a space. But if your object path contains one or more spaces, the operation will fail. This problem seems to be a bug at the Windows OS level, so you can't fix it in your script. The problem issue never gets to your script.

Good luck. Let us know if this trick works for you.


Comments (1) | Related Links | TrackBack

Run As Administrator (GPL)
Sat, 06 Dec 2014 02:33:47 +0000

"RunAsAdministrator.cmd" is Windows batch program that elevates a script or program to admin level. This script does the same thing as you right-clicking on a program and select "Run as administrator", except it allows you to do it from the command-line or within a batch script.

"RunAsAdministrator.cmd" takes advantage of the following batch files. They are also available on this web site. So to use "RunAsAdministrator.cmd", you'll have to download these other batch scripts, if you don't already have them.


"RunAsAdministrator.cmd" is distributed as executable source code under the GNU General Public License. Please see the license agreement elsewhere on this site. If you make changes to this batch file, please feel free to upload it back here to share it with others.


  "RunAsAdministrator.cmd" "program" [ "arg 1" . . . "arg N" ]


Comments | Related Links | TrackBack (1)

TakeControl: Change Log
Sat, 06 Dec 2014 02:08:58 +0000

Version 3.0

Microsoft Windows 8 made its digital rights management even more strict. Even if your user account has administrator rights, the programs you execute do not execute with that privilege by default. That means TakeControl no longer works on Windows 8 and Windows 8.1

So we have updated the latest version of TakeControl to elevate its privilege up to the administrator level when you run it. This latest version of TakeControl works on Microsoft Windows 8.


Comments (7) | Related Links | TrackBack (1)

PingSubNet.cmd (GPL)
Thu, 04 Dec 2014 06:15:36 +0000

Found a bug in the previous version where all IP will report alive when computer is not connected to the network. The version attached below fixes this issue.


Comments (1) | Related Links | TrackBack

More . . .

Products | Services
Forums | Latest | RSS
Library | Search | Wiki
Help | Licenses

Login | Register

12 Users Online

Hacking Digital Cameras
Fun for Photographers

Amazon Associate

Copyright © 1996 - 2014. All Rights Reserved.