MSFN Forum: Skip system assessment test running at 1st logon - MSFN Forum

Jump to content



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

Skip system assessment test running at 1st logon Rate Topic: -----

#1 User is offline   amit_talkin 

  • Experienced
  • PipPipPip
  • Group: Members
  • Posts: 397
  • Joined: 05-October 05

  Posted 04 April 2008 - 02:04 PM

Hello friends,

I was playing around vista sp1 setup today and tried to stop system assessment test running at 1st logon ( winsat.exe ).
I am talking about Skipping the test, not completely removing it using vlite.
what i did to stop it is just simple.

1). made changes in install.wim and moved winsat.exe from system32 folder to elsewhere.
2). added a command to copy winsat.exe to system32 folder at 1st logon in answer file.

now, system assessment test runs before the command executes, so u will hear an error sound at 1st logon, which mean setup unable to find winsat.exe
and will skip it from running. after it, winsat.exe will be copied to its original location. u can now run system assessment test after logging in vista. :)

this is to save time of installation. as generally we have to re-index system rating after installing newer drivers. one disadvantage of bypassing this test is that one have to enable AERO theme manually. everyone know this!

hope this info is useful for some of u ppl.
plz share it if there are any other better ways to skip system assessment test with Aero theme working on 1st logon.

AMIT

This post has been edited by amit_talkin: 04 April 2008 - 02:06 PM



#2 User is offline   fairyprincess 

  • Newbie
  • Group: Members
  • Posts: 40
  • Joined: 18-July 07
  • OS:none specified
  • Country: Country Flag

Posted 04 April 2008 - 02:39 PM

Yeah this would be very nice to have a clean way of doing this, maybe with a script at the end to enable aero?

Btw is there a way of editing .wim files without downloading the whole 1 Gig WAIK?

#3 User is offline   amit_talkin 

  • Experienced
  • PipPipPip
  • Group: Members
  • Posts: 397
  • Joined: 05-October 05

Posted 04 April 2008 - 02:46 PM

7zip supports WIM files..but it only can extract files from it.
only Imagex.exe is needed to edit wim files. if u can find it somewhere thn u wont need to download whole WAIK !
do u have any script to enable AERO without running system assessment?

This post has been edited by amit_talkin: 04 April 2008 - 03:12 PM


#4 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,482
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 05 April 2008 - 07:52 AM

View Postamit_talkin, on Apr 4 2008, 02:46 PM, said:

do u have any script to enable AERO without running system assessment?


Nice amit
will save time installing since I do so many
The reg key to enable will be HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UxSms
"Start" with a value of 2 and its a Reg_Dword
NET START UxSms

Probably can run reg before the reboot and won't need to start the service with Net
I'll try that next time

#5 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,482
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 07 April 2008 - 07:11 AM

amit
I just tried a rename on the Winsat.exe to winsat.old in system32 but that failed, it ran the performance test.
What did you do exactly to skip that?

I did rename it in Firstlogoncommands but that should have been after the fact

#6 User is offline   amit_talkin 

  • Experienced
  • PipPipPip
  • Group: Members
  • Posts: 397
  • Joined: 05-October 05

Posted 07 April 2008 - 07:54 AM

Hi,

I did as described below,

1) mounted install.wim and moved "winsat.exe" from "system32" folder to "windows" directory.
( no need to rename winsat.exe, just move it to windows directory )
2) added a command to copy "winsat.exe" from "windows" directory to its original location.

Quote

<SynchronousCommand wcm:action="add">
<Description>Copying Winsat</Description>
<Order>99</Order>
<CommandLine>cmd /c move /y %windir%\WinSAT.exe %windir%\System32\</CommandLine>
</SynchronousCommand>


this surely works...you can see error log after unattended install of it.
here is the entry of error occured while running winsat.exe

Quote

2008-04-04 19:00:01, Warning [msoobe.exe] Failed to run WinSAT [hr=0x80070002]


you will just hear the sound of failure and test will be skipped without showing any error. :)

AMIT

This post has been edited by amit_talkin: 07 April 2008 - 07:55 AM


#7 User is offline   amit_talkin 

  • Experienced
  • PipPipPip
  • Group: Members
  • Posts: 397
  • Joined: 05-October 05

Posted 08 April 2008 - 05:57 AM

mmm...AERO wont be enabled Automatically without running winsat.exe. any working solution for it?

This post has been edited by amit_talkin: 08 April 2008 - 01:15 PM


#8 User is offline   oskingen 

  • MSFN Friend
  • PipPipPipPip
  • Group: Members
  • Posts: 613
  • Joined: 20-January 08
  • OS:none specified
  • Country: Country Flag

Posted 08 April 2008 - 01:04 PM

View Postamit_talkin, on Apr 8 2008, 05:57 AM, said:

mmm...AERO wont be enabled without running winsat.exe. any working solution for it?


You can re enable it manually in the theme Setting. I don't know yet to do it automatically.

#9 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,482
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 10 April 2008 - 08:09 AM

View Postamit_talkin, on Apr 8 2008, 05:57 AM, said:

mmm...AERO wont be enabled without running winsat.exe. any working solution for it?

You try the reg tweak and the Net Start? 2 sets it to automatic, that may require reboot which I do after an install with all my Apps but should be able to pull those off in the FirstLogoncommands

Edit I'll try the moving next go round

This post has been edited by maxXPsoft: 10 April 2008 - 08:09 AM


#10 User is offline   amit_talkin 

  • Experienced
  • PipPipPip
  • Group: Members
  • Posts: 397
  • Joined: 05-October 05

Posted 11 April 2008 - 02:10 AM

View PostmaxXPsoft, on Apr 10 2008, 07:39 PM, said:

View Postamit_talkin, on Apr 8 2008, 05:57 AM, said:

mmm...AERO wont be enabled without running winsat.exe. any working solution for it?

You try the reg tweak and the Net Start? 2 sets it to automatic, that may require reboot which I do after an install with all my Apps but should be able to pull those off in the FirstLogoncommands

Edit I'll try the moving next go round


I tried it, but didnt work for me :}

#11 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,482
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 11 April 2008 - 06:54 AM

Windows Vista Experience Rating is saved in C:\Windows\Performance\WinSAT\DataStore directory into a xml file.
What I'm thinking is if you just add the file or files there during Install, perhaps with Firstlogoncommands then it will think Winsat ran and Aero will be enabled maybe with above things to start it. Need testing there.

This post has been edited by maxXPsoft: 11 April 2008 - 07:37 PM


#12 User is online   ajua 

  • Custom Installer Maker
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,260
  • Joined: 16-April 05

Posted 12 April 2008 - 06:28 PM

Have you guys found a way to enable aero?

#13 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,482
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 13 April 2008 - 01:53 AM

I disable it last time. When I ran it after load desktop I actually get a better score.
I'm sure it needs to see that Winsat ran so may need these things

Creates this file in C:\Windows\Performance\WinSAT\DataStore directory
2008-04-11 22.52.17.287 Assessment (Initial).WinSAT.xml

It creates these extra reg keys exactly like this also so may need them or your keys from an installed version
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winsat]
"LastExitCode"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winsat]
"LastExitCodeCantMsg"="Assessment Completed.

"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winsat]
"LastExitCodeWhyMsg"="The assessments or other operations completed successfully.

"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winsat]
"VideoMemoryBandwidth"=dword:0039b0d4

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winsat]
"GraphicsFPS"=dword:00011718

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winsat]
"MFMediaMaxRunTime"=dword:0001d4c0

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinSATAPI]
"LastFormalAssessment"=dword:00040033


#14 User is offline   amit_talkin 

  • Experienced
  • PipPipPip
  • Group: Members
  • Posts: 397
  • Joined: 05-October 05

Posted 13 April 2008 - 09:11 AM

Yes...those registry entries needed with the "Performance" folder n files....i got registry changes using regshot. but didnt apply it. because i was tired of too much formatting :(. if u have tested that, did u get AERO ?

#15 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,482
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 13 April 2008 - 07:26 PM

1 more key when you enable Aero
REG ADD "HKCU\Software\Microsoft\Windows\DWM" /v Composition /t REG_DWORD /d 1 /f

Too late tonight and will try my full mods in the morning.

#16 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,482
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 14 April 2008 - 08:06 AM

Ran all that and still not enabled.
On another note my Dreamscene started crashing last couple times saying Explorer crashed when it didn't so I surrender, I prefer to have Dreamscene running when I hit the desktop so guess I'll have to wait on the assesment for now.

#17 User is offline   amit_talkin 

  • Experienced
  • PipPipPip
  • Group: Members
  • Posts: 397
  • Joined: 05-October 05

Posted 14 April 2008 - 10:13 AM

i think there are some hidden DWM parameters, which vista enables after running assessment. what do u think?
and other option is to enable AERO and dreamscene without error is to just run the Winsat.exe with dwm and/or d3d parameters only.
atleast this will save time as it will skip all other assessment tests

i.e.
winsat.exe /dwm and/or
winsat.exe /d3d

#18 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,482
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 15 April 2008 - 09:58 AM

don't think winsat was the problem, was showing I had a score.
I copied those files and merged the reg at setupcomplete.cmd last time. Before I done it at Firstlogoncommands.
cause both those are after Winsat is supposed to run.
The HKCU has to be done at Firstlogoncommands

Maybe a bunch of other stuff needs to be done for Aero in reg, I only used most obvious

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