-
Posts
600 -
Joined
-
Last visited
-
Days Won
9
Content Type
Profiles
Forums
Events
Posts posted by myselfidem
-
-
We can read inside: Unattended Windows Setup Reference for Windows 7.chm:
Download
http://www.microsoft.com/download/en/details.aspx?id=2458FirstLogonCommands
The FirstLogonCommands setting specifies commands to run the first time a user logs on to the computer. These commands run only once.
When a user with administrative privileges logs in for the first time, these commands are run with elevated access privileges.
Note: If you create a user account that does not include administrative privileges, the following commands may not be executed:
- If User Account Control is enabled, then when that user logs in for the first time, a dialog box appears, prompting the user with an option to allow an administrator to apply the commands. If the user selects Cancel, these commands are not executed.
- If User Account Control is disabled, these commands are not executed.
The commands run after logon, prior to showing the desktop.
The commands run in the order specified. Each command must finish before the next command runs.
If the command launches a separate system process, the system process will run independently of the commands. This enables you to create commands that terminate quickly, allowing the user to reach the desktop faster.
Other processes, such as services, are not restricted by FirstLogonCommands and will continue to start or to terminate independently.
For your two questions: Yes!
- If User Account Control is enabled, then when that user logs in for the first time, a dialog box appears, prompting the user with an option to allow an administrator to apply the commands. If the user selects Cancel, these commands are not executed.
-
Using FirstLogonCommands, like this to start from the DVD:
Example with WPI:
<FirstLogonCommands>
<SynchronousCommand wcm:action="add">
<Order>1</Order>
<Description>Password never expires</Description>
<CommandLine>cmd /c wmic useraccount where "name='myselfidem'" set PasswordExpires=FALSE</CommandLine>
<RequiresUserInput>false</RequiresUserInput>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>2</Order>
<Description>Installing Apps with WPI</Description>
<CommandLine>cmd /c for %i in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do if exist %i:\wpi\wpi.exe start %i:\wpi\wpi.exe</CommandLine>
<RequiresUserInput>false</RequiresUserInput>
</SynchronousCommand>
</FirstLogonCommands>SetupComplete.cmd is executed before FirstLogonCommands !
*Edit: Maybe you can start a new topic about this questions, because it's out of this topic ?
-
More infos about SetupComplete.cmd:
http://technet.microsoft.com/en-us/library/cc766408(WS.10).aspx
http://technet.microsoft.com/en-us/library/cc766314(WS.10).aspx
-
Try to create your $OEM$ folders inside:
%SystemDrive%\Folder_Location_Name\sources\$OEM$\$$\Setup\scripts\SetupComplete.cmd
However it's not really a good idea to install programs like this and the registry keys for the current user can't be integrated!
It's better to use RunOnceEx method (works also for reg keys to current user):
or Windows 7 Toolkit and Addons,
or Windows Post-Install Wizard (WPI).
It's just my advice!
However it's possible to install programs with Autounattend.xml file using:
<FirstLogonCommands>
-
No, you can use Autounattend.xml file and SetupComplete.cmd.
Could you attach your SetupComplete.cmd, please, to see if there is some errors ?
-
Thanks and enjoy!
-
Infinitely value: <LogonCount>9999999</LogonCount> !
Maybe you can try also to give another value for password, because it's the same value for your user account !
Thanks to try it and let us know.
-
Try: <LogonCount>3</LogonCount> !
-
Many thanks N1K (NIM).
I uploaded the new file and updated my small tutorial with the new link inside this thread.
Regards
-
Many thanks N1K.
I submitted the "OFFICE_2007_2010_distribualbe.7z" file and this one have been uploaded successfully!
I could change the file name if it's needed, and if this file is accepted!
Regards
-
tried and it doesn't work.. i copied and pasted the text, renamed the txt to autounattend.xml, but when i try the image on a virtual machine, it gives me an error in line 4, column 200 or something... i try to open the file with xml editor but it doesn't open... with other unattended files you made no problems, just with mine..
Sorry it was my error, because when I copy/paste the Autounattend.xml files I haven't see the option to break the URL's inside the editor and when I post my files the lines with are writed twice and gives errors and the silent installation fails!
Example with error : http:// duplicated
<component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="[url="http://schemas.microsoft.com/WMIConfig/2002/State"]http://schemas.microsoft.com/WMIConfig/2002/State[/url]" xmlns:xsi="[url="http://www.w3.org/2001/XMLSchema-instance"]http://www.w3.org/2001/XMLSchema-instance[/url]">Correct example and URL's desactivated :
<component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> -
Thanks mate, and also many thanks to all the guys who appreciate this topic!
Regards
-
Thanks N1K, it's a good idea, because my PDF files are in french language!
That means only needed to download the rar file!
Regards
-
Or you can use our download manager here
Of course, yes where is it? Thanks in advance N1K!
-
Many thanks Kels, I will soon upload all the files and create a new folder name inside MediaFire!
-
Really, really strange..My folder "Office" has been removed a new time on MediaFire!
I give here a new link to MSN Skydrive to download the files needed:
https://skydrive.liv...72&sc=documents
Remember to uncheck: inside Internet Explorer =>
Tools | Options | Advanced: Do not save encrypted pages to disk
Or use this reg file:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"DisableCachingOfSSLPages"=dword:00000000
[HKEY_USERS\.Default\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"DisableCachingOfSSLPages"=dword:00000000Regards
-
SetProductKey.rar updated with Autounattend.xml examples files improved!
Same download link at the first post. Enjoy.
-
Yes, you can mate and I will do my best if I've time!
-
You can remove AIK for Vista!
Or install WAIK for Windows 7 (if you want)!
Dism.exe inside "C:\Windows\System32\Dism.exe"; will be used if you don't have installed WAIK.
Using in Java take care to close the current window folder and keep only the window GDism ELDI so the image will be properly unmounted!
If needed, you can remove the key using this reg file for images not correctly unmounted:
Clean-Images.reg
Windows Registry Editor Version 5.00
; Remove all images not correctly mounted and/or unmounted
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WIMMount\Mounted Images]First you need to create a temporary temp folder to mount/unmount the image and select each time the correct paths!
3 Images:
https://skydrive.liv...28&sc=documents
Have you mounted successfully first the wim image ?
-
Using Version NET 4.0 or Java ?
Of course, it's needed to select first the install.wim path and create a temp folder to mount/unmount the image!
Have you read the dism.log to see errors ?
-
Unfortunately NO!
-
Can I ask you please to send me also WinX DVD Copy Pro license!
Many thanks in advance N1K :giveheart:
-
Many thanks Kels to keep JAVA silent install updated...Works fine!
Regards
-
This link comes up not found.
Also, I need to know the version of windows installed, not the type of cpu installed. I'm running windows 7 64bit, %os% = Windows_NT. Doesn't help.
I think you can find more info at this link:
http://www.windows-commandline.com/2009/01/find-windows-os-version-from-command.html
http://www.windows-commandline.com/2010/11/system-information-systeminfo-command.html
However with my localized Windows 7 French version I must use French language inside the command prompt, like this example:
C:\>SYSTEMINFO | FINDSTR /C:"Version du système"
C:\>systeminfo | findstr /C:"Version du système"
Version du système: 6.1.7601 Service Pack 1 version 7601You also can use:
C:\>SYSTEMINFO /FO LIST >C:\SysInfo.txt
To read all informations inside the text file and select the one you need to use !
Internet Explorer 9 Issues
in Win Toolkit
Posted · Edited by myselfidem
Look at this problem here and after:
http://www.msfn.org/...post__p__956321
http://windows.micro...dwide-languages
Install first IE9 and langpack for IE9 and after all updates for Windows 7 you want!
*Edit: More help:
http://www.msfn.org/board/topic/150416-msu-version-of-internet-explorer-9/