Recommended Posts

  • 2 weeks later...
After much pain I figured out that people like me, who have limited accounts as well must set the permissions of their %SYSTEMROOT%\SYSTEM32\uxtheme.dll to allow "users" to have read and exectution rights on it.

Otherwise you'll get the mysterious "The application failed to initialize properly (0xc0000022)" from explorer.exe at logon. It's all just because this patcher doesn't keep the original rights of the uxtheme.dll file. So don't panic, just log on as an administrator and add your "users" group at the security panel of uxtheme.dll.

Aur?l

Aur?l, I faced the same problem...

I figured it had something to do UxTheme.dll... so thanks for pointing it out (confirmed with Sysinternal's process monitor).

The thing is that I have simple file sharing enabled, so I cannot edit the file permissions manually from the GUI. I CAN disable simple file sharing... but I've had some problems with that setting (sometimes it gets way too problematic to set up correct permissions), so I don't what to disable simple file sharing.

I've been using a lot of linux lately, so I thought there might be a command that I can write from the command line to change file permissions.

After a couple of seconds googling...

CACLS is the one!

I started my beloved "cmd" and did the following:

I went to the c:\windows\system32 dir

There I did this to check the permissions on the uxtheme.dll file.

cacls uxtheme.dll

Only two users appeared.

Then, I compared that list with another random dll... in this case url.dll:

cacls url.dll

I saw that the user list was different, in particular, two users with read-only permissions appeared, users and advanced users, presuming that the guest account used one of those user profiles... I just added those users to uxtheme.dll's permissions with the following commands:

(The usernames are a translation from spanish, please doublecheck them before running the command)

cacls uxtheme.dll /C /G BUILTIN\Users:R

cacls uxtheme.dll /C /G "BUILTIN\Advanced users":R

(My windows is in SPANISH ESPA?OL, so my command was more like this:

cacls uxtheme.dll /C /G BUILTIN\Usuarios:R

cacls uxtheme.dll /C /G "BUILTIN\Usuarios avanzados":R

)

DO NOT FORGET TO USE /C, if you forget that, you will be REPLACING all the permissions of that file with the one you are granting (/G)

From there on, I had no problems loggin in with my guest account!

Cheers!

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

  • Recent Achievements

    • One Month Later
      Sopa flores earned a badge
      One Month Later
    • First Post
      StaticMatrix earned a badge
      First Post
    • Week One Done
      StaticMatrix earned a badge
      Week One Done
    • Rookie
      lamborghiniv10 went up a rank
      Rookie
    • One Month Later
      pinnclepd earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      506
    2. 2
      PsYcHoKiLLa
      206
    3. 3
      +Edouard
      155
    4. 4
      Steven P.
      91
    5. 5
      ATLien_0
      79
  • Tell a friend

    Love Neowin? Tell a friend!