Skip to content
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

Sysprepped boxstarter installation #92

Closed
timlie opened this issue May 29, 2015 · 1 comment
Closed

Sysprepped boxstarter installation #92

timlie opened this issue May 29, 2015 · 1 comment

Comments

@timlie
Copy link

timlie commented May 29, 2015

Here at our school we are trying to use Boxstarter.
I installed Boxstarter as admin in our default Win7 installation.
After the installation we sysprep this Win7 to use it for cloning purpose.
When deploying the image to computers, Boxstarter does not work anymore.

This is the error we get:

C:\Users\Administrator>boxstartershell

C:\Users\Administrator>powershell.exe -ExecutionPolicy bypass -NoE
xit -Command "&'C:\Users\Administrator\AppData\Roaming\Boxstarter\BoxstarterShel
l.ps1'"
The term 'C:\Users\Administrator\AppData\Roaming\Boxstarter\BoxstarterShell.ps1
' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify tha
t the path is correct and try again.
At line:1 char:2

  • & <<<< 'C:\Users\Administrator\AppData\Roaming\Boxstarter\BoxstarterShell.ps1
    '
    • CategoryInfo : ObjectNotFound: (C:\Users\Admini...tarterShell.p
      s1:String) [], CommandNotFoundException
    • FullyQualifiedErrorId : CommandNotFoundException

Thanks!

@mwrock
Copy link
Member

mwrock commented Jun 7, 2015

When you sysprep the machine it deletes user specific accounts and directories. Since that's where the boxstarter bits are they get removed.

I'd consider adding the boxstarter install to your answer file so that it gets installed as part of windows os setup.

There is also an issue to not keep the boxstarter bits in user directories but instead install to programdata which will retain it through sysprep.

@mwrock mwrock closed this as completed Jun 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants