Цитата: :new user
net user RenameMe /ADD /fullname:"This user should be named" /comment:"The first created USER Account" /expires:Never /passwordreq:no
cacls "%programfiles%" /T /C /E /G renameme:F
cacls "%windir%" /C /E /G renameme:F
очень интересно.
делай не юзера, а пувер юзера и не морочься с правами. хотя я против такого подхода сам.
я через cmdlines: reget /s settings.reg делаю:
Код: REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\NetCache]
"Enabled"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\DiskQuota]
"Enable"=dword:00000000
[HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoDriveTypeAutoRun"=dword:000000ff
"Intellimenus"=dword:00000001
"NoCloseDragDropBands"=dword:00000001
"NoActiveDesktop"=dword:00000001
[HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Policies\System]
"NoDispScrSavPage"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\system]
"VerboseStatus"=dword:00000001
[HKEY_USERS\.DEFAULT\Software\Policies\Microsoft\Internet Explorer\Control Panel]
"FormSuggest Passwords"=dword:00000001
[HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Explorer\StuckRects2]
"Settings"=hex:28,00,00,00,ff,ff,ff,ff,06,00,00,00,03,00,00,00,3e,00,00,00,1e,\
00,00,00,fe,ff,ff,ff,e4,02,00,00,02,04,00,00,02,03,00,00
[HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams\Desktop]
"Taskbar"=hex:0c,00,00,00,08,00,00,00,01,00,00,00,00,00,00,00,aa,4f,28,68,48,\
6a,d0,11,8c,78,00,c0,4f,d9,18,b4,37,02,00,00,e0,04,00,00,00,00,00,00,16,00,\
00,00,00,00,00,00,00,00,00,00,16,00,00,00,00,00,00,00,01,00,00,00
;no printers & tasks in network computers
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RemoteComputer\NameSpace\{2227A280-3AEA-1069-A2DE-08002B30309D}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RemoteComputer\NameSpace\{D6277990-4C6A-11CF-8D87-00AA0060F5BF}]
;no alexa
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Extensions\{c95fe080-8f5d-11d2-a20b-00aa003c157a}]
;acdsee
[HKEY_LOCAL_MACHINE\SOFTWARE\ACD Systems\ACDSee32]
"Name"=""
"Code"=""
;radmin
[HKEY_LOCAL_MACHINE\SOFTWARE\RAdmin\v1.01\ViewType]
"Data"=hex:00,00,00
;oodefrag
[HKEY_LOCAL_MACHINE\SOFTWARE\O&O\O&O Defrag\6.0\Pro\licenses]
"User"=""
"Company"=""
"SerialNo"=""
;copy to, move to, send to
[HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers\Copy To]
@="{C2FBB630-2971-11D1-A18C-00C04FD75D13}"
[HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers\Move To]
@="{C2FBB631-2971-11D1-A18C-00C04FD75D13}"
[HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers\Send To]
@=""