Guest Marco May Posted October 11, 2007 Posted October 11, 2007 Hello, is there any way i can find all workstations in my AD2003 that no one logon for more that x days. Coz i found out that my support team, when they replace workstations or reinstall OS they use a different hostname. So in my AD i got lots of old computers. so i would like to find them all and delete them. thanks a lot Marco
Guest Pegasus \(MVP\) Posted October 11, 2007 Posted October 11, 2007 Re: find old workstation "Marco May" <marcomay@macau.ctm.net> wrote in message news:20E6ECE8-516F-48BF-BA61-E8165FDA6405@microsoft.com... > Hello, > > is there any way i can find all workstations in my AD2003 that no one > logon for more that x days. Coz i found out that my support team, when > they replace workstations or reinstall OS they use a different hostname. > So in my AD i got lots of old computers. so i would like to find them all > and delete them. > > thanks a lot > Marco Add this line to your logon script: echo %date% %time% %UserName% >> \\YourServer\SomeShare\%ComputerName%.txt After a few weeks you will have a comprehensive history of the machines that have logged on.
Guest Mathieu CHATEAU Posted October 11, 2007 Posted October 11, 2007 Re: find old workstation Hello, in complement of Pegasus tips, you can use the famous oldcmp from joe: http://www.joeware.net/freetools/tools/oldcmp/index.htm -- Cordialement, Mathieu CHATEAU English blog: http://lordoftheping.blogspot.com French blog: http://www.lotp.fr "Marco May" <marcomay@macau.ctm.net> wrote in message news:20E6ECE8-516F-48BF-BA61-E8165FDA6405@microsoft.com... > Hello, > > is there any way i can find all workstations in my AD2003 that no one > logon for more that x days. Coz i found out that my support team, when > they replace workstations or reinstall OS they use a different hostname. > So in my AD i got lots of old computers. so i would like to find them all > and delete them. > > thanks a lot > Marco
Guest Matutolas Posted October 12, 2007 Posted October 12, 2007 Re: find old workstation Hello, i dont have a logon script for everyone, is there any way i can apply a script for all at once? thanks "Pegasus (MVP)" <I.can@fly.com> wrote in message news:uxORaC%23CIHA.5160@TK2MSFTNGP05.phx.gbl... > > "Marco May" <marcomay@macau.ctm.net> wrote in message > news:20E6ECE8-516F-48BF-BA61-E8165FDA6405@microsoft.com... >> Hello, >> >> is there any way i can find all workstations in my AD2003 that no one >> logon for more that x days. Coz i found out that my support team, when >> they replace workstations or reinstall OS they use a different hostname. >> So in my AD i got lots of old computers. so i would like to find them all >> and delete them. >> >> thanks a lot >> Marco > > Add this line to your logon script: > echo %date% %time% %UserName% >> \\YourServer\SomeShare\%ComputerName%.txt > > After a few weeks you will have a comprehensive history of the > machines that have logged on. >
Guest Pegasus \(MVP\) Posted October 12, 2007 Posted October 12, 2007 Re: find old workstation You can invoke it with a policy setting. "Matutolas" <matutolas@netcabo.pt> wrote in message news:%23AfqHfJDIHA.748@TK2MSFTNGP04.phx.gbl... > Hello, > > i dont have a logon script for everyone, is there any way i can apply a > script for all at once? > > thanks > > "Pegasus (MVP)" <I.can@fly.com> wrote in message > news:uxORaC%23CIHA.5160@TK2MSFTNGP05.phx.gbl... >> >> "Marco May" <marcomay@macau.ctm.net> wrote in message >> news:20E6ECE8-516F-48BF-BA61-E8165FDA6405@microsoft.com... >>> Hello, >>> >>> is there any way i can find all workstations in my AD2003 that no one >>> logon for more that x days. Coz i found out that my support team, when >>> they replace workstations or reinstall OS they use a different hostname. >>> So in my AD i got lots of old computers. so i would like to find them >>> all and delete them. >>> >>> thanks a lot >>> Marco >> >> Add this line to your logon script: >> echo %date% %time% %UserName% >> >> \\YourServer\SomeShare\%ComputerName%.txt >> >> After a few weeks you will have a comprehensive history of the >> machines that have logged on. >> >
Recommended Posts