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.

First run

Featured Replies

Hey guys how can i make it so a text document will appear on the reboot after all the programs have installed and all so the user can read what was included and all the product keys and all

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\CurrentVersion\Runonce]

"TestDoc"="C:\Windows\MyDocument.txt"

:)

Has to be a REG_EXPAND_SZ

Try that I think its what you need. Just merge the key and reboot see if it comes up.

Windows Registry Editor Version 5.00
;%systemdrive%\TEST.TXT

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Runonce]
"Readme"=hex(2):25,00,73,00,79,00,73,00,74,00,65,00,6d,00,64,00,72,00,69,00,76,\
 00,65,00,25,00,5c,00,54,00,45,00,53,00,54,00,2e,00,54,00,58,00,54,00,00,00

EDIT: This works I just run it.

Edited by maxXPsoft

I updated above and it works, I used the HKEY_CURRENT_USER instead.

You could add this so it makes it appear on all users by adding to the HKCU reg tweaks. Read the MSFN Guide for details.

Edited by maxXPsoft

  • Author

umm its hex so how do i change it so its %systemdrive%\docs\relnotes.txt

Has to be a REG_EXPAND_SZ

:whistle:

try this tho, in a .bat file

REG ADD HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Runonce /V test /D %systemdrive%\docs\relnotes.txt

Instead of putting all that on a readme that a customer will just delete, we put our company logo and all relevant info like that in the oeminfo. You could do a combination of the two, a readme on the Desktop and some permanent inf in the oem info.

http://unattended.msfn.org/xp/oeminfo.htm

they can delete that too tho dlf :P they just need 2 know how lol

@MCT

In my experience the "average punter" we supply to cannot copy & paste never mind find an oeminf file and edit it or del it! You wouldn't believe some of the "tech" queries we get. Drag and drop with the right mouse button is rocket science dont you know! :no:

i understand what your saying, i was just stating that not EVERY user is a n00b :P & there are ways 2 get around that oeminfo

A simpler solution would be to put your .doc inside your $OEM$ folder:

\$OEM$\$Docs\Administrator\Start Menu\Programs\Start\

\$OEM$\$Docs\All Users\Start Menu\Programs\Start\

\$OEM$\$Docs\Default User\Start Menu\Programs\Start\

This way it would be added to the start menu BUT it would launch everytime the computer is rebooted until you delete it from the start menu.

Otherwise, just launch the file as the last step of your RunOnceEx.cmd

umm its hex so how do i change it so its %systemdrive%\docs\relnotes.txt

Same way I would change it.

Save my example as a reg file. Double click to inport. Go to that key and modify it to your needs. So that becomes;

Windows Registry Editor Version 5.00
;%systemdrive%\docs\relnotes.txt

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Runonce]
"Readme"=hex(2):25,00,73,00,79,00,73,00,74,00,65,00,6d,00,64,00,72,00,69,00,76,\
 00,65,00,25,00,5c,00,64,00,6f,00,63,00,73,00,5c,00,72,00,65,00,6c,00,6e,00,\
 6f,00,74,00,65,00,73,00,2e,00,74,00,78,00,74,00,00,00

:whistle: MCT Yes for expand variables in a reg file as your first example it has to be Reg_expand. BTW, i couldn't get it to work in HKLM

Or as MCT done it, just open a prompt and paste that and it adds so its simply one line and very simple. Can be added in cleanup.cmd by pasting his whole thing.

NOTES for those wanting to call a file not associated. You would do that by something similar to this Notepad.exe /open %systemdrive%\docs\relnotes.diz

Edited by maxXPsoft

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.