jueves, 18 de febrero de 2021

Crear imagen con SYSPREP - Actualización

 

Alguna veces despues de ejecutar el comando  - Sysprep /generalize /shutdown /oobe -  puede aparecer este error.



Para solucionarlo hay que hacer lo siguiente:

Import-Module appx

Import-Module dism

Get-AppxPackage -AllUsers | Remove-AppxPackage


Mirar si ya tienes algún usuario ya existe. Y eliminarlo.

Culex.


Sysprep (image creation) - Update

Sometimes  I have found this error when you run this command (Sysprep /generalize /shutdown /oobe)

In this situation you have to do the next:

Import-Module appx
Import-Module dism

Get-AppxPackage -AllUsers | Remove-AppxPackage


Then, you check if a previous user has been created and you delete it

Culex.



PED II - Aprendizaje Automatico - UNED - SVR

 Hola,

Adjunto la segunda PED, tuvo un 10 :)

enlace

Culex.


domingo, 13 de diciembre de 2020

PED I - Apredizaje automático - UNED - Knn

 

Adjunto la primera PED de este año. Aún no está evaluada. Al final tiene un 10 :).

PED 1 AA 2020

Culex.

domingo, 4 de octubre de 2020

PED - Fundamentos de Robótica - UNED

Adjunto las PED de esta asignatura de Septiembre 2020.

En las tres primeras he tenido un 10 y en la cuarta un 8,5

PED Septiembre

Adjunto también el código Scilab/Scicos de los robots Scara y Stanford

Enjoy!

Culex

domingo, 27 de septiembre de 2020

Apuntes UNED - Fundamentos de Robótica

 Adjunto mis apuntes de la asignatura.

Apuntes

Los exámenes este año ha sido un poco raro por la COVID 19 pero pienso que la asignatura cumple su cometido,  introducción  a las técnicas para identificar la posición y orientación del extremo del robot.

Enjoy!

Culex.

viernes, 4 de septiembre de 2020

sábado, 22 de agosto de 2020

domingo, 2 de agosto de 2020

Sysprep (image creation)

 Here you are a guide for making windows images using sysprep. This can be useful if we have to set up several computers that share the same/similar configuration.


  • Install a virtual machine (drive type VHD) with the OS. We have to use a VM for getting an image clean of drivers. If we don’t have the last windows ISO we can download from here link.

  • Start Audit mode,  %windir%\system32\sysprep\sysprep.exe /audit /reboot (once the system restart we click cancel on next window.



  • Enable adminstrator account, configure the computer and install all software you need.

  • We can uninstall the  BLOATWARE in order to get a cleaner image(optional).

For getting the bloatware list we run next powershell command.

DISM /Online /Get-ProvisionedAppxPackages | select-string Packagename >> c:\Bloatware.txt



Once we have the list we need to made up two Powershell scripts, once for removing the provision of the apps and another one for uninstalling them. 


 The first one should have next structure:


 DISM /Online /Remove-ProvisionedAppxPackage /PackageName: (Package name)

 

And the second one this structure: 

Get-AppxPackage “(Package name)” | Remove-AppxPackage

 

Note: If posible we have to actívate script execution on Powershell using next command 


Set-ExecutionPolicy Unrestricted.


 Once the scripts have been run we have to roll back the script execution policy using next command. 


Set-ExecutionPolicy  Default


  • Once the computer is configured we have to getting it ready for creating the image. Copy the  “unatend.xml” file we want to use on following path: C:\Windows\Panther\   and reboot the computer using this command; Sysprep /generalize /shutdown /oobe.

This command runs  Sysprep and leave the computer ready for creating the image.




  • Now we have to mount the virtual drive using drive manager choosing Read-Only mode.



We pay attention to the  drive letter assigned and run following command.


 dism /capture-image /imagefile:c:\Install.wim /capturedir:( assigned letter):\ /name:"Windows 10 Pro" /Description:"Windows 10 Pro" /compress:maximum /checkintegrity /verify /bootable

 

Once the proccess has finished we split the “Install.wim” on order to be able of using FAT32 formar.


 Dism /Split-Image /ImageFile:Install.wim /SWMFile:install.swm /FileSize:3800

Now we mount the ISO we have used for installing the VM and copy everything on a folder (e.g. \myWindosImage) . This folder Will be use for creating the final installation media.


We replaced the original  “Install.wim” o “install.esd”, on folder “\myWindosImage \sources” for the files “Install.swm, Install2.swm…” we created previously and finally we copy everything on a USB stick with system file FAT32


Here you are the files I’ve used for this example.


Enjoy.


 Culex.

domingo, 12 de julio de 2020

A piece of humour


NO COMMENTS :)

Culex.