topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Wednesday April 24, 2024, 6:50 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - ewhitchu [ switch to compact view ]

Pages: [1]
1
I have used in a script, the technique:-
 mkdir \\%computername%\admin$\tester
IF NOT EXIST \\%computername%\admin$\tester\. goto noADMIN
rmdir \\%computername%\admin$\tester
set admin=true
exit /b 0
:noADMIN
set admin=false
exit /b 1

This works for XP and Windows 7 but I do not seem to be able to get it to work in Vista. Any solution that works across all platforms?

I am limited to just command shell, as clients often disable c/wscript and/or powershell.

Pages: [1]