;@OSVersion ;Returns one of the following: "WIN_2003", "WIN_XP", "WIN_2000", "WIN_NT4", "WIN_ME", "WIN_98", "WIN_95" If @OSVersion = "WIN_2003" OR "WIN_XP" Then RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams", "Settings", "REG_BINARY", "08000000040000000100000000777e137335cf11ae6908002b2e1262040000000200000043000000") RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams\Defaults", "{F3364BA0-65B9-11CE-A9BA-00AA004AE837}", "REG_BINARY", "1c0000000400000000000000000090000000000001000000fffffffff0f0f0f014000300900000000000000030000000fddfdffd0f0004002000100028003c0000000000010000000200000003000000f50060007800780000000000010000000200000003000000ffffffff000000000000000000000000000000000000000000000000000000000000000000000000") RegDelete("HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\Bags") Endif If @OSVersion = "WIN_2000" Then RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams", "Settings", "REG_BINARY", "09000000040000000000000000777e137335cf11ae6908002b2e12620300000001000000") RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams\Defaults", "{F3364BA0-65B9-11CE-A9BA-00AA004AE837}", "REG_BINARY", "1c000000040000000000000000006c000000000001000000fffffffff0f0f0f0140003006c0000000000000030000000fddfdffd0e000400200010002800000000000000010000000200000003000000780060007800780000000000010000000200000003000000ffffffff") Endif If @OSVersion = "WIN_NT4" And "WIN_ME" And "WIN_98" And "WIN_95" Then MsgBox(4096,"", "Betriebsystem muss 2000, XP oder 2003 sein") EndIf