chipk - You are correct, the user running this batch would have to be an admin but that is not outside of the requestor's requirements. The original issue was that the original script would only delete the current users certificates and there was a need to delete all certificates for all users...
In short, using RDP this is not possible for regular users. If your users are administrators of the server, try this:
1. Have both user1 and user2 login. (Both users should have their own session.)
2. Have either user1 or user2 open task manager, select the users tab, right click on the other...
You can take ownership of the profile and that would give you the rights to do whatever you want with it.
In the security properties, select Advanced and then select the Owner tab and the User or Group you want to own the directory, then select the "replace owner on subcontainers" option and...
Dang-it, I need to learn to proof read better. Within the parenthesis in the FOR line, change c:\users to "c:\Documents and Settings".
I am on Vista and had to change the script when I posted it to match XP. You could also use some logic in the beginning of your script to determine if you are...
The %userprofile% parameter will only map to the user running the batch. Use something like this instead:
##################
@echo off
echo Deleting wireless certificates - Please wait.
echo.
pause
FOR /f %%j in ('dir c:\users /ad /b') DO attrib -s -h -r c:\"Documents and...
2008 does not allow direct access to session 0 so that may be the problem but I'm not sure.
Check out these links:
http://social.technet.microsoft.com/Forums/en-US/winservergen/thread/19a188a7-cafd-403a-b5e3-77e7c82dfbb2/
http://www.uvnc.com/vista/
-Joe
http://josephmdavis.com
Windows SharePoint Services (WSS) can do this and a lot more. Check it out at http://office.microsoft.com/en-us/sharepointtechnology
-Joe
http://josephmdavis.com
A simple band-aid would be to write a script which deletes all the temp files that are a day old or older. You can then set the script to run as as scheduled task every day.
-Joe
http://josephmdavis.com
Take a look at http://msdn.microsoft.com/en-us/library/aa394602(VS.85).aspx for using WMI to access the services. You can also use sc.exe to query a service for it's status.
You can use VBS & WMI to check the status of the service and if it is not running, send a beep signal. I personally...
Okay, to get this straight, are you using Exchange Server for your email server?
If so, both pc1 and pc2 should be setup to access the Exchange server.
As a side note, email is not delivered to Email Clients (Outlook in this case) by the server. Email is retrieved by an email client from the...
You may want to check the Advanced Web Site Identification settings on the default web in the IIS Mgr. This is the location used to specify additional url and ports (host headers) the site should be listening on. It has been a while since I have touched SBS but I believe the companyweb site is...
There are a number of different blog engines out there. If you don't want to install PHP or other services on your IIS server, use an ASP/ASP.net application. I use DotNetBlogEngine for my blog (http://dotnetblogengine.net/).
-Joe
http://josephmdavis.com
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.