На чтение 3 мин Опубликовано Обновлено
Defprof exe — это инструмент командной строки, предоставляемый Microsoft, который позволяет настроить профиль пользователя в операционной системе Windows 10. Этот инструмент позволяет копировать настройки и данные пользователя на другой компьютер или профиль, что может быть полезным, например, при установке обновлений или при создании образов компьютеров.
Использование Defprof exe довольно просто. Для начала, вам нужно скачать и сохранить исполняемый файл на вашем компьютере. Затем, при необходимости, вы можете создать резервную копию текущего профиля пользователя, чтобы восстановить его позже. После этого, вы можете запустить Defprof exe и ввести имя и путь к исходному профилю пользователя, а также имя и путь к целевому профилю.
Однако перед использованием Defprof exe важно учитывать некоторые моменты. Во-первых, компания Microsoft не предоставляет поддержку Defprof exe, поэтому использование этого инструмента может быть связано с определенными рисками. Во-вторых, Defprof exe может не правильно обрабатывать некоторые типы данных или настройки пользователя, поэтому всегда рекомендуется создавать резервные копии и тестировать изменения перед применением их на реальных системах.
Установка Defprof.exe
Для начала работы с Defprof.exe в Windows 10 необходимо выполнить процедуру установки. Вот как это сделать:
- Проверьте, что вы выполняете вход в систему с учетными данными администратора. Неадминистративные учетные записи не могут установить Defprof.exe.
- Скачайте архив Defprof.zip с официального сайта Defprof.
- Распакуйте содержимое архива в любую удобную папку на вашем компьютере. Например, в папку с установленными программами.
- Откройте командную строку от имени администратора. Для этого щелкните правой кнопкой мыши по иконке «Командная строка» и выберите пункт «Запуск от имени администратора».
- Перейдите в папку, в которую вы распаковали архив Defprof.zip, с помощью команды «cd [путь_к_папке]». Например, «cd C:\Program Files\Defprof».
- Теперь вы можете использовать Defprof.exe для создания профилей пользователей в Windows 10.
Поздравляем, теперь вы готовы использовать Defprof.exe в Windows 10! Обратите внимание, что для корректной работы программы необходимо выполнять процедуру установки и использовать учетную запись администратора.
Использование Defprof.exe
Для использования Defprof.exe в Windows 10, выполните следующие шаги:
| Шаг | Описание |
|---|---|
| 1 | Скачайте Defprof.exe с официального сайта Microsoft. |
| 2 | Сохраните файл Defprof.exe в удобном для вас месте. |
| 3 | Откройте командную строку от имени администратора. |
| 4 | Перейдите в каталог, в котором сохранен файл Defprof.exe. |
| 5 | Введите команду defprof.exe /activate, чтобы активировать утилиту. |
| 6 | Введите команду defprof.exe /basepath:<путь к базовому профилю>, чтобы указать путь к базовому профилю пользователя, на основе которого будут создаваться новые профили. |
| 7 | Введите команду defprof.exe /defaultuser, чтобы установить созданный профиль пользователя как профиль по умолчанию для новых пользователей. |
После выполнения этих шагов Defprof.exe применит настройки базового профиля пользователя ко всем новым профилям, которые будут созданы на компьютере.
Сегодня я рассмотрю крайне интересную тему, а конкретно перенос профиля локального пользователя, в профиль доменного пользователя.
Зачем это нужно?
В основном, это нужно в ситуации, когда в компании внедряется доменная сеть и необходимо компьютеры пользователей подключать к домену. Но, тут возникает следующая проблема, все сотрудники привыкли к своему рабочему пространству и не особо хотят, чтобы что-то менялось. А оно изменится, так как работать они уже будут под новыми доменными учетными записями.
Регистрируйся на следующий вебинар по системному администрированию!
>> Подробнее о вебинаре <<
И вроде, не такая уж большая проблема скопировать документы пользователя на другой рабочий стол и все. Но есть определенные настройки, которые не так просто перенести, допустим вкладки в браузере, сохраненные пароли, настройки специфического ПО, активация софта и т.д.)
В общем, ему придется заново все настраивать, а учитывая, что далеко не все пользователи дружат с компьютерами, то количество обращений по подобного рода вопросам увеличится в разы, пока в течении определенного времени все настройки не будут произведены.
Но, есть одно классное решение, которое позволяет в несколько кликов избавиться от данных проблем.
Называется оно User Profile Wizard от компании Forensit https://www.forensit.com . Очень греет душу, что она бесплатная, по крайней мере для наших нужд достаточно бесплатной версии.
Собственно, что она делает, а она переносит профиль локального пользователя в доменный. Но, если быть точным, то она не переносит, а связывает доменную учетку с нужным нам локальным профилем. В результате чего, пользователь так же работает в привычном для себя окружении, но уже в домене. Возможно по началу не особо понятно, но сейчас я все покажу на практике!
Кстати, помимо этой классной программки у разработчиков есть еще две интересных софтинки Transwiz, предназначенная для именно переноса профиля и DefProf позволяющая настроить профиль по умолчанию, который будет применяться к новым учетным записям.
В дальнейшем, так же планирую рассмотреть работу этих программ.
Скачиваем User Profile Wizard Release 21, я буду все это демонстрировать на Windows 10, поэтому скачиваем соответствующий дистрибутив и устанавливаем на компьютере клиента (Profwiz.msi \ install)
Чтобы убедиться, что у нас действительно сохранятся все настройки, давайте добавим какой-нибудь сайт в избранное браузера и посмотрим какие базы подключены к 1С.
Приступаем к подключению доменного пользователя к локальному профилю (Profwiz.exe \ Далее \ Выбираем учетную запись, профиль которой нас интересует \ user \ отключить или удалить старую учетную запись после выполнения операции \ Далее \ Вводим название нашего домена \ Присоединить к домену, опять же, тут речь идет о компьютере, которая еще не состоит в домене и через данную утилиту мы его подключим \ office.loc \ Логин доменной учетной записи, под которой будет работать сотрудник \ buhgalter \ Далее \ имя пользователя и пароль имеющий право присоединять компьютеры к домену \ Дожидаемся завершения процесса настройки \ Готово \ Перезагрузка.
Выполняем вход под доменной учетной записью и видим, что все настройки сохранились как в браузере так и 1С. Если мы зайдем в свойства какого-либо документа на рабочем столе, то увидим, что он находится в папке с профилем прошлого пользователя. Т.е. папка с данным профилем была подключена к доменному пользователю.
Так же мы видим, что на рабочем столе появилась папка Обмен, а значит мы действительно в домене и данный ярлык прописался через групповую политику. Зайдем в эту папку и посмотрим, что видит сервер, под какой учетной записью мы подключились к общедоступному ресурсу.
Зайдем в Управление компьютером и видим, что у нас открывается данная оснастка запускается, а значит у данного пользователя права администратора. Хотя, при подключении под доменным пользователем он лишен администраторских прав. Получается, что программа добавила нашу учетную запись в группу администраторы на данной машине. Если вам это не нужно, то удаляем его из группы администраторы.
Благодаря данной программе можно очень быстро перевести компанию в доменную сеть без каких-либо проблем!
What is DefProf exe?
DefProf 1.11 DefProf updates the default user window profile with court documents and settings from another user panel you specify. Is defprof a kind of portable MSI that we don’t often find out about. Like any portable application, frankly, DefProf delete.exe on completion.
How to use defprof in Windows 7 user profile?
You can use DefProf on Windows 7 where the “Copy to” button is not available in the “User Profiles” dialog box. Just copy DefProf to the executable path and sort “defprof”.
Is there a Windows 10 version of defprof?
How can I? DefProf 1.10, Prevent support for Windows 10, is now available.
Where do I find defprof in Windows 10?
When you log on as a Windows installation, it typically creates a profile folder C:\\Users\\setup. Set the default profile to “setup”, just type defprof setup on the command line. DefProf 1.10 adds support for Windows 10.
How does defprof work on Windows 7 and 10?
It works on Windows 7-10, administrators can set up a default profile and control the amount of work involved in setting up new accounts. While Information Technology uses the MSI installer, the program simply extracts the executable from the same folder, which is its utility that you use to create your own default profile.
How do you run DefProf?
DefProf updates the default Windows user profile with entries, documents, and settings from another user array that you specify. You can even use DefProf on Windows 7, where most of the “Copy to” buttons are greyed out in the User Profiles dialog. Just copy the path to the exe file into defprof and type “defprof”.
What is DefProf?
Note: Count (5 votes) DefProf updates the default Windows User Profile with Documents, not to mention any other user profile settings you specify. DefProf is a fully portable msi that we don’t see very often. It looks like DefProf is installed, but actually DefProf is installed on your desktop.
Where do I put defprof on my computer?
When your organization logs on as a setup, Windows creates a profile folder in C:\\Users\\setup. Make the default profile in “setup”, you just need to activate the defprof configuration in time by command.
Douglas is a technology journalist and editor who has been covering the beat for over a decade. He has a passion for translating complex technology into easy-to-understand language for average consumers, and his work has been featured in some of the most well-known tech publications on the web, and he is a regular contributor to iconremover.com.
Mandatory user profile. First, you create a default user profile with the customizations that you want, run Sysprep with CopyProfile set to True in the answer file, copy the customized default user profile to a network share, and then you rename the profile to make it mandatory.
What is a mandatory profile Windows 10?
A mandatory user profile is a special pre-configured type of roaming user profile than can be changed only by administrators. Users who have been assigned a mandatory profile can work in Windows as usual during the login session, but no changes are saved to the profile after user logoff.
How do you run DefProf?
DefProf updates the Default Windows User Profile with the documents and settings from another user profile that you specify. You can use DefProf on Windows 7 where the “Copy To” button is greyed out in the “User Profiles” dialog box. Just copy DefProf onto your executable path, and type “defprof”.
What does mandatory profile do?
A mandatory user profile is a special type of pre-configured roaming user profile that administrators can use to specify settings for users. With mandatory user profiles, a user can modify his or her desktop, but the changes are not saved when the user logs off.
What is the meaning of default profile?
The default profile is a template profile that is used when a user logs on to a Windows computer for the first time. The default profile can be customized by the image creator. Windows 7 and Windows Server 2008. Enable Desktop Background.
Does DefProf work on Windows 10?
To make ‘setup’ the default profile, you just type defprof setup at a command prompt. DefProf 1.10 adds support for Windows 10.
How to make a default user profile mandatory?
How to create a mandatory user profile. First, you create a default user profile with the customizations that you want, run Sysprep with CopyProfile set to True in the answer file, copy the customized default user profile to a network share, and then you rename the profile to make it mandatory.
When to sign in with a mandatory profile?
When the server that stores the mandatory profile is unavailable, such as when the user is not connected to the corporate network, users with mandatory profiles can sign in with the locally cached copy of the mandatory profile, if one exists.
Where do I find the mandatory profile in Active Directory?
Open Active Directory Users and Computers (dsa.msc). Navigate to the user account that you will assign the mandatory profile. Right-click the user name and open Properties. On the Profile tab, in the Profile path field, enter the path to the shared folder without the extension.
Can a system administrator change a mandatory profile?
Only system administrators can make changes to mandatory user profiles. When the server that stores the mandatory profile is unavailable, such as when the user is not connected to the corporate network, users with mandatory profiles can sign in with the locally cached copy of the mandatory profile, if one exists.
What is mandatory profile Windows?
What is Mandatory User Profile? A user profile in a network based on Microsoft Windows NT or Windows 2000 that is stored on a network share on a server and that the user cannot modify. Because a mandatory user profile is on a server, users can access their personal desktop settings from any machine on the network.
What is DefProf?
Rating: 5 (5 votes) DefProf updates the Default Windows User Profile with the documents and settings from another user profile that you specify. DefProf is a portable MSI, something we don’t see frequently. DefProf appears to install, but all that happens is DefProf is be placed on your Desktop.
Содержание:
- Дефрагментируем диск в Windows 10
- Способ 1: Defraggler
- Способ 2: Auslogics Disk Defrag
- Способ 3: MyDefrag
- Способ 4: Встроенные средства
- Вопросы и ответы: 1
Дефрагментация диска — довольно полезная процедура, ведь после ее выполнения HDD начинает работать быстрее. Проделывать её нужно примерно раз в месяц, хотя это зависит от того, насколько интенсивно используется диск. В Windows 10 есть встроенные средства для этих целей, а также имеется возможность автоматической дефрагментации по графику.
Читайте также:
4 способа сделать дефрагментацию диска на Windows 8
Как дефрагментировать диск на Windows 7
Дефрагментируем диск в Windows 10
Суть дефрагментации заключается в том, что все части файлов собираются в одно место жесткого диска, то есть, записываются последовательно. Таким образом ОС не будет тратить много времени на поиски нужного фрагмента. Данную процедуру можно сделать специальными программами или встроенными в систему средствами.
Подробнее: Все, что нужно знать о дефрагментации жесткого диска
Способ 1: Defraggler
Defraggler может оценить состояние жесткого диска, отобразить карту фрагментации и т.д.
- Для начала стоит проанализировать состояние HDD. Выберите нужный диск и кликните «Анализ». Если в «Корзине» есть какие-то файлы, то программа предложит вам их удалить. Если хотите, то можете их не удалять.
- Теперь вам будут показаны результаты.
- Далее кликните «Дефрагментация». Вы также можете применить быструю дефрагментацию, если вам это нужно.
Во время дефрагментации постарайтесь не использовать диск, на котором проводится данная процедура.
Способ 2: Auslogics Disk Defrag
Auslogics Disk Defrag — более продвинутая программа, чем Defraggler, но при ее установке будьте внимательны, чтобы не инсталлировать лишнее ПО. Выбирайте режим эксперта, чтобы знать, какие компоненты могут быть установлены.
ADD умеет не только дефрагментировать диски, но и оптимизировать SSD, позволяет просматривать подробную информацию о накопителе, может отображать все файлы в томе и многое другое.
Читайте также: Настройка SSD под Windows 10

- При первом запуске вам будет предложено проанализировать диск. Если хотите это сделать, то нажмите на «Analyze Now». В противном случае нажмите на крестик, чтобы закрыть окно.
- Если вы всё же согласитесь на анализ, то после проверки вам будет предложено дефрагментировать диск. Чтобы начать, кликните на «Defrag Now» или выйдите, если не хотите делать это прямо сейчас.

Или можно сделать так:
- Поставьте галочку напротив нужного раздела HDD.
- Выберите «Дефрагментация» или другую подходящую вам опцию.

Способ 3: MyDefrag
MyDefrag имеет простой интерфейс, может работать из-под командной строки и абсолютно проста в использовании.
- Запустите софт.
- Выберите «Только анализ» и отметьте нужный диск. Вообще, анализ вы можете провести по желанию.
- Теперь запустите всё кнопкой «Пуск».
- Начнётся процесс анализа.
- Далее нужно выбрать «Только дефрагментация» и нужный накопитель.
- Подтвердите намерения, нажав «Пуск».
Способ 4: Встроенные средства
- Откройте «Этот компьютер».
- Нажмите правой кнопкой мыши на диск и выберите «Свойства».
- Перейдите во вкладку «Сервис» и найдите кнопку «Оптимизировать».
- Выделите нужный HDD и кликните «Анализировать».
- Начнётся процесс проверки, дождитесь его окончания.
- Теперь нажмите «Оптимизировать».

Вот такими способами вы можете избавиться от фрагментации накопителя в Виндовс 10.
Поделиться статьей:
Помогла ли Вам статья?
Have a read here Opens a new window and there Opens a new window
the second link links to a microsoft how to page.
Was this post helpful?
thumb_up
thumb_down
We do not sysprep our computers. With defprof and windows_enabler we didn’t need to and don’t want to start now. Any other suggestions? Is there something that will work like defprof did for Windows 8??
Was this post helpful?
thumb_up
thumb_down
Maybe I’m missing something but there already is a default profile. Just copy what you want to it and you’re done. You will have to change your view to include «Hidden items» to see it or just browse to C:\Users\Default
0 of 1 found this helpful
thumb_up
thumb_down
Here is what we do: load a computer with the OS (in this case Windows 10), create a local user account that has admin privileges, install all the apps, run updates, do tweaking of the apps, then when done with the image I log in as the administrator and copy this local user profile over the default user profile. This is done so that whoever logs into the computer will get everything the way we set it as the local user. This is important in an educational setting. With Windows 7 we used windows_enabler to unhide the ability to copy the local profile over the default, with Windows 8 we used a utility called defprof to accomplish this task — neither of these work with Windows 10. I tried using defprof but when I login using a new account the screen is black with just the cursor arrow showing. We do not sysprep our images. This method has worked for years and I am sure someone will come up with another utility like defprof if it doesn’t already exist — I am hoping it is out there somewhere and someone will be able to tell me where. Thanks for the suggestions so far but still not an answer that will help.
Was this post helpful?
thumb_up
thumb_down
We do not sysprep our images. This method has worked for years…
Help me understand… why do you not sysprep? Is there a particular reason why building an image in audit mode, sysprepping, and deploying doesn’t work over building a local profile, and then using a third-party utility to copy a local profile to the default profile? It sounds like you would accomplish the same (if not more) by customizing in audit mode.
Was this post helpful?
thumb_up
thumb_down
I have found a solution to my query. One of my counterparts on a different campus provided a .bat file that does just what I want. Thanks for all your input!
Was this post helpful?
thumb_up
thumb_down
Hi Kathleen,
I would like to know more about your solution.
Here at our school, we have the same problem.
Was this post helpful?
thumb_up
thumb_down
I to would love to hear your answer, I work for a school district and am in the same boat as you Kathleen!
Was this post helpful?
thumb_up
thumb_down
I wish I could take credit for the creation of this file but not my brainwork on this one.
Below is the content of the .bat file we run and it works for Windows 8 and 10. Copy all the text into a file and name it what you like using a .bat extension. The only thing you need to do is enter the name of the profile you will use to copy over the default profile at the end of the line: set PROFILE=
@echo off
rem 00000000000000000000000000000000000000000000000000000000000000000000000000
rem SCRIPT NAME: Update Default User Profile.cmd
rem VERSION: 3.0
rem DISCRIPTION: Copies the chosen profile to the default user profile then
rem removes printers from defautl user’s registry in Windows 7.
rem Must right click script and run as administrator!
rem AUTHOR: Ben Stefan, John McFadden, Karolyn Hannam, Christine Schilling
rem DATE: 4/4/2013
rem 00000000000000000000000000000000000000000000000000000000000000000000000000
:selectprofile
cls
echo / / / / / / / / / / / / / / / / / / / / / / / / / / / /
echo Win8 Profile Copy Script
echo / / / / / / / / / / / / / / / / / / / / / / / / / / / /
echo Press 1 to continue
echo Press 2 to cancel
echo.
set PROFILE=
choice /c 12
if errorlevel 3 set PROFILE=localuser
if errorlevel 2 goto enderror
if not exist «C:\Users\%PROFILE%» echo ERROR — The Selected Profile Does Not Exist! && goto enderror
:confirmprofile
cls
echo / / / / / / / / / / / / / / / / / / / / / / / / / / / /
echo Win8 Profile Copy Script
echo / / / / / / / / / / / / / / / / / / / / / / / / / / / /
echo Copy C:\Users\%PROFILE%\ to C:\Users\Default\ ?
echo.
choice /c YN
if errorlevel 2 goto enderror
if errorlevel 1 goto backupdefaultprofile
:backupdefaultprofile
attrib -h «C:\Users\Default»
if exist «C:\Users\Default_Backup» rmdir /s /q «C:\Users\Default_Backup»
ping 127.0.0.1 -n 6 -w 1000 > nul
if exist «C:\Users\Default_Backup» rmdir /s /q «C:\Users\Default_Backup»
ping 127.0.0.1 -n 6 -w 1000 > nul
if exist «C:\Users\Default_Backup» echo ERROR — Removal of old Backup Folder Failed! && goto enderror
rename «C:\Users\Default» «Default_Backup»
if not exist «C:\Users\Default_Backup» echo ERROR — Backup Failed! && goto enderror
echo.
echo Existing Default Profile Successfully Backed Up
echo.
ping 127.0.0.1 -n 6 -w 1000 > nul
:copyinstallerprofile
md «C:\Users\Default»
xcopy «C:\Users\%PROFILE%\*.*» «C:\Users\Default» /e /c /h /k /y
if exist «C:\Users\Default\AppData\Local\Packages» rmdir /s /q «C:\Users\Default\AppData\Local\Packages»
if exist «C:\Users\Default\AppData\Local\microsoft\Windows\Temporary Internet Files» rmdir /s /q «C:\Users\Default\AppData\Local\microsoft\Windows\Temporary Internet Files»
if exist «C:\Users\Default\AppData\Local\Temp» Del /s /q «C:\Users\Default\AppData\Local\temp»\*.*
if exist «C:\Users\Default\AppData\Local\microsoft\Windows\UsrClass.dat» del /s /q /aa «C:\Users\Default\AppData\Local\microsoft\Windows\UsrClass.dat»
:end
echo.
echo Script Completed Successfully . . .
echo.
pause
goto endnow
:enderror
echo.
echo Script Terminated with Errors . . .
echo.
pause
goto endnow
:endnow
exit
1 found this helpful
thumb_up
thumb_down
Thanks for this. I had a similar issue needing to have the computers on the domain. It worked great. Except the group policy printers stopped working. I’m not sure if they’re related to the importing on the default profile. I also use Deep Freeze. And a windows update followed the new default profile. Both could have interfered with the printers. I’m not looking for a solution right now. The default profile was a bell and a whistle for our lab computers. So unless someone has a ‘this happened to me’ and I solved it, I just wanted to put out there a complication I noticed that could be universal or unique to my environment.
Was this post helpful?
thumb_up
thumb_down
Kathleen6671 wrote:
I wish I could take credit for the creation of this file but not my brainwork on this one.
Below is the content of the .bat file we run and it works for Windows 8 and 10. Copy all the text into a file and name it what you like using a .bat extension. The only thing you need to do is enter the name of the profile you will use to copy over the default profile at the end of the line: set PROFILE=
@echo off
rem 00000000000000000000000000000000000000000000000000000000000000000000000000
rem SCRIPT NAME: Update Default User Profile.cmd
rem VERSION: 3.0
rem DISCRIPTION: Copies the chosen profile to the default user profile then
rem removes printers from defautl user’s registry in Windows 7.
rem Must right click script and run as administrator!
rem AUTHOR: Ben Stefan, John McFadden, Karolyn Hannam, Christine Schilling
rem DATE: 4/4/2013
rem 00000000000000000000000000000000000000000000000000000000000000000000000000:selectprofile
cls
echo / / / / / / / / / / / / / / / / / / / / / / / / / / / /
echo Win8 Profile Copy Script
echo / / / / / / / / / / / / / / / / / / / / / / / / / / / /
echo Press 1 to continue
echo Press 2 to cancelecho.
set PROFILE=
choice /c 12
if errorlevel 3 set PROFILE=localuser
if errorlevel 2 goto enderrorif not exist «C:\Users\%PROFILE%» echo ERROR — The Selected Profile Does Not Exist! && goto enderror
:confirmprofile
cls
echo / / / / / / / / / / / / / / / / / / / / / / / / / / / /
echo Win8 Profile Copy Script
echo / / / / / / / / / / / / / / / / / / / / / / / / / / / /
echo Copy C:\Users\%PROFILE%\ to C:\Users\Default\ ?
echo.
choice /c YN
if errorlevel 2 goto enderror
if errorlevel 1 goto backupdefaultprofile:backupdefaultprofile
attrib -h «C:\Users\Default»
if exist «C:\Users\Default_Backup» rmdir /s /q «C:\Users\Default_Backup»
ping 127.0.0.1 -n 6 -w 1000 > nul
if exist «C:\Users\Default_Backup» rmdir /s /q «C:\Users\Default_Backup»
ping 127.0.0.1 -n 6 -w 1000 > nul
if exist «C:\Users\Default_Backup» echo ERROR — Removal of old Backup Folder Failed! && goto enderror
rename «C:\Users\Default» «Default_Backup»
if not exist «C:\Users\Default_Backup» echo ERROR — Backup Failed! && goto enderror
echo.
echo Existing Default Profile Successfully Backed Up
echo.
ping 127.0.0.1 -n 6 -w 1000 > nul:copyinstallerprofile
md «C:\Users\Default»
xcopy «C:\Users\%PROFILE%\*.*» «C:\Users\Default» /e /c /h /k /y
if exist «C:\Users\Default\AppData\Local\Packages» rmdir /s /q «C:\Users\Default\AppData\Local\Packages»
if exist «C:\Users\Default\AppData\Local\microsoft\Windows\Temporary Internet Files» rmdir /s /q «C:\Users\Default\AppData\Local\microsoft\Windows\Temporary Internet Files»
if exist «C:\Users\Default\AppData\Local\Temp» Del /s /q «C:\Users\Default\AppData\Local\temp»\*.*
if exist «C:\Users\Default\AppData\Local\microsoft\Windows\UsrClass.dat» del /s /q /aa «C:\Users\Default\AppData\Local\microsoft\Windows\UsrClass.dat»
:end
echo.
echo Script Completed Successfully . . .
echo.
pause
goto endnow:enderror
echo.
echo Script Terminated with Errors . . .
echo.
pause
goto endnow:endnow
exit
This script is awesome and works with Windows 10 Pro!!!!
Was this post helpful?
thumb_up
thumb_down
Script worked great! Just want to point out that you will most likely need to run this from a different user profile than the one you are using as a reference for your default. and 2. This will not edit NTUSER.DAT in any way so it will not truly be a default profile but it works well enough.
1 found this helpful
thumb_up
thumb_down
windows 10 anniversary update 1607:
-when trying to copy default profile (made by this .bat script) to local disk, windows just pop up warning:
Failed to set Security on the Destination Profile. Error — The system cannot find the file specified
Any ideas?
Was this post helpful?
thumb_up
thumb_down
pbowen
This person is a verified professional.
Verify your account
to enable IT peers to see that you are a professional.
sonora
Hello,
I wanted to ask for a little help on this script since I’m a newbie as far as Windows 10 and Scripts go. So I have Windows 10 Education 1703 installed on a laptop, I only setup the initial account and called it «user», so in order to make this script work, what would I need to change? Do I copy the entire script from beginning to end? Do I need to create an additional account and make it a standard user account so it doesn’t have any admin properties like the initial local account that is setup? Or does it not matter if the account is a standard user or a local administrator?
I really appreciate the help ahead of time.
Was this post helpful?
thumb_up
thumb_down
It works great with the newest version of win10 17..
I used account with admin right to copy over to default profile. Worked like a charm
thanks so much
Was this post helpful?
thumb_up
thumb_down
Well, for starters, it is quite common that you need to move a user to a new system but want that person’s «personality» to move to that new computer. Second, once a machine has been deployed, it is too late to use «Sysprep». This situation is very common, and is 1 that all «REAL» administrator’s have come across, especially after taking on a new administrative position, where 1 or more computers are already setup in a «common area» (i.e. used by more than 1 person, and usually many). In this scenario, «roaming» users want EVERY system they sit down at to look a certain way and to be tweaked for speed and functionality, and you need to get a handle on what their default desktops look and function like, so you:
1. Setup a new user on that or another machine
2. Customize the look and feel your users need
3. Copy that look and feel (via DefProf, User Profile Manager or User Profile Wizard, all by Forensit) of the desired profile to the default user or over a specific user profile
4. Delete all other existing profiles … to force the users to pick up the new look and feel the next time they log in
This can be used AFTER a desktop has already been deployed. and is extremely useful when a certain look and feel is desired, and to correct previously desktops that fail to meet your (or your users’) expectation … as well as when you don’t have to time or desire to setup or re-setup new, existing or FUTURE profiles for every user that might sit down there.
With «User Profile Manager», you can even define the look and feel of different «sets» of users, and assign them to standard Active Directory related «groups», setting them up with a «default» and/or «mandatory» look and feel. Incidentally, the mentioned programs are all freeware and are updated every so often to keep up with current standards. All of the mentioned programs have been updated recently to work with all versions of Windows, including Windows 10.
Was this post helpful?
thumb_up
thumb_down
















