Jump to content

denmyos

Members
  • Posts

    225
  • Joined

  • Last visited

Everything posted by denmyos

  1. yes, and i have have access to everything in the shared folder. And i use the same username and password as in my batch.
  2. And the confusion is endless. I try to edit the "UNC"\f$ /user:admin p@ssword to (\\)"UNC"\f$ /user:admin p@ssword,, but edugeek does not correct it.? But when I use this line, i get a error. Then I but the password in the line. But get the same error
  3. sorry.. i had to attend a wedding, which took most of the sunday to get over. Sorry, but I don't get it. When I use this in a browser \\xxx.xxx.xxx.xxx I get prombt for a user name and password,, I then use the same user name and password as my batch,, and it works. BUT in my batch i use this line Net use \\xxx.xxx.xxx.xxx\f /user:Admin P@ssword But I get a Logon failure: unknown user name or bad password I also tried Net use \\xxx.xxx.xxx.xxx\f /user:xxx.xxx.xxx.xxx\Admin P@ssword but get the same Error But I get a Logon failure: unknown user name or bad password. Any idears?
  4. I'm sorry i'm not very good at this. I have no DNS so i use the ip instead. I'm also in a workgroup, called workgroup I put the admin username and its password I'm still confused about the sharename my share is called \\xxxx\f net use \\xxx.xxx.xxx.xxx\xxxx\f /user:workgroup\admin username xxxxxxx del /q /S "C:\users\CS Dedicated Server CLI.Lnk" >> \\ServerNameHere\ShareNameHere\%ComputerName%.txt del /q /S "C:\users\Counter-Strike WaRzOnE.Lnk" >> \\ServerNameHere\ShareNameHere\%ComputerName%.txt del /q /S "C:\users\CS Dedicated Server GUI.Lnk" >> \\ServerNameHere\ShareNameHere\%ComputerName%.txt del /q /S "C:\users\Half-Life WaRzOnE.Lnk" >> \\ServerNameHere\ShareNameHere\%ComputerName%.txt net use \\ServerNameHere\ShareNameHere /d With this i get a "the system cannot find the file specified. System error 53 has occured. The network path was not found. Logon failure:unknown username or bad password.
  5. @echo off rd /s /q C:\Games del /q /s "C:\users\CS Dedicated Server CLI.Lnk" >> \\xxx.xxx.xxx.xxx\z:\%ComputerName%.txt del /q /S "C:\users\CS Dedicated Server CLI.Lnk" >> \\xxx.xxx.xxx.xxx\z:\%ComputerName%.txt del /q /S "C:\users\Counter-Strike WaRzOnE.Lnk" >> \\xxx.xxx.xxx.xxx\Z:\%ComputerName%.txt del /q /S "C:\users\CS Dedicated Server GUI.Lnk" >> \\xxx.xxx.xxx.xxx\Z:\%ComputerName%.txt del /q /S "C:\users\Half-Life WaRzOnE.Lnk" >> \\xxx.xxx.xxx.xxx\z:\%ComputerName%.txt pause I ran into a little snag. I of cause get a Logon failure: unknown user name or bad password. I tried del /q /S "C:\users\Half-Life WaRzOnE.Lnk" >> \user:"username" "password"\\xxx.xxx.xxx.xxx\z:\%ComputerName%.txt but that didn't work.?
  6. thanks i'll give it a go.
  7. Thanks, it work beautifully. Can it be more advanced.? I was thinking if it possible to have the batch report back to a log file on my "server". It should report back with confirmation that the files were delete and on which computers the files was delete on.
  8. Thanks i'll give it a go.
  9. I ended up doing this,,, really simple, but it seems to work. @echo off rd /s /q C:\Games del /q "C:\users\Bruger\Desktop\CS Dedicated Server CLI.Lnk" del /q "C:\users\bruger\Desktop\Counter-Strike WaRzOnE.Lnk" del /q "C:\users\bruger\Desktop\CS Dedicated Server GUI.Lnk" del /q "C:\users\bruger\Desktop\Half-Life WaRzOnE.Lnk" del /q "C:\users\administrator\Desktop\CS Dedicated Server CLI.Lnk" del /q "C:\users\administrator\Desktop\Counter-Strike WaRzOnE.Lnk" del /q "C:\users\administrator\Desktop\CS Dedicated Server GUI.Lnk" del /q "C:\users\administrator\Desktop\Half-Life WaRzOnE.Lnk"
  10. If I need to have it to work on all users how should i change it.?
  11. HAHAHA as i said,, I suck at batch..it works now.. thanks Oh I misunderstood your explanation. Note that shortcuts usually have the extension LNK (as in link without the i). Don't know how it can be misunderstood, it's quiet clear. Sorry.
  12. The correct path to the shortscuts are c:\users\Bruger\Desktop but when I use it in the batch it can't find it. @echo off rem rd /s /q c:\games del /q "c:\users\bruger\desktop\cs dedicated server cli.ink" Could not find "c:\users\bruger\desktop\cs dedicated server cli.ink" press any key to continue... I also tried with "public" still can't find it.
  13. I'm really bad at batch/scritps etc. I need to make a small batch that can delete a folder C:\games\counter-strike And the desktop shortcuts that the game is making. this will delete the folder: rd /s /q c:\Games del /q "Nameofprofil"\desktop"nameofshortcut".ink But it will not delete the shortcut. Its probably pretty easy, so can some one help me out. Thanks
  14. I'm a freaking Duchbag!!!! Do I need to say more. I have people calling me everyday because they close the Citrix connection by using the X, and can't connect again. I of cause tell them how to correctly close Citrix "start->logoff" But myself I freaking use the X when I close RDC,,No wonder I couldn't get it to work... How dumb can I be..!! Thanks Pantscat
  15. I'm using the full version. I have set up teamviewer to use windows login, but I still get the black screen and the error message. Not really sure what you mean. "current session" and "server teamviewer ID"
  16. I tried that, It didn't work. My server is a virtual server and as soon as i close my rdp connection, teamviewer will be disconnected as well.
  17. This may not be a Windows server 2012 problem, but it's only on this OS i have this problem. I have a virtual printerserver Windows server 2012 running. I logon with RDP with no problem. Now we need to have online support on some printers. The company needs to have access to the server through Teamviewer. The problem is that teamviewer will only connect IF i'm already connect to the server through RDP. Otherwise they get this error. And since i can't leave a RDP connection open for the next three months, I need to get it to work when the RDP is not connect. I have already gone through this guide TEAMVIEWER - Error - Screen cannot be captured at the moment due to fast user switching & Installing Teamviewer as a service - kossboss But it didn't help. Anybody tried this. ?
  18. yes i know what you are saying. But the library ordered a Popup window. But maybe we will end up just putting a piece of paper up.
  19. Thanks,, if you have a link, i would like to see it.
  20. That could also be an idea. thanks
  21. I agree with you, but there are a couple of reason why we need several ways to show the user the AUP. 1. The computers are public anybody can use them, no need to logon. 2. If a user leaves the computer with out a reboot, then the new user will not get a logon text. 3. 90% of the users only uses the internet and never see the background, so they will never see the AUP either. So if a user leaves the computer without reboot, we are hoping the computers goes into idle and shows the AUP, so the next user sees it without logon and without seeing the background. Of cause there is a lot of hoping and but's here.....
  22. We have started looking at several option. Right now we are looking at the Task scheduler. The good thing about the task scheluder is the it can be trigget by idle mode. That means that if the old user doesn't logoff and just leaves the computer, it will go into idle mode and trigge the rules popup, so the next user can see the rules. If we have the rules on the wallpaper alone, the user that only uses a browser will never see the rules. Yet again, if a user never lets the computer go into idle mode, that user will never see the rules. The problem we are having now is that we can't get the task scheduler to trigger in idle mode. We have set the idle mode to 1 min. but nothing happens.? The trigger is set to "start only if task is idle for 5 minutes" and "wait for idle 1 minutes" But nothing happens.? I can trigger the task by setting it to run on a specific time,, and that works.. but idle mode doesn't seem to work.?
  23. yes, Deep freeze can hit the computers with a batch file. Batch file are not my strong side, so i have to cook something together searching google etc.
  24. Ah works now. You have to set the message title as well.
×
×
  • Create New...