Jump to content

[HELP] attrib.exe in inf file


CocoNuts974
 Share

Recommended Posts

If you mount your wim you can apply the attrib +h command to the folders this will carry over to your install (keep in mind there are two \Startup folders)

INF code it would go something like this:

;   File/Folder Attributes
; R=1; H=2; S=4; HS=6; SHR=7
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\MyProg",,,"%16386%"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\MyProg",FOLDER,,"Startup,2"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AllProg",,,"%16407%"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AllProg",FOLDER,,"Startup,2"

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...