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.

Run Once on each new user created

Featured Replies

Hi guys,

I want to run a batch file (only once) when the first login of the newly created user. I set a string value in HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Run but it did not run the string value I set and I could not find the string value in HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run.

I assume that after I set the string value in HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Run, the string value will be copied to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run on the creation of new user, is that correct? Is there any other way to set startup running batch after login?

Thank you

  • Author

Sorry for not mentioning the Windows version... The problem I faced was on Windows Vista Enterprise Edition

HK_USERS\.DEFAULT is not the true default profile registry hive.

Instead modify the Software\..\Run key in C:\Users\Default\NTUSER.DAT

Launch Regedit, Select HKEY_USERS

Click File > Load Hive

Select the hidden file (enter full path works) : C:\Users\Default\NTUSER.DAT

Enter the key name, eg.: DefaultProfile

Now you can browser HKEY_USERS\DefaultProfile\Software\...\Run and make your changes.

When it's done, select the DefaultProfile key and unload the hive (in File menu).

You can make these changes in command line with the following tools :

reg.exe

modifyprofile.exe

HTH,

Largo

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.