Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Bug in APP launch (environment)

Featured Replies

If you are to create a user and start a program (cmd.exe will do), WIHU's environment is not passed to the program.

E.X.

[Environment]
HELLO=BLA

...
[Some section]
command.0 = cmd.exe
description.0 = just a test

if you don't skip user creation (e.g. you create a new user), and you type in set when the cmd window shows up, you won't see the variable HELLO there.

(simple fix - download source and)

Open wihu.c
Find:
LV_EX_ITEM *Parent;
DWORD BlankPasswordUsage = 0;
WIHU_USER *User;

After, add:
LPVOID env = NULL;
Find
while (Env) {
 WCHAR EnvData[MAX_ENVVAL_SHORT_SIZE];
 ExpandEnvironmentStrings(Env->Value, EnvData, MAX_ENVVAL_SHORT_SIZE);
 SetEnvironmentVariable(Env->Key, EnvData);
 Env = Env->Next;
 }
After, Add (MAKE SURE TO ADD BEFORE } else {:
 CreateEnvironmentBlock(&env, NULL, TRUE);
Find
/* Start process in new user account context */
 Result = CreateProcessWithLogonW(User->Name, User->Domain, User->Password, LOGON_WITH_PROFILE, NULL, ExeCmd, 0, NULL, CurDir, &sti, π);

REPLACE WITH:
/* Start process in new user account context */
 Result = CreateProcessWithLogonW(User->Name, User->Domain, User->Password, LOGON_WITH_PROFILE, NULL, ExeCmd, CREATE_UNICODE_ENVIRONMENT, env, CurDir, &sti, π);

Recompile source...

Hope that helps some headaches.

Limitation: Generic environment for the user is not loaded, e.g. %USERNAME% will be that of the user that wihu is being run from (use %ThisUser%)

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.