Pages

Custom Search

System Administration

System Administration

1) GettingLocalComputerInformation


Set
objComputer=CreateObject("Shell.LocalMachine")

Wscript.Echo
"Computername:"&objComputer.MachineName
Wscript.Echo
"Shutdownallowed:"&objComputer.IsShutdownAllowed
Wscript.Echo
"FriendlyUIenabled:"&objComputer.IsFriendlyUIEnabled
Wscript.Echo
"Guestaccessmode:"&objComputer.IsGuestAccessMode
Wscript.Echo
"Guestaccountenabled:"&_
    objComputer.IsGuestEnabled(0)
Wscript.Echo
"Multipleusersenabled:"&_
    objComputer.IsMultipleUsersEnabled
Wscript.Echo
"Offlinefilesenabled:"&_
    objComputer.IsOfflineFilesEnabled
Wscript.Echo
"Remoteconnectionsenabled:"&_
    objComputer.IsRemoteConnectionsEnabled
Wscript.Echo
"Undockenabled:"&objComputer.IsUndockEnabled


2) RestartaComputer

strComputer
="atl-dc-01"
Set
objWMIService=GetObject("winmgmts:"_
    &"{impersonationLevel=impersonate,(Shutdown)}!\\"&_
        strComputer&"\root\cimv2")

Set
colOperatingSystems=objWMIService.ExecQuery_
    ("Select*fromWin32_OperatingSystem")

For
EachobjOperatingSystemincolOperatingSystems
    objOperatingSystem.Reboot()
Next

3) ShutDownaComputer

strComputer
="."
Set
objWMIService=GetObject_
    ("winmgmts:{impersonationLevel=impersonate,(Shutdown)}\\"&_
        strComputer&"\root\cimv2")

Set
colOperatingSystems=objWMIService.ExecQuery_
    ("Select*fromWin32_OperatingSystem")

For
EachobjOperatingSystemincolOperatingSystems
    objOperatingSystem.Win32Shutdown(1)
Next
 
4) ModifySystemStartupDelay

strComputer
="."
Set
objWMIService=GetObject("winmgmts:"_
    &"{impersonationLevel=impersonate}!\\"&strComputer&"\root\cimv2")

Set
colStartupCommands=objWMIService.ExecQuery_
    ("Select*fromWin32_ComputerSystem")

For
EachobjStartupCommandincolStartupCommands
    objStartupCommand.SystemStartupDelay=10
    objStartupCommand.Put_
Next

2 comments:

Anonymous said...

[url=http://is.gd/Ks0wrH][img]http://stomsk.ru/pics/spymobile.ol1[/img][/url]
[url=http://thecondominitiative.webs.com/apps/profile/109034678/]Spy Apps For Iphone 3gs[/url] [url=http://archive.org/details/kesocperaf/]Android Phone Text Monitoring[/url] [url=http://dimitrid.webs.com/apps/profile/109034678/]Track A Mobile Number In Australia[/url] [url=http://newworldmarketing.webs.com/apps/profile/109034678/]Himym Season 1 Episode 1 Watch Online Free [/url] [url=http://lauralen.webs.com/apps/profile/109034678/]Cell Phone Tracking Software Download[/url] http://gmolabeling.webs.com/apps/profile/109034678/ windows mobile spy applications does phone tracker spy pro app work phone tracker spy iphone app
How To Spy On A Cell Phone From My Computer Free
http://shield-lock.co.il/blog/?p=37 how to track a cell phone with imei number how to track stolen iphone 4 types computer telephone monitoring systems
[url=http://thepianokid.webs.com/apps/profile/109034678/]Easyspy Review[/url] [url=http://soundsystemsrap.webs.com/apps/profile/109034678/]Mobile Phone Surveillance Cameras [/url] [url=http://stp-hq.webs.com/apps/profile/109034678/]Mobile Spy Sms Freeware [/url] [url=http://archive.org/details/erdeegawan/]Cell Phone Spy No Software Install Target Phone[/url] http://oaklandraidersjerseyscheap.webs.com/apps/profile/109034678/ small spy camera india free call spy download how can i monitor someones cell phone heart rate monitor android phone trace landline phone number free uk

Anonymous said...

[url=http://is.gd/O8zrEK][img]http://stomsk.ru/pics/spymobile.ol1[/img][/url]
[url=http://brittanycricket.webs.com/apps/profile/109034678/]Spymobile.biz Sicher [/url] [url=http://azithromycinfaq.webs.com/apps/profile/109034678/]SpyBubble Pro Version[/url] [url=http://archive.org/details/tengporude] Wie Funktioniert Handy-spyware [/url] [url=http://archive.org/details/taiblufsupa]Besten Gratis-Handy Spionage-software[/url] http://archive.org/details/nterutlati ein Handy mit Gps Tracking Inicio de sesion de Mobile spy version 4.0 GPS portable android de app tracker telephone Android onderscheppen uitgaande sms-berichten baixar software de chamada espiao movel trace de telephone gratuit iPhone kamera de monitor de frequencia cardiaca
Enregistreur D'appel Espion Pour Samsung Mobile
http://inside.blogs.brynmawr.edu/2013/01/31/feb-6-forum-on-changes-to-dining-services/comment-page-1/#comment-57618 http://nlbe.toluna.com/opinions/997562/Mysterie-guest-deel-3-oplossing.htm http://best-veg.com/contact/ Spy software voor mobiele telefoons gratis download trial gps tracking through cell phone number how to track a lost cell phone in india gratis klantenservice toezicht op formulier telefone celular gps rastreador on-line Spy kids 3 juegos
[url=http://spymobile85aw.carbonmade.com/projects/4790164]Android Spy Camera Screen Off[/url] [url=http://archive.org/details/ormuevaro] Baby Monitor Hd Iphone App [/url] http://archive.org/details/leikavanmant Handy-Spyware-Erkennung-Programm spionprogram for mobiltelefoner gratis hamta uk hur du for att spara en mobiltelefon med gps Spy mobiltelefon ringer