-
-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
first login scripts #121
Comments
Your second
|
Thanks, I just forget to put it in my request. It is there in script. firstlogon.log is empty. Firstlogon.ps1 looks like this: & { |
Well, I had checked my webserver logs (searched for »d:\computerregistration.cmd«), and the closing quote character was missing there as well. The FirstLogon.ps1 file you posted looks incomplete – there should be a call to a custom .ps1 file in there. This link will configure the form and add the missing quote character to your script. The resulting FirstLogon.ps1 file will look like this:
Note the call to |
Thanks. Sorry about taking too much of your time but "this link" does not change anything. I just don't know where to put unattend-01.ps1 on the form and on installation media (USB) and how command to call it should look like. In form it looks like below. I hope You have time to explain. |
The link I posted earlier will configure the form as you did initially, but adds the missing quote character. Check the corresponding textarea control to confirm this: When you then click the View .xml file or Download .xml file button, you will get an .xml file that
You do not have to create the |
Thanks. Sorry about taking too much of your time but "this link" does not change anything. I just don't know where to put unattend-01.ps1 and how command to call it should look like. |
You don't have to save or call unattend-01.ps yourself – this is handled by the autounattend.xml file automatically. |
either cmd or powershell script can copy file to first login users desktop. Can You help?
Copy-Item "d:\computerregistration.exe" -Destination "$env:USERPROFILE\Desktop"
copy-Item "d:\computerregistration.cmd" -Destination "$env:USERPROFILE\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
The text was updated successfully, but these errors were encountered: