Jump to content

Running WPI in admin mode Vista (Hidden Super admin)


Recommended Posts

Hi,

I have installed vista in my comp and now wanted to run WPI stand alone. To avoid UAC, data protection, ownership problem I want to run WPI as an super admin (that is actually hidden unless we enable it). Is there any commandline option or argument hat tI can pass while calling WPI installer?

Thanks in advance,

Pokemon

Link to comment
Share on other sites


http://www.petri.co.il/disable_uac_in_windows_vista.htm

Method 2 should do fine... Make 2 reg files and run one before WPI then reboot. Add the second one (Re-enabling UAC) to WPI's execute after.

As for elevated abilities you need to do that on a file for file basis.

Study this cmd file here:

takeown /f %systemroot%\System32\uxtheme.dll
icacls %systemroot%\System32\uxtheme.dll /grant administrators:F
ren %systemroot%\System32\uxtheme.dll uxtheme.old
xcopy /y %systemroot%\System32\Patches\uxtheme.dll "%systemroot%\System32\"

takeown /f %systemroot%\System32\themeui.dll
icacls %systemroot%\System32\themeui.dll /grant administrators:F
ren %systemroot%\System32\themeui.dll themeui.old
xcopy /y %systemroot%\System32\Patches\themeui.dll "%systemroot%\System32\"

takeown /f %systemroot%\System32\shsvcs.dll
icacls %systemroot%\System32\shsvcs.dll /grant administrators:F
ren %systemroot%\System32\shsvcs.dll shsvcs.old
xcopy /y %systemroot%\System32\Patches\shsvcs.dll "%systemroot%\System32\"

I use this to replace the uxtheme files.

You would need to use similiar methods to copy\modify files with WPI

(Please keep in mind though I only adopted Vista AFTER SP1 was released) I had beta tested it and tested it for a little while when it was first released and found that I greatly disliked it. :( Now though it's not so bad....

I am pretty sure there is better ways but I don't know them.

Link to comment
Share on other sites

As for elevated abilities you need to do that on a file for file basis.

Study this cmd file here:

takeown /f %systemroot%\System32\uxtheme.dll
icacls %systemroot%\System32\uxtheme.dll /grant administrators:F
ren %systemroot%\System32\uxtheme.dll uxtheme.old
xcopy /y %systemroot%\System32\Patches\uxtheme.dll "%systemroot%\System32\"

takeown /f %systemroot%\System32\themeui.dll
icacls %systemroot%\System32\themeui.dll /grant administrators:F
ren %systemroot%\System32\themeui.dll themeui.old
xcopy /y %systemroot%\System32\Patches\themeui.dll "%systemroot%\System32\"

takeown /f %systemroot%\System32\shsvcs.dll
icacls %systemroot%\System32\shsvcs.dll /grant administrators:F
ren %systemroot%\System32\shsvcs.dll shsvcs.old
xcopy /y %systemroot%\System32\Patches\shsvcs.dll "%systemroot%\System32\"

I use this to replace the uxtheme files.

You would need to use similiar methods to copy\modify files with WPI

Thx Kel, eye opener. Any idea whether it is possible to 'take ownership' of complete folder i.e 'Program files' etc using the above mentioned batch. I can do it manually using 'take ownership' reg key and shift+righclick combination however never automated it through batch file.

Link to comment
Share on other sites

Command line uses of WPI

WPI supports the use of command line entries for selection of Options, Config files and time for even further customization of your WPI disks or setups.

Example: WPI.hta options=useroptions_mritter.js config=config_mritter.js check=Work timer=30

If a path is not specified for the file, it will assume they are in the WPIScripts folder.

Paths can be full (starting with a drive letter) or relative to WPI.hta (starting with '.\' or '..\') and must end in '.js'.

Spaces are supported only is a path is provided and properly quoted: (config="c:\space in\file path.js")

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...