MSFN Forum: Permissions Issue with during an Off2k unattended install - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Permissions Issue with during an Off2k unattended install Rate Topic: -----

#1 User is offline   bigfatroundguy 

  • Newbie
  • Group: Members
  • Posts: 44
  • Joined: 04-May 05

Posted 14 June 2006 - 09:24 AM

I have created a simple unattended installation of Off2k, slipstreamed the service packs and hotfixes and created an MST file using CIW. I execute it using RunOnceEx.cmd and it works (the applications all install and are configured as I had set with CIW). When I log off or reboot and log back on as any user other than an administrator, I experience 2 INF install failures - specifically the message that appears twice on the desktop is "INF Install failure. Reason: Access is denied." At this point, I can't tell whether this is a registry or file permissions error. My first thought was to utilize Sysinternals FileMon and RegMon tools and execute them at startup to specifically identify the permissions issue - the problem here is that they need to execute with administrator level privileges and the only way to do that that I am aware of is using a shortcut with the runas cmd inserted into the target line - using this approach, while regmon and filemon will definitely run, I will be unable to enter the admin password fast enough for them to run and capture the permissions error, that I am trying to capture at boot up. Can anyone suggest anything?

Update - 20Jun06 - figured it out.

the "INF Install failure", came as a result of using RC8 of nLite. goto RC8 - Advanced INF Install Failure for background and resolution

regarding the use of FileMon and RegMon with elevated permissions without having to enter the admin password in realtime, I utilized and AutoIt script. I got the idea from the forum but the full code block is located in the AutoIt help file. here it is for reference

; Set the RunAs parameters to use local adminstrator account
RunAsSet("Administrator", @Computername, "Administrator password")
; Run program (arg 1) as admin
RunWait($CmdLine[1])
; Reset user's permissions
RunAsSet()


works wonderfully and you can tweak to use for other users and passwords. I found it helpful to check other user's registry entries this way.

anyhow, people are clearly reading this message thread - thought you'd like to know

This post has been edited by bigfatroundguy: 20 June 2006 - 07:23 PM



Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy