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.

Looking for Sugestions

Featured Replies

I need to execute a command the first time a user logs on a computer, but the problem using a Runonce command is that then next unique user to login to the system will not get the command.

I have considered adding a command to the ntuser.dat

Anybody have any sugestions?

R


HKLM\Software\Microsoft\CurrentVersion\Runonce ?

I'm not sure about this. But without actually looking, that's my guess. Or something similar. Or a self destroying batch file in the "StartUp" folder of the startmenu that delete's itself.

un-tried suggestion, use runOnce or start-up folder for "Default user"

an other option would be to make a checkfile (e.g. let the script make a %username%.txt file, and check if the textfile does exist in the script)

gr /\/\o\/\/

  • Author

With the HKLM\runonce, only the first user gets the command

And were trying not to use a tag file for execution...

Use the StubPath in Active Setup. It is designed for exactly that purpose: one time per user setup. Here is a link to how it is set up for a virus. You should do similar, execpt avoid the auto-propogation. I admit, I did not read the article, but a glance suggested it has enough info, If not ... google.

http://www.megasecurity.org/Trojaninfo/sub....2_startup.html

  • Author

OK i figured it out...

I added RunOnce to HKCU and the behavior was the same as the HKLM RunOnce.

R

What i did mean is add the key under

HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\RunOnce

every new user will get this profile

gr /\/\o\/\/

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.