Hi.
I am looking for a vbscript that when ran would ask for a domain\loginid as the parameter and update a service to use these credential for starting the the service and grant it log on interactively.
Any help would be very much appreciated.
Here is the script that finally worked correctly. Must be 3 lines in a .bat file exactly as shown:
@echo off
for /f "tokens=*" %%A in ('dir /b /s "g:\logs\iis\*.log"') do echo f| (
xcopy /d /y "%%A" "\\SERVERNAME\%%~PA%%~NA_%computername%%%~XA" > nul)
Thx MM. Recursion works fine using xcopy. But there just doesn't seem to be a way to wind up with the file copied and renamed the way I would like it.
Currently: ex090928.log >> copied to another server using the command above and I get ex090928.log_servername
What I would like is...
Have a look at:
http://geekswithblogs.net/bjackett/archive/2009/04/24/the-power-of-powershell-and-sharepoint-enumerating-sharepoint-permissions-and.aspx
I ran into this once and the following command corrected everything:
stsadm -o adduser -url http://portalname/sites/sitename -userlogin domain\loginID -useremail janedoe@companyname.com -group "SharePoint Group" -username "Jane K. Doe"
Lookup the user info in Outlook to confirm the correct...
Hi everyone,
I have been using xcopy to copy IIS logs to another server for statistical analysis using xcopy g:\Logs\iis\*.log \\destinationserver\logs\iis\*.log_%computername% /D /Y /S. This basically copies all .log files recursively from each site ID directory to the destination server, and...
I do apologize for the incorrect name. Thanks again. I'm sure your post will address the problem for many other's as well who are concerned with their outward facing DMZ servers.
Here's a great article on the issue you're having.
http://blogs.msdn.com/david.wang/archive/2005/07/14/HOWTO_Diagnose_IIS_401_Access_Denied.aspx
In the meantime, which version of IIS?
Try the AuthDiag tool to find out which accounts have permissions on the site. You'll find it at http://www.microsoft.com/downloads/details.aspx?FamilyId=E90FE777-4A21-4066-BD22-B931F7572E9A&displaylang=en
I don't know which "financial software" you are having trouble with, so I can't provide...
Anyone know how to mask (remove) what IIS 6 reveals in the HTTP header response? Our organization would like to mask the following header info (X) returned by our DMZ IIS servers. We are testing MS's fix for the IP vulnerability right now. We chose to go with SetHostName instead of...
If you have directory browsing enable for the new virtual directories, there is no way to change the appearance in the browser via IIS settings. You can, however, use a little code to list the folders and files and attach a CSS file to control the appearance.
Check this out...
Not sure if this is what you are looking for, but this utility will list all registered dll's on the box...
http://www.windll.com/modules.php?name=News&file=article&sid=8
Best practice is to use the Network Service account for the application pool identity. I'm assuming you are trying to assign a domain service account as the identity for the app pool.
The following should correct the problem you've described:
Open Computer Management on the server running...
Sounds to me like you don't have the default document specified or activated in IIS.
Open IIS manager and go to the properties for the site. Click on the Documents tab and make sure default.htm (the name of your homepage) is in the list. It's very specific too. default.htm is different than...
I'll assume you have FP 2002 extensions installed and no changes have been made to the physical folder permissions (ACL's) where the sites are stored.
A couple of things you can check:
Open a browser and enter: http://sitename.com/_vti_bin/_vti_adm/fpadmdll.dll?page=webadmin.htm
This will...
That was a pretty long winded post. :) David Wang has an excellent article which outlines how to diagnose 401.X errors located at:
http://blogs.msdn.com/david.wang/archive/2005/07/14/HOWTO_Diagnose_IIS_401_Access_Denied.aspx
Also, fire-up authdiag.exe located at...
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.