Yazı kategorisi: Server 2008 R2, Windows 7

Windows 7 – Server 2008 R2 Default Kullanıcı Profili Oluşturma

Windows 7 ve Server 2008 R2 işletim sisteminde profile kopyalanabilmek için Sysprep katılımsız cevap dosyası oluşturmamız gerekmektedir. Sysprep komut aracını kullanmadan önce yapmamız gerekenler

1. Local Admin kullanıcı hesabı ile oturum açmalıyız.

2. Bilgisayar üzerindeki diğer bütün kullanıcı hesaplarını silmeliyiz. Çünkü profil seçme gibi şansımız olmadığından dolayı, Windows yanlış kullanıcının profilini kopyalayabilir.

3. İkinci adımda sildiğimiz kullanıcı profillerinin Kayıt defterindeki “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList” anahtarı altında bulunan değerlerinide siliyoruz. Aksi halde resimdeki hatayı alma olasılığımız kaçınılmazdır.

Sysprep Hata

4. Varsayılan kullanıcı profilinde olması gereken ayarları yapmalıyız. Fakat Windows 7 ve Server 2008 R2 ‘de Başlat çubuğu ve Başlat menüsü ayarları default kullanıcı profilinden özelleştirilemezler. Bu ayarları da Sysprep cevap dosyası ile özelleştirebiliriz.

5. Katılımsız kurulum komut dosyamızı oluşturmalıyız. Aşaığıdaki örnek cevap dosyasını kullanabilirsiniz. Cevap dosyasında ayrıca Başlat çubuğu ve menüsü, Yerel kullanıcı ayarları bulunmaktadır. Sysprep işlemi bittiğinde bilgasayar da, kullanıcı adı admin ve şifresi Password1234 olan kullanıcı yaratılmaktadır.

<?xml version=”1.0″ encoding=”utf-8″?>
<unattend xmlns=”urn:schemas-microsoft-com:unattend”>
<settings pass=”specialize”>
<component name=”Microsoft-Windows-Shell-Setup” processorArchitecture=”x86″ publicKeyToken=”31bf3856ad364e35″ language=”neutral” versionScope=”nonSxS” xmlns:wcm=”http://schemas.microsoft.com/WMIConfig/2002/State&#8221; xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance”&gt;
<ComputerName>MyComputer</ComputerName>
<CopyProfile>true</CopyProfile>
<ProductKey>FJ82H-XT6CR-J8D7P-XQJJ2-GPDD4</ProductKey>
<RegisteredOrganization>Organization</RegisteredOrganization>
<RegisteredOwner>Owner</RegisteredOwner>
<StartPanelLinks>
<Link0>%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\accessories\system tools\disk cleanup.lnk</Link0>
<Link1>%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\accessories\system tools\resource monitor.lnk</Link1>
<Link2>%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\accessories\system tools\system restore.lnk</Link2>
<Link3>%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\accessories\system tools\task scheduler.lnk</Link3>
<Link4>%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\accessories\system tools\windows easy transfer.lnk</Link4>
</StartPanelLinks>
<TaskbarLinks>
<Link0>%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\accessories\sound recorder.lnk</Link0>
<Link1>%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\accessories\sync center.lnk</Link1>
<Link2>%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\accessories\wordpad.lnk</Link2>
</TaskbarLinks>
<StartPanelOff>true</StartPanelOff>
</component>
</settings>
<settings pass=”oobeSystem”>
<component name=”Microsoft-Windows-Shell-Setup” processorArchitecture=”x86″ publicKeyToken=”31bf3856ad364e35″ language=”neutral” versionScope=”nonSxS” xmlns:wcm=”http://schemas.microsoft.com/WMIConfig/2002/State&#8221; xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance”&gt;
<OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Work</NetworkLocation>
<ProtectYourPC>3</ProtectYourPC>
<SkipMachineOOBE>true</SkipMachineOOBE>
<SkipUserOOBE>true</SkipUserOOBE>
</OOBE>
<UserAccounts>
<LocalAccounts>
<LocalAccount wcm:action=”add”>
<Password>
<Value>Password1234</Value>
<PlainText>TRUE</PlainText>
</Password>
<Description>Test account</Description>
<DisplayName>admin</DisplayName>
<Group>Administrators;Power Users</Group>
<Name>admin</Name>
</LocalAccount>
</LocalAccounts>
</UserAccounts>

<TimeZone>GTB Standard Time</TimeZone>
</component>
</settings>
</unattend>

Not: 64 bit işletim sistemleri için “x86” olan yerleri “amd64” olarak değiştiriyoruz.

6. komut istemine aşağıdaki komutu yazıyoruz ve ENTER tuşuna basıyoruz: “%systemroot%\system32\sysprep\sysprep.exe /oobe /reboot /generalize /unattend:c:\answerfile\unattend.xml”

İşlem sonrasında açılan her kullanıcı default kullanıcı profili ile açılacaktır. Faydalı olması dileğimle.

Yazar:

#IT Manager #Bilişimsever #vExpert #Baba

Yorum bırakın