Author: brad Date: 2006-08-15 21:32:14 +0000 (Tue, 15 Aug 2006) New Revision: 17559
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=17559 Log: Modified win_setup.wsf so that the windows telnet server service starts automatically, rather than manually. This way, if the guest is shutdown and restarted, it does not require user intervention. Modified: branches/SOC/bnh/vbscript/win_setup.wsf Changeset: Modified: branches/SOC/bnh/vbscript/win_setup.wsf =================================================================== --- branches/SOC/bnh/vbscript/win_setup.wsf 2006-08-15 21:27:22 UTC (rev 17558) +++ branches/SOC/bnh/vbscript/win_setup.wsf 2006-08-15 21:32:14 UTC (rev 17559) @@ -103,10 +103,10 @@ exit function end if - ' Set the telnet service start mode to Manual. + ' Set the telnet service start mode to Automatic. set method = telnet_service.methods_("ChangeStartMode") set inParam = method.inParameters.spawnInstance_() - inParam.startMode = "Manual" + inParam.startMode = "Automatic" set error_obj = telnet_service.execMethod_("ChangeStartMode", inParam) if error_obj.returnValue <> 0 then @@ -115,7 +115,7 @@ start_telnet_service = error_obj.returnValue exit function end if - stdout.writeline "Telnet service enabled - Manual start mode." + stdout.writeline "Telnet service enabled - Automatic start mode." ' net start telnet set shell = wscript.createObject("wscript.shell")
