Windows 10: 로컬 필수(변경할 수 없음) 사용자 프로필 만들기

Windows 10: 로컬 필수(변경할 수 없음) 사용자 프로필 만들기

우리는 프로젝터에 연결된 Windows 10 x64 Pro를 실행하는 독립 실행형(도메인에 속하지 않음) 데스크톱 컴퓨터를 보유하고 있습니다.

이 컴퓨터는 Autocad, Archicad, Office 2013, Visual Studio 등과 같은 프로그램을 사용하여 다양한 교사가 교육 목적으로 사용합니다.

교사가 막대, 팔레트, 색상 변경 및 기타 항목을 이동하여 환경을 사용자 정의하는 경우가 종종 발생하며 이로 인해 환경의 일반 구성을 수동으로 복원해야 하는 다른 교사가 짜증을 냅니다.

따라서 우리는 사람들이 환경에 대해 수행하는 모든 변경 사항, 데스크톱 또는 문서 폴더 등에 복사된 모든 파일, 다음 로그온 시 모든 사용자 정의가 손실되도록 로컬 필수 사용자 프로필을 만들고 싶습니다. 웹에서 찾은 모든 정보는 작동하지 않거나 도메인 환경에서만 작동합니다. 따라서 질문은 다음과 같습니다.

타사 프로그램을 사용하지 않고 운영 체제에서 제공하는 기능만 사용하여 Windows 10 Pro를 실행하는 독립 실행형 컴퓨터에 대한 로컬 필수(즉, 변경 불가능) 프로필을 생성할 수 있습니까?

우리는 계정을 임시 계정으로 사용하는 것이 우리의 필요에 적합하다는 것을 알았지만 로그오프 시 모든 데이터가 손실된다는 경고를 제거할 수는 없습니다. 이러한 경고를 제거할 가능성이 있는 경우 이 접근 방식이 유용할 수 있습니다. 그리고 공지. 감사해요.

답변1

나도 당신과 비슷한 상황에 처해 있었습니다. 현재 해결책은 다음과 같습니다. robocopy를 사용하여 종료할 때마다 프로필을 덮어씁니다.

  1. 사용하려는 모든 기본 설정으로 계정을 만듭니다.
  2. robocopy로 해당 프로필 폴더의 복사본을 만듭니다. 예: robocopy c:\users\xxx c:\users\xxx_bak /mir /xj
  3. 박쥐를 만듭니다. "에코 d | robocopy c:\users\xxx_bak c:\users\xxx /mir /xj"
  4. 박쥐를 실행하도록 종료 스크립트 설정

내 10년 된 PC(Core2Duo + 새 SSD)의 경우 약 300MB의 프로필을 종료하는 데 10~20초 정도 걸립니다.

갑자기 전원이 꺼지거나 로그아웃되면 복원할 수 없습니다(다음 종료까지). 시작 스크립트에서 robocopy를 사용하는 것에 대해 생각했지만 Windows가 로그인 전에 박쥐가 완료되기를 기다릴지 확실하지 않습니다. 시도해 볼 수도 있습니다.

답변2

예, 쉽게 할 수 있습니다:

로컬 관리자 계정으로 로그인합니다(없는 경우 활성화하고 > ThisPc를 마우스 오른쪽 버튼으로 클릭 > 관리 > 로컬 사용자 및 그룹 > 사용자로 이동하여 로컬 사용자 그룹의 비밀번호를 설정합니다).

C:\Users\YourUsername 으로 이동합니다. 그런 다음 폴더 옵션에서 숨겨진 파일과 폴더를 표시하고 파일 이름 NTUSER.dat를 찾아 확장자를 .man > NTUSER.man으로 변경합니다.

확장 파일 이름을 변경하기 전에 설정을 편집했는지 확인하세요.

답변3

저는 이 방법으로 성공했습니다. 기본 프로필을 만든 후:

    1. Go to control panel 》 system 》 advanced system properties 》 user
profiles settings 》
    2. Select Default Profile and press copy to, desktop address name it Mandatory.v6
    3. Below permitted to use, Press change and type "authenticated users" 
       ,press check names. Also DO NOT tick mandatory profile
    4. Right click on Mandatory folder we just created, Security > Edit > 
       Add > change location to your PC's name > type ALL
       APPLICATION PACKAGES and check names, give it full control
    5. On Security tab press advance, tick "replace all object permission 
       entries with inheritable permission entries from this object"
    6. Open regedit with administrator privilege, highlight HKEY_USERS, file > load hive > select ntuser.dat on mandatory.v6
folder we created earlier, name it mandatory
    7. Right click on that folder > permission > add user > Authenticated Users, check name and give it full control
    8. Right click on that folder > permission > add user > type ALL APPLICATION PACKAGES > check name and give it full control
    9. Still on regedit Create new key #Mandatory, and new text file mandatoryv6 on mandatory.v6 folder earlier
    10. Delete all occurences of Administrator using right click > find, keep pressing del and f3 (next result) careful only delete
occurences under mandatory folder.
    11. Right Mandatory folder and export keys, name it mandatory.v6
    12. Highlight mandatory folder, file > unload hive
    13. Rename ntuser.dat into ntuser.man in mandatory.v6 folder
    14. Open regedit with administrator privilege, highlight HKEY_USERS, file > load hive > select ntuser.man on mandatory.v6
folder we created earlier, name it mandatory
    15. Run mandatory.reg that we exported in step#22
    16. Unload mandatory hive!
    17. Repeat from step #1 according to how many profile you plan to make
    18. Win+ Run > lusrmgr.msc, then on profile tab give each user the address of mandatory profile folder (without v6!)
    19. Your Mandatory profile is now ready, test it by adding something on the desktop, logoff and logon, the changes should not
persist anymore

필수 프로필 수정 중:

    1.  Login as admin
    2. Rename ntuser.man in mandatory folder with ntuser.dat
    3. login as any of the mandatory profile
    4. Make changes, enter admin pass when required
    5. Logout mandatory profile, login admin, rename ntuser.dat to ntuser.man again

하지만 몇 번 재부팅한 후에 가끔 로그인에 실패하는 것을 발견했습니다. 하지만 최신 Windows 버전에서는 테스트하지 않았습니다..

답변4

먼저 백업하고 이것을 시도하십시오.

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced

거기에 이 4개의 DWORD를 생성하고 모두 값을 0으로 설정합니다.

ShowInfoTip
FolderContentsInfoTip
StartButtonBalloonTip
EnableBalloonTips

관련 정보