Home
Syndication
Sign In
UMnieDziala.pl
·
Ustawianie Active Desktop
Często się zdarza że użytkownikom sie rozjerzdża pulpit Active Desktop. Aby temu zapobiec, ustawiamy na jednym użytkowniku pulpit tak jak ma wygłądać, a następnie robimy zrzut pliku z rejestru z gałęzi
HKCU\Software\Microsoft\Internet Explorer\Desktop\Components
. Zrzut wygląda np. tak:
[HKEY_USERS\S-1-5-21-1220945662-362288127-1606980848-10081\Software\Microsoft\Internet Explorer\Desktop\Components]
"DeskHtmlVersion"=dword:00000110
"DeskHtmlMinorVersion"=dword:00000003
"Settings"=dword:00000001
"GeneralFlags"=dword:00000004
[HKEY_USERS\S-1-5-21-1220945662-362288127-1606980848-10081\Software\Microsoft\Internet Explorer\Desktop\Components\0]
"Source"="http://activebss/"
"SubscribedURL"="http://activebss/"
"FriendlyName"=""
"Flags"=dword:00002002
"Position"=hex:2c,00,00,00,4b,00,00,00,00,00,00,00,35,04,00,00,44,03,00,00,00,\
00,00,00,01,00,00,00,01,00,00,00,01,00,00,00,00,00,00,00,00,00,00,00
"CurrentState"=dword:00000004
"OriginalStateInfo"=hex:18,00,00,00,ff,ff,00,00,ff,ff,00,00,ff,ff,ff,ff,ff,ff,\
ff,ff,04,00,00,80
"RestoredStateInfo"=hex:18,00,00,00,50,02,00,00,35,01,00,00,00,01,00,00,f6,00,\
00,00,01,00,00,00
[HKEY_USERS\S-1-5-21-1220945662-362288127-1606980848-10081\Software\Microsoft\Internet Explorer\Desktop\Components\1]
"Source"="About:Home"
"SubscribedURL"="About:Home"
"FriendlyName"="My Current Home Page"
"Flags"=dword:00000002
"Position"=hex:2c,00,00,00,10,03,00,00,15,01,00,00,e0,00,00,00,d6,00,00,00,ea,\
03,00,00,01,00,00,00,01,00,00,00,01,00,00,00,00,00,00,00,00,00,00,00
"CurrentState"=dword:00000001
"OriginalStateInfo"=hex:18,00,00,00,ff,ff,00,00,ff,ff,00,00,ff,ff,ff,ff,ff,ff,\
ff,ff,04,00,00,00
"RestoredStateInfo"=hex:18,00,00,00,ff,ff,00,00,ff,ff,00,00,ff,ff,ff,ff,ff,ff,\
ff,ff,01,00,00,00
[HKEY_USERS\S-1-5-21-1220945662-362288127-1606980848-10081\Software\Microsoft\Internet Explorer\Desktop\Components\2]
"Source"="http://n:8080/ActiveBss/index.html"
"SubscribedURL"="http://n:8080/ActiveBss/index.html"
"FriendlyName"="BssActive"
"Flags"=dword:00000002
"Position"=hex:2c,00,00,00,10,02,00,00,1f,00,00,00,e0,00,00,00,d6,00,00,00,ec,\
03,00,00,01,00,00,00,01,00,00,00,01,00,00,00,00,00,00,00,00,00,00,00
"CurrentState"=dword:00000001
"OriginalStateInfo"=hex:18,00,00,00,ff,ff,00,00,ff,ff,00,00,ff,ff,ff,ff,ff,ff,\
ff,ff,04,00,00,80
"RestoredStateInfo"=hex:18,00,00,00,10,02,00,00,1f,00,00,00,e0,00,00,00,d6,00,\
00,00,01,00,00,00
Teraz tworzxymy szybki skrypcik batchowy który doda nam te wpisy do default usera i użytkownika mandatoryjnego:
reg load HKU\TempUser "\\%1\c$\Documents and Settings\Default User\ntuser.dat"
reg delete "HKU\Tempuser\Software\Microsoft\Internet Explorer\Desktop\Components" /f
reg add "HKU\Tempuser\Software\Microsoft\Internet Explorer\Desktop\Components" /v DeskHtmlVersion /t REG_DWORD /d 272 /f
reg add "HKU\Tempuser\Software\Microsoft\Internet Explorer\Desktop\Components" /v DeskHtmlMinorVersion /t REG_DWORD /d 3 /f
reg add "HKU\Tempuser\Software\Microsoft\Internet Explorer\Desktop\Components" /v Settings /t REG_DWORD /d 1 /f
reg add "HKU\Tempuser\Software\Microsoft\Internet Explorer\Desktop\Components" /v GeneralFlags /t REG_DWORD /d 4 /f
reg add "HKU\Tempuser\Software\Microsoft\Internet Explorer\Desktop\Components\0" /v Source /t REG_SZ /d http://activebss/ /f
reg add "HKU\Tempuser\Software\Microsoft\Internet Explorer\Desktop\Components\0" /v SubscribedURL /t REG_SZ /d http://activebss/ /f
reg add "HKU\Tempuser\Software\Microsoft\Internet Explorer\Desktop\Components\0" /v FriendlyName /t REG_SZ /d "" /f
reg add "HKU\Tempuser\Software\Microsoft\Internet Explorer\Desktop\Components\0" /v Flags /t REG_DWORD /d 8194 /f
reg add "HKU\Tempuser\Software\Microsoft\Internet Explorer\Desktop\Components\0" /v Position /t REG_BINARY /d 2c0000004b000000000000003504000044030000000000000100000001000000010000000000000000000000 /f
reg add "HKU\Tempuser\Software\Microsoft\Internet Explorer\Desktop\Components\0" /v CurrentState /t REG_DWORD /d 4 /f
reg add "HKU\Tempuser\Software\Microsoft\Internet Explorer\Desktop\Components\0" /v OriginalStateInfo /t REG_BINARY /d 18000000ffff0000ffff0000ffffffffffffffff04000080 /f
reg add "HKU\Tempuser\Software\Microsoft\Internet Explorer\Desktop\Components\0" /v RestoredStateInfo /t REG_BINARY /d 18000000500200003501000000010000f600000001000000 /f
reg add "HKU\Tempuser\Software\Microsoft\Internet Explorer\Desktop\Components\1" /v Source /t REG_SZ /d About:Home /f
reg add "HKU\Tempuser\Software\Microsoft\Internet Explorer\Desktop\Components\1" /v SubscribedURL /t REG_SZ /d About:Home /f
reg add "HKU\Tempuser\Software\Microsoft\Internet Explorer\Desktop\Components\1" /v FriendlyName /t REG_SZ /d My Current Home Page /f
reg add "HKU\Tempuser\Software\Microsoft\Internet Explorer\Desktop\Components\1" /v Flags /t REG_DWORD /d 2 /f
reg add "HKU\Tempuser\Software\Microsoft\Internet Explorer\Desktop\Components\1" /v Position /t REG_BINARY /d 2c0000001003000015010000e0000000d6000000ea0300000100000001000000010000000000000000000000 /f
reg add "HKU\Tempuser\Software\Microsoft\Internet Explorer\Desktop\Components\1" /v CurrentState /t REG_DWORD /d 1 /f
reg add "HKU\Tempuser\Software\Microsoft\Internet Explorer\Desktop\Components\1" /v OriginalStateInfo /t REG_BINARY /d 18000000ffff0000ffff0000ffffffffffffffff04000000 /f
reg add "HKU\Tempuser\Software\Microsoft\Internet Explorer\Desktop\Components\1" /v RestoredStateInfo /t REG_BINARY /d 18000000ffff0000ffff0000ffffffffffffffff01000000 /f
reg add "HKU\Tempuser\Software\Microsoft\Internet Explorer\Desktop\Components\2" /v Source /t REG_SZ /d http://n:8080/ActiveBss/index.html /f
reg add "HKU\Tempuser\Software\Microsoft\Internet Explorer\Desktop\Components\2" /v SubscribedURL /t REG_SZ /d http://n:8080/ActiveBss/index.html /f
reg add "HKU\Tempuser\Software\Microsoft\Internet Explorer\Desktop\Components\2" /v FriendlyName /t REG_SZ /d "BssActive" /f
reg add "HKU\Tempuser\Software\Microsoft\Internet Explorer\Desktop\Components\2" /v Flags /t REG_DWORD /d 2 /f
reg add "HKU\Tempuser\Software\Microsoft\Internet Explorer\Desktop\Components\2" /v Position /t REG_BINARY /d 2c000000100200001f000000e0000000d6000000ec0300000100000001000000010000000000000000000000 /f
reg add "HKU\Tempuser\Software\Microsoft\Internet Explorer\Desktop\Components\2" /v CurrentState /t REG_DWORD /d 1 /f
reg add "HKU\Tempuser\Software\Microsoft\Internet Explorer\Desktop\Components\2" /v OriginalStateInfo /t REG_BINARY /d 18000000ffff0000ffff0000ffffffffffffffff04000080 /f
reg add "HKU\Tempuser\Software\Microsoft\Internet Explorer\Desktop\Components\2" /v RestoredStateInfo /t REG_BINARY /d 18000000100200001f000000e0000000d600000001000000 /f
reg unload HKU\TempUser
reg load HKU\TempUser "\\%1\c$\Documents and Settings\mandatory\ntuser.man"
reg delete HKU\Tempuser\Software\Microsoft\Internet Explorer\Desktop\Components /f
reg add "HKU\Tempuser\Software\Microsoft\Internet Explorer\Desktop\Components" /v DeskHtmlVersion /t REG_DWORD /d 272 /f
reg add "HKU\Tempuser\Software\Microsoft\Internet Explorer\Desktop\Components" /v DeskHtmlMinorVersion /t REG_DWORD /d 3 /f
reg add "HKU\Tempuser\Software\Microsoft\Internet Explorer\Desktop\Components" /v Settings /t REG_DWORD /d 1 /f
reg add "HKU\Tempuser\Software\Microsoft\Internet Explorer\Desktop\Components" /v GeneralFlags /t REG_DWORD /d 4 /f
reg add "HKU\Tempuser\Software\Microsoft\Internet Explorer\Desktop\Components\0" /v Source /t REG_SZ /d http://activebss/ /f
reg add "HKU\Tempuser\Software\Microsoft\Internet Explorer\Desktop\Components\0" /v SubscribedURL /t REG_SZ /d http://activebss/ /f
reg add "HKU\Tempuser\Software\Microsoft\Internet Explorer\Desktop\Components\0" /v FriendlyName /t REG_SZ /d "" /f
reg add "HKU\Tempuser\Software\Microsoft\Internet Explorer\Desktop\Components\0" /v Flags /t REG_DWORD /d 8194 /f
reg add "HKU\Tempuser\Software\Microsoft\Internet Explorer\Desktop\Components\0" /v Position /t REG_BINARY /d 2c0000004b000000000000003504000044030000000000000100000001000000010000000000000000000000 /f
reg add "HKU\Tempuser\Software\Microsoft\Internet Explorer\Desktop\Components\0" /v CurrentState /t REG_DWORD /d 4 /f
reg add "HKU\Tempuser\Software\Microsoft\Internet Explorer\Desktop\Components\0" /v OriginalStateInfo /t REG_BINARY /d 18000000ffff0000ffff0000ffffffffffffffff04000080 /f
reg add "HKU\Tempuser\Software\Microsoft\Internet Explorer\Desktop\Components\0" /v RestoredStateInfo /t REG_BINARY /d 18000000500200003501000000010000f600000001000000 /f
reg add "HKU\Tempuser\Software\Microsoft\Internet Explorer\Desktop\Components\1" /v Source /t REG_SZ /d About:Home /f
reg add "HKU\Tempuser\Software\Microsoft\Internet Explorer\Desktop\Components\1" /v SubscribedURL /t REG_SZ /d About:Home /f
reg add "HKU\Tempuser\Software\Microsoft\Internet Explorer\Desktop\Components\1" /v FriendlyName /t REG_SZ /d My Current Home Page /f
reg add "HKU\Tempuser\Software\Microsoft\Internet Explorer\Desktop\Components\1" /v Flags /t REG_DWORD /d 2 /f
reg add "HKU\Tempuser\Software\Microsoft\Internet Explorer\Desktop\Components\1" /v Position /t REG_BINARY /d 2c0000001003000015010000e0000000d6000000ea0300000100000001000000010000000000000000000000 /f
reg add "HKU\Tempuser\Software\Microsoft\Internet Explorer\Desktop\Components\1" /v CurrentState /t REG_DWORD /d 1 /f
reg add "HKU\Tempuser\Software\Microsoft\Internet Explorer\Desktop\Components\1" /v OriginalStateInfo /t REG_BINARY /d 18000000ffff0000ffff0000ffffffffffffffff04000000 /f
reg add "HKU\Tempuser\Software\Microsoft\Internet Explorer\Desktop\Components\1" /v RestoredStateInfo /t REG_BINARY /d 18000000ffff0000ffff0000ffffffffffffffff01000000 /f
reg add "HKU\Tempuser\Software\Microsoft\Internet Explorer\Desktop\Components\2" /v Source /t REG_SZ /d http://n:8080/ActiveBss/index.html /f
reg add "HKU\Tempuser\Software\Microsoft\Internet Explorer\Desktop\Components\2" /v SubscribedURL /t REG_SZ /d http://n:8080/ActiveBss/index.html /f
reg add "HKU\Tempuser\Software\Microsoft\Internet Explorer\Desktop\Components\2" /v FriendlyName /t REG_SZ /d "BssActive" /f
reg add "HKU\Tempuser\Software\Microsoft\Internet Explorer\Desktop\Components\2" /v Flags /t REG_DWORD /d 2 /f
reg add "HKU\Tempuser\Software\Microsoft\Internet Explorer\Desktop\Components\2" /v Position /t REG_BINARY /d 2c000000100200001f000000e0000000d6000000ec0300000100000001000000010000000000000000000000 /f
reg add "HKU\Tempuser\Software\Microsoft\Internet Explorer\Desktop\Components\2" /v CurrentState /t REG_DWORD /d 1 /f
reg add "HKU\Tempuser\Software\Microsoft\Internet Explorer\Desktop\Components\2" /v OriginalStateInfo /t REG_BINARY /d 18000000ffff0000ffff0000ffffffffffffffff04000080 /f
reg add "HKU\Tempuser\Software\Microsoft\Internet Explorer\Desktop\Components\2" /v RestoredStateInfo /t REG_BINARY /d 18000000100200001f000000e0000000d600000001000000 /f
reg unload HKU\TempUser
Monday, September 19, 2005 7:50:12 PM (Central European Standard Time, UTC+01:00)
Comments [0]
|
Trackback
Name
E-mail
Home page
Remember Me
Comment (HTML not allowed)
Enter the code shown (prevents robots):
Live Comment Preview
All content © 2010, Krzysztof Pietrzak
On this page
This site
BSS (8)
IPv6 (3)
Linux (4)
Longhorn (5)
Monitoring (2)
MTS2005 (2)
PowerShell (8)
RIS (9)
Studia (1)
Unattended (9)
Windows (35)
Calendar
<
September 2010
>
Sun
Mon
Tue
Wed
Thu
Fri
Sat
29
30
31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
1
2
3
4
5
6
7
8
9
Archives
Full Archives By Category
June, 2009 (1)
April, 2009 (1)
March, 2009 (2)
January, 2009 (1)
October, 2008 (1)
September, 2008 (1)
July, 2008 (1)
February, 2008 (2)
September, 2007 (2)
August, 2007 (2)
June, 2007 (3)
May, 2007 (1)
April, 2007 (1)
February, 2007 (1)
January, 2007 (2)
October, 2006 (4)
July, 2006 (1)
June, 2006 (7)
May, 2006 (6)
April, 2006 (1)
March, 2006 (2)
February, 2006 (5)
January, 2006 (2)
December, 2005 (6)
November, 2005 (2)
October, 2005 (5)
September, 2005 (10)
August, 2005 (10)
July, 2005 (3)
Sitemap
BSS
IPv6
Linux
Longhorn
Monitoring
MTS2005
PowerShell
RIS
Studia
Unattended
Windows
Blogroll
OPML
Tokyo by night
blog WiTa
W-Files
blog n€x¤Ra
.:fotoblog:.
blog Kfaza
\\archon\blog$
blog archona
Czasowstrzymywacz
Blog Fookyego
Jog Pstryka
Jog Pstryka
Mac OS X vs. Active Directory
techniczny blog kfaza
Maps