I've looked for this answer online and have come across the "systemreset -factoryreset" command which works, but it comes up with the prompt asking if I want to keep my files or remove everything, I want to remove everything, but without the prompt.
We are not doing this from any pre-exiting images, and our laptops are running the pre-loaded Windows 10 Pro install, we are just using the in-built Windows 10 "reset this PC" feature as we have no MDM configured. We just want the laptops to be totally reset so they don't contain any company information, we're not bothered about completing the OOBE once they are wiped.
We are trying to accomplish this remotely as our users are all at home, so I need to automate it and have no user involvement in the process, I just want it to factory reset, and bring the laptop up to the off-the-shelf state configuration. We have the facility to push commands and scripts to the laptops so was hoping to do this via powershell.
The systemreset command will show interface to user and it is behavior by design , however if you are able to manage devices using Configuration Manager, you could do it using Full Wipe, take a look at:
-us/mem/configmgr/mdm/deploy-use/wipe-lock-reset-devices
From what I know there is no script to run it in silence mode and wipe system and it is behavior by design, so let say if there is possibility to do so, cybercriminals might run that script and user will lose Windows but it is available in Configuration Manager or Intune, it means PC is being managed by trusted administrator.
$methodname can bei either "doWipeMethod" or "doWipeProtectedMethod". The later one will also wipe all data from the disks, especially if you want to refurbish the devices. The downside is that "doWipeProtectedMethod" can leave some clients (depending on configuration and hardware) in an unbootable state.
Additionally "doWipeMethod" can be canceled by the user (power cycle for example), "doWipeProtectedMethod" cannot be canceled. It automatically resumes after a reboot until done. The higher risk ist worth it most of the time. If you want to be sure that the devices will be in a usable state after the wipe, use "doWipeMethod" instead.
If it is important to fully wipe the data from the disks (i.e. non-recoverable) you should make sure that all disks are bitlocker encrypted. Only with encryption you can be sure that no data is recoverable with this method.
Another way, which you can do remotely and without psexec (group policy for example), would be to create a scheduled task running as SYSTEM and executing the script. You can then execute the task on demand or with a time/date schedule.
The "OEM stuff" is found in C:\Recovery\*. If you remove all contents in this folder before you initiate the device reset, it should restore a clean windows installation without any "OEM stuff". Keep in mind though, that certain driver packages will be migrated to the new installation. Sometimes these can contain additional software packages included in the device driver package (for example audio control panels from the audio driver).
@dretzer I realized the computer I was running it on didn't have a recovery partition so even running the "systemreset -cleanpc" command wasn't working.
Kaseya allows you to run scripts as System - so even though I was running locally in picture - I was trying as System most of the time.
Thanks for the help either way.
yes. thanks. I get less HP stuff restored after a reset if I delete C:\Recevery before, but still some bits I do not want. where is it getting these last bits from that performing a fresh start from intune seems to ignore? I want omit these too
Might have to look into manual cloud reinstall at shift-f10 on first boot on each machine or a bootable USB with an unattended xml to just blow the hard drive away and start again without user interaction.
Interface is minimal with a list of conversion types in left-hand column preview of selected format in right-hand column. Preview of selected size can be quickly changed from one format to another by simply clicking on desired conversion type. In lower-left corner of screen there is a text box that allows you to choose data that will be converted to a new format. Format Factory free to download full version has a very easy-to-use interface, with a menu on left side of screen and a preview window on right. Selecting a multimedia file from left menu brings it up for preview in preview window. This preview window allows user to preview video, as well as change some of settings of it. Software download Format Factory for PC has a box on bottom of screen with some simple instructions for how to use program. Interface of soft is simple and intuitive. It consists of a list of sizes which user can convert and a preview window. Available formats can be changed by clicking "Format" button in lower left corner. To convert files, simply click Select files button and select files. Files will be converted according to settings in Output settings window. You can choose to extract audio file from video file. To remove audio from video file, click Select video button and select video.
Application Format Factory app download is very easy to use. Only thing user needs to do is select multimdedia file from left menu, preview it, then click convert. This opens up conversion window, where user can change settings of video or audio file. There are three other menu options at top of screen, including one for user to preview video.
Product Format Factory Mac allows user to extract audio from video files, convert multimedia files from one size to another, export only audio from video, more. Software free Format Factory allows user to adjust settings of video, such as bit rate, frame rate, more. Application is a one-screen application with a simple interface. It has a menu with following functions: "Add Files", "Settings", "Profile", "Remove Format", "Remove Folder", "Remove File", "Preview", "Exit". Find more info on the format-factory.zendesk.com website.
Software Format Factory 64 bit is a free, open-source application that has a user-friendly interface and is easy to use. It is a one-stop-shop for all your media conversion needs. Application is free to download and use. Product has online documentation available.
Overall, install Format Factory is a powerful and convenient multimedia conversion tool with a simple and intuitive interface. It has a wide range of features, wide-range of support available. It was created with intention to help people who want to easily and quickly convert one image or multimedia format to another. This application allows to resize images, extract audio from multimedia and create animated GIFs from video clips.
One day I decided to plug it into a cheap camera. The camera said something to the tune of "memory card error" and it reformatted my card to only have 32GB space. (lost everything immediately! I would not recommend using that camera...)
Anyways, I've taken the card out of the camera and want to put it back into my phone, but it is now formatted to have 1 32GB partition and I cannot see any other partitions using the windows 7 disk manager.
The SD Card Association actually does not recommend using just any formatting utility, including the one provided by the OS. Instead they have developed their own software called SD Formatter, which they recommend for the following reason:
The SD Formatter was created specifically for memory cards using the SD/SDHC/SDXC standards. It is strongly recommended to use the SD Formatter instead of formatting utilities provided with operating systems that format various types of storage media. Using generic formatting utilities may result in less than optimal performance for your memory cards.
The SD/SDHC/SDXC memory cards have a "Protected Area" on the card for the SD standard's security function. The SD Formatter does not format the "Protected Area". Please use appropriate application software or SD-compatible device that provides SD security function to format the "Protected Area" in the memory card.
I don't know how my card got in such a rut, but putting it into the win7 / win8 computer with various combinations of MicroSD card reader, SD card reader + adaptor, or through my GoPro did not cause the card to appear at all (whereas it was a few days ago). Therefore both of the above answers were not an option (the card did not show up in windows, nor with the SD Formatter utility).
I put it back into my phone to give that another try, and it formatted straight into 59GB of space!I did actually try this a few days ago, but my phone was android version 4.0.4 back then, whereas is it 4.1.0 now, That might have something to do with it.
Sounds like the camera resized the SD card's partition. Windows has a built-in partition editor that you can use to fix this. With the card plugged into your computer, click Start, type partition, and choose "Create and Format Hard Disk Partitions." You should see a list of all the different volumes on your computer. One of them should be the 32GB SD card partition. Right click it, and choose "Extend Volume." There will be an item called "Maximum available space in MB." Type that value into "Select the amount of space in MB." Then follow the wizard to its completion.
You may want to factory reset your computer if you are experiencing performance issues, viruses or malware, or if you want to set it up for a new user. Acer computers allow you to restore the system to factory settings without recovery disks or media. You can use the instructions for your specific operating system below to factory reset your Acer computer.
Note: Before attempting a factory reset, you will want to make sure that all data and important information on your computer is backed up to a location that will not be erased during the factory reset.
you can also format the iXpand to erase all the content using a computer. if you have a mac you will need to format in exFAT or MS-DOS (FAT) file systems and you will need to make sure to use MBR(Master Boot Record) for the partition type. If you have a windows computer you can format with the default settings.
d3342ee215