Jump to content
View in the app

A better way to browse. Learn more.

WinCert.net Forums

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.

Featured Replies

Posted

Hi,

I am trying to create a registry entry in the AddReg section that will use the currently logged in user's username.

I thought I had it figured out using "HKCU,"Software\MyProgram\MyDirectory","PATH",0x0,"%53%\TargetDirectory".

When I run this inf from my desktop, the entry is created as "C:\Documents and Settings\MYUSERNAME\TargetDirectory", just as I want.

However, when I use that line in my addon during Windows install, the entry is created as "C:\Documents and Settings\Default User\TargetDirectory" - Instead of "MYUSERNAME", it is showing up as "Default User" and the application does not work.

Could someone give me a hint as to how to accomplish this, I have searched to no avail.

Thanks - Gun

Depends when you call it, if you do it during setup the Default User is the user account, if you delay it to run during 1st login with RunOnceEx it will use that user instead

  • Author

Thanks - that was the nudge I needed, got it figured out now :thumbsup_anim:

Edit: Was happy too soon - worked fine from desktop, run addon via inf, reboot and reg entry correctly created. Was a different story on a live install, still was created as "Default User". Oh well, I will stick with adding it via my first boot reg tweaks.

Edit #2: Got it worked out this morning .. a little convoluted but it works. Instead of running the desired reg entry on first reboot, I added another runonceex at first reboot that makes the desired entry on second reboot.

Edited by SHO_GuN

Please sign in to comment

You will be able to leave a comment after signing in

Sign In Now

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.